Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - phi55

Pages: [1]
1
Trying to use OSLC to move an element or a package to a different place, but there’s no documentation for updating a resource’s parent (based on https://sparxsystems.com/enterprise_architect_user_guide/16.1/the_model_repository/oslc_upd_resources.html and the examples). The updating operation only deals with its listed features internally, so I cannot find a way to move it to a different place (e.g, move it one level up in the tree structure).
 
1. When creating a new resource, the `ss:parentresourceidentifier` is required. Is there an optional one where we can use to specify the parent location in updating operation?
2. `ss:parentresourceidentifier` is in the http://model/oslc/am/rs/cfresouce (resource shape for create) but not in http://model/oslc/am/resource (resource shape for update)
3. If not, is there workaround to get the same effect for moving a resource (preserving the relationships and all properties etc of the item being moved)?

If OSLC supports updating resource's parent, the workflow can be more automated and easily integrated.

Thank you!

2
Bugs and Issues / Can't create tagged values via OSLC
« on: May 19, 2023, 06:04:33 pm »
Short description of issue: I can not create a tagged value for a package or element based on the OSLC documentation. The similar error messages appear when I use the creation factory endpoints to create a discussion. However, I can create a new element or package, and update the tagged value once it's created.

PCS version is 5.1.123 iirc and OS is Windows10 Enterprise

The error message:
Quote
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:oslc="http://open-services.net/ns/core#">
    <oslc:Error>
        <oslc:statusCode>400</oslc:statusCode>
        <oslc:message>'ss:taggedvalue' is not a valid Enterprise Architect Creation Factory Resource</oslc:message>
    </oslc:Error>
</rdf:RDF>

Io check the service provider info from http://<modelname>/oslc/am/sp/ and can see that the taggedvalue is indeed in the oslc:CreationFactory which should not result the error message above.

Any advice is appreciated!

Pages: [1]