Skip to content

Commit

Permalink
Get catalogUrl for Configuration Management - Fixes #205 (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
isccarrasco committed Oct 13, 2021
1 parent 1f6e5a5 commit e1b33ff
Showing 1 changed file with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,19 @@ public RootServicesHelper (String url, String catalogDomain, OslcClient client)
this.catalogNamespace = OSLCConstants.OSLC_AM_V2;
this.catalogProperty = RootServicesConstants.AM_ROOTSERVICES_CATALOG_PROP;

}
else if (this.catalogDomain.equalsIgnoreCase(OSLCConstants.OSLC_AUTO)) {
} else if (this.catalogDomain.equalsIgnoreCase(OSLCConstants.OSLC_AUTO)) {

this.catalogNamespace = OSLCConstants.OSLC_AUTO;
this.catalogProperty = RootServicesConstants.AUTO_ROOTSERVICES_CATALOG_PROP;
this.catalogNamespace = OSLCConstants.OSLC_AUTO;
this.catalogProperty = RootServicesConstants.AUTO_ROOTSERVICES_CATALOG_PROP;

}
else {
logger.error("Jazz rootservices only supports CM, RM, QM, and Automation catalogs");
}
} else if (this.catalogDomain.equalsIgnoreCase(OSLCConstants.OSLC_CONFIG)) {

this.catalogNamespace = OSLCConstants.OSLC_CONFIG;
this.catalogProperty = RootServicesConstants.CM_ROOTSERVICES_CATALOG_PROP;

} else {
logger.error("Jazz rootservices only supports CM, RM, QM, GC and Automation catalogs");
}

processRootServices(client);
}
Expand Down

0 comments on commit e1b33ff

Please sign in to comment.