...
The OSLC resource type, and OSLC domain must be present in the metamodel (either the default metamodel or a custom metamodel).
Link storage
Depending on the metamodel and the domain(s) that you have chosen you may need to be able to store created links in your application. Generally links in OSLC are only stored in only one of the two applications - in the logically dependent resource. e.g. when a test case validates a requirement, the test case is dependent on the requirement and thus stores the link to the requirement.
If your authoring tool will be storing links then your IToolAdapter interface must implement the following method:
Code Block | ||
---|---|---|
| ||
public interface IToolAdapter {
// ...
void updateArtifactLinks(@NonNull String componentId,
@NonNull String localConfigurationId,
@NonNull String artifactConceptId,
@NonNull Set<LinkTao> links);
//...
} |
2) Define conceptual mapping between OSLC type and the types in your authoring tool
...