Skip to content

Commit

Permalink
Removed unused repo from dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Piyush7034 <[email protected]>
  • Loading branch information
Piyush7034 committed Nov 26, 2024
1 parent ed03d77 commit 324bafa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions postgres-dataprovider-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,6 @@
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>danubetech-maven-public</id>
<url>https://repo.danubetech.com/repository/maven-public/</url>
</repository>
</repositories>

<distributionManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ public JSONObject fetchData(Map<String, Object> identityDetails) throws DataProv
String scope = (String) identityDetails.get("scope");
LinkedHashMap<String, String> queryMap = scopeToQueryMapping.get(scope);
if (individualId != null) {
Object[] mockData = dataProviderRepository.fetchDataFromIdentifier(individualId,
Object[] dataRecord = dataProviderRepository.fetchDataFromIdentifier(individualId,
queryMap.get("query"));
List<String> includeFields = Arrays.asList(queryMap.get("fields").split(","));
JSONObject jsonRes = new JSONObject();
for(int i=0;i<mockData.length;i++) {
jsonRes.put(includeFields.get(i), mockData[i]);
for(int i=0;i<dataRecord.length;i++) {
jsonRes.put(includeFields.get(i), dataRecord[i]);
}
return jsonRes;
}
Expand Down

0 comments on commit 324bafa

Please sign in to comment.