Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get catalogUrl for Configuration Management - Fixes #205 #206

Merged
merged 1 commit into from
Oct 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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