Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
fixing data in http response of syncPullRequest (#85)
Browse files Browse the repository at this point in the history
* added endpoint to fix gitRequests with the wrong collectorItemId and added logging

* added endpoint to fix gitRequests with the wrong collectorItemId and added logging update

* Increment POM

* Updated syncPullRequest logging, logic, and  removed limit from paramters

* updating method to remove limit parameter

* increment POM version

* removing item from list to make http response accurate

* increment pom version number
  • Loading branch information
dcanar9 authored Jun 30, 2022
1 parent dd1f89c commit e6156be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</description>
<url>https://github.com/Hygieia/${repository.name}</url>
<packaging>jar</packaging>
<version>3.3.15-SNAPSHOT</version>
<version>3.3.16-SNAPSHOT</version>


<parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public ResponseEntity<String> syncPullRequest(String title, String repoUrl, Stri
}
else {
LOG.info(String.format("Unable to update gitRequest: Unable to find collector item for repo: %s", gr.getScmUrl()));
gitRequestsToFix.remove(gr); // removing so not in response later
}
}
String responseString = String.format("SyncPullRequest: Successfully corrected the following gitRequests with URLs: %s", gitRequestsToFix.stream().
Expand Down

0 comments on commit e6156be

Please sign in to comment.