# \[oslc4j-client\] Can't get catalogUrl for Configuration Management

**URL:** <https://forum.open-services.net/t/oslc4j-client-cant-get-catalogurl-for-configuration-management/292>\
**Category:** Lyo\
**Created:** [August 8, 2019, 7:09pm UTC](https://forum.open-services.net/t/oslc4j-client-cant-get-catalogurl-for-configuration-management/292 "2019-08-08T19:09:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![isccarrasco](https://forum.open-services.net/user_avatar/forum.open-services.net/isccarrasco/32/220_2.png) [@isccarrasco](https://forum.open-services.net/u/isccarrasco)\
**Post date:** [August 8, 2019, 7:09pm UTC](https://forum.open-services.net/t/oslc4j-client-cant-get-catalogurl-for-configuration-management/292/1 "2019-08-08T19:09:12Z")

</div>

Hello guys!,

I’m wondering if there is any restriction for having the capability to get the _catalogUrl_ of a Configuration Management within the `getCatalogUrl` method. (maybe because it is only a draft?).

I found this [issue](https://bugs.eclipse.org/bugs/show_bug.cgi?id=518807) in the eclipse bugzilla platform.

The issue was described and in fact, the changes suggested in that issue are the same changes that I added to my fork for having the capability to obtain the `catalogUrl` for a Configuration Management project from the Rootservices.

I added the the constant for  
`OSLC_CONFIG = "http://open-services.net/ns/config#"`

and the

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

```

for getting the `catalogUrl` for the rootservices

```auto
<oslc_config:cmServiceProviders
          xmlns:oslc_config="http://open-services.net/ns/config#"
          rdf:resource="https://jazz.net/sandbox01-qm/oslc_config/catalog" />

```

If there is not restrictions, can I send this PR ?

Thanks!

---

<div class="post-metadata">

**Author:** ![andrew](https://forum.open-services.net/user_avatar/forum.open-services.net/andrew/32/28_2.png) [@andrew](https://forum.open-services.net/u/andrew)\
**Post date:** [August 8, 2019, 7:19pm UTC](https://forum.open-services.net/t/oslc4j-client-cant-get-catalogurl-for-configuration-management/292/2 "2019-08-08T19:19:15Z")

</div>

> [@isccarrasco](#):
>
> Hello guys!,

Welcome to the forum!

> [@isccarrasco](#):
>
> I’m wondering if there is any restriction for having the capability to get the _catalogUrl_ of a Configuration Management

None, nobody just had time to do it.

> [@isccarrasco](#):
>
> I found this [issue](https://bugs.eclipse.org/bugs/show_bug.cgi?id=518807) in the eclipse bugzilla platform.

Awesome that you did the search and found a match. I pinged Nick and we will see if he can find his PR.

> [@isccarrasco](#):
>
> If there is not restrictions, can I send this PR ?

But you are obviously very welcome to submit a PR and me/Jim/Nick will review it and me or Jim will merge it afterwards.

---

<div class="post-metadata">

**Author:** ![andrew](https://forum.open-services.net/user_avatar/forum.open-services.net/andrew/32/28_2.png) [@andrew](https://forum.open-services.net/u/andrew)\
**Post date:** [August 8, 2019, 7:21pm UTC](https://forum.open-services.net/t/oslc4j-client-cant-get-catalogurl-for-configuration-management/292/3 "2019-08-08T19:21:39Z")

</div>

I just realised @isccarrasco that the whole patch from Nick was in the bug report. Please go ahead and make the PR!

---

<div class="post-metadata">

**Author:** ![isccarrasco](https://forum.open-services.net/user_avatar/forum.open-services.net/isccarrasco/32/220_2.png) [@isccarrasco](https://forum.open-services.net/u/isccarrasco)\
**Post date:** [August 8, 2019, 11:41pm UTC](https://forum.open-services.net/t/oslc4j-client-cant-get-catalogurl-for-configuration-management/292/4 "2019-08-08T23:41:59Z")

</div>

Thanks @andrew !!!

I just sent the PR, that you can check here:

> <https://github.com/eclipse/lyo.client/pull/70>

Any feedback is very welcome, I tested the changes in my local and it works!
