diff --git a/client/oslc-client/src/main/java/org/eclipse/lyo/client/RootServicesHelper.java b/client/oslc-client/src/main/java/org/eclipse/lyo/client/RootServicesHelper.java index 418fa215c..3915659b5 100644 --- a/client/oslc-client/src/main/java/org/eclipse/lyo/client/RootServicesHelper.java +++ b/client/oslc-client/src/main/java/org/eclipse/lyo/client/RootServicesHelper.java @@ -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); }