File tree Expand file tree Collapse file tree 8 files changed +22
-22
lines changed
Expand file tree Collapse file tree 8 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -1172,8 +1172,8 @@ public static async Task<List<AqlResult>> GetPypiListOfComponentsFromRepo(string
11721172 {
11731173 foreach ( var repo in repoList )
11741174 {
1175- var test = await jFrogService . GetPypiInternalComponentDataByRepo ( repo ) ?? new List < AqlResult > ( ) ;
1176- aqlResultList . AddRange ( test ) ;
1175+ var componentRepoData = await jFrogService . GetPypiComponentDataByRepo ( repo ) ?? new List < AqlResult > ( ) ;
1176+ aqlResultList . AddRange ( componentRepoData ) ;
11771177 }
11781178 }
11791179
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ public interface IJfrogAqlApiCommunication
2727 /// </summary>
2828 /// <param name="repoName">repoName</param>
2929 /// <returns>HttpResponseMessage</returns>
30- Task < HttpResponseMessage > GetNpmInternalComponentDataByRepo ( string repoName ) ;
30+ Task < HttpResponseMessage > GetNpmComponentDataByRepo ( string repoName ) ;
3131 /// <summary>
3232 /// Gets the internal component data based on repo name
3333 /// </summary>
3434 /// <param name="repoName">repoName</param>
3535 /// <returns>HttpResponseMessage</returns>
36- Task < HttpResponseMessage > GetPypiInternalComponentDataByRepo ( string repoName ) ;
36+ Task < HttpResponseMessage > GetPypiComponentDataByRepo ( string repoName ) ;
3737
3838
3939 /// <summary>
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public async Task<HttpResponseMessage> GetInternalComponentDataByRepo(string rep
6666 HttpContent httpContent = new StringContent ( aqlQueryToBody ) ;
6767 return await httpClient . PostAsync ( uri , httpContent ) ;
6868 }
69- public async Task < HttpResponseMessage > GetNpmInternalComponentDataByRepo ( string repoName )
69+ public async Task < HttpResponseMessage > GetNpmComponentDataByRepo ( string repoName )
7070 {
7171 HttpClient httpClient = GetHttpClient ( ArtifactoryCredentials ) ;
7272 TimeSpan timeOutInSec = TimeSpan . FromSeconds ( TimeoutInSec ) ;
@@ -82,7 +82,7 @@ public async Task<HttpResponseMessage> GetNpmInternalComponentDataByRepo(string
8282 HttpContent httpContent = new StringContent ( aqlQueryToBody ) ;
8383 return await httpClient . PostAsync ( uri , httpContent ) ;
8484 }
85- public async Task < HttpResponseMessage > GetPypiInternalComponentDataByRepo ( string repoName )
85+ public async Task < HttpResponseMessage > GetPypiComponentDataByRepo ( string repoName )
8686 {
8787 HttpClient httpClient = GetHttpClient ( ArtifactoryCredentials ) ;
8888 TimeSpan timeOutInSec = TimeSpan . FromSeconds ( TimeoutInSec ) ;
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ public interface IJfrogAqlApiCommunicationFacade
2626 /// </summary>
2727 /// <param name="repoName">repoName</param>
2828 /// <returns>HttpResponseMessage</returns>
29- Task < HttpResponseMessage > GetNpmInternalComponentDataByRepo ( string repoName ) ;
29+ Task < HttpResponseMessage > GetNpmComponentDataByRepo ( string repoName ) ;
3030 /// <summary>
3131 /// Gets the Internal Component Data By Repo Name
3232 /// </summary>
3333 /// <param name="repoName">repoName</param>
3434 /// <returns>HttpResponseMessage</returns>
35- Task < HttpResponseMessage > GetPypiInternalComponentDataByRepo ( string repoName ) ;
35+ Task < HttpResponseMessage > GetPypiComponentDataByRepo ( string repoName ) ;
3636
3737
3838 /// <summary>
Original file line number Diff line number Diff line change @@ -51,18 +51,18 @@ public async Task<HttpResponseMessage> GetInternalComponentDataByRepo(string rep
5151 /// </summary>
5252 /// <param name="repoName">repoName</param>
5353 /// <returns>HttpResponseMessage</returns>
54- public async Task < HttpResponseMessage > GetNpmInternalComponentDataByRepo ( string repoName )
54+ public async Task < HttpResponseMessage > GetNpmComponentDataByRepo ( string repoName )
5555 {
56- return await m_jfrogAqlApiCommunication . GetNpmInternalComponentDataByRepo ( repoName ) ;
56+ return await m_jfrogAqlApiCommunication . GetNpmComponentDataByRepo ( repoName ) ;
5757 }
5858 /// <summary>
5959 /// Gets the Internal Component Data By Repo Name
6060 /// </summary>
6161 /// <param name="repoName">repoName</param>
6262 /// <returns>HttpResponseMessage</returns>
63- public async Task < HttpResponseMessage > GetPypiInternalComponentDataByRepo ( string repoName )
63+ public async Task < HttpResponseMessage > GetPypiComponentDataByRepo ( string repoName )
6464 {
65- return await m_jfrogAqlApiCommunication . GetPypiInternalComponentDataByRepo ( repoName ) ;
65+ return await m_jfrogAqlApiCommunication . GetPypiComponentDataByRepo ( repoName ) ;
6666 }
6767
6868 /// <summary>
Original file line number Diff line number Diff line change @@ -183,8 +183,8 @@ public async Task<List<AqlResult>> GetNpmListOfComponentsFromRepo(string[] repoL
183183 {
184184 foreach ( var repo in repoList )
185185 {
186- var test = await jFrogService . GetNpmInternalComponentDataByRepo ( repo ) ?? new List < AqlResult > ( ) ;
187- aqlResultList . AddRange ( test ) ;
186+ var componentRepoData = await jFrogService . GetNpmComponentDataByRepo ( repo ) ?? new List < AqlResult > ( ) ;
187+ aqlResultList . AddRange ( componentRepoData ) ;
188188 }
189189 }
190190
@@ -197,8 +197,8 @@ public async Task<List<AqlResult>> GetPypiListOfComponentsFromRepo(string[] repo
197197 {
198198 foreach ( var repo in repoList )
199199 {
200- var test = await jFrogService . GetPypiInternalComponentDataByRepo ( repo ) ?? new List < AqlResult > ( ) ;
201- aqlResultList . AddRange ( test ) ;
200+ var componentRepoData = await jFrogService . GetPypiComponentDataByRepo ( repo ) ?? new List < AqlResult > ( ) ;
201+ aqlResultList . AddRange ( componentRepoData ) ;
202202 }
203203 }
204204
Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ public interface IJFrogService
2828 /// </summary>
2929 /// <param name="repoName">repoName</param>
3030 /// <returns>IList<AqlResult></returns>
31- public Task < IList < AqlResult > > GetNpmInternalComponentDataByRepo ( string repoName ) ;
31+ public Task < IList < AqlResult > > GetNpmComponentDataByRepo ( string repoName ) ;
3232 /// <summary>
3333 /// Gets the internal component data by Repo name
3434 /// </summary>
3535 /// <param name="repoName">repoName</param>
3636 /// <returns>IList<AqlResult></returns>
37- public Task < IList < AqlResult > > GetPypiInternalComponentDataByRepo ( string repoName ) ;
37+ public Task < IList < AqlResult > > GetPypiComponentDataByRepo ( string repoName ) ;
3838
3939 /// <summary>
4040 /// Gets the package information in the repo, via the name or path
Original file line number Diff line number Diff line change @@ -64,14 +64,14 @@ public async Task<IList<AqlResult>> GetInternalComponentDataByRepo(string repoNa
6464
6565 return aqlResult ;
6666 }
67- public async Task < IList < AqlResult > > GetNpmInternalComponentDataByRepo ( string repoName )
67+ public async Task < IList < AqlResult > > GetNpmComponentDataByRepo ( string repoName )
6868 {
6969 HttpResponseMessage httpResponseMessage = null ;
7070 IList < AqlResult > aqlResult = new List < AqlResult > ( ) ;
7171
7272 try
7373 {
74- httpResponseMessage = await m_JFrogApiCommunicationFacade . GetNpmInternalComponentDataByRepo ( repoName ) ;
74+ httpResponseMessage = await m_JFrogApiCommunicationFacade . GetNpmComponentDataByRepo ( repoName ) ;
7575 if ( httpResponseMessage == null || ! httpResponseMessage . IsSuccessStatusCode )
7676 {
7777 return new List < AqlResult > ( ) ;
@@ -96,14 +96,14 @@ public async Task<IList<AqlResult>> GetNpmInternalComponentDataByRepo(string rep
9696
9797 return aqlResult ;
9898 }
99- public async Task < IList < AqlResult > > GetPypiInternalComponentDataByRepo ( string repoName )
99+ public async Task < IList < AqlResult > > GetPypiComponentDataByRepo ( string repoName )
100100 {
101101 HttpResponseMessage httpResponseMessage = null ;
102102 IList < AqlResult > aqlResult = new List < AqlResult > ( ) ;
103103
104104 try
105105 {
106- httpResponseMessage = await m_JFrogApiCommunicationFacade . GetPypiInternalComponentDataByRepo ( repoName ) ;
106+ httpResponseMessage = await m_JFrogApiCommunicationFacade . GetPypiComponentDataByRepo ( repoName ) ;
107107 if ( httpResponseMessage == null || ! httpResponseMessage . IsSuccessStatusCode )
108108 {
109109 return new List < AqlResult > ( ) ;
You can’t perform that action at this time.
0 commit comments