In the OSLC4J example (provided here: https://github.com/OSLC/lyo-samples/tree/master/oslc-java-samples/src/main/java/org/eclipse/lyo/client/oslc/samples)
I found example code to get and create ChangeRequests for example.
But when I used it in the IDE I could see that all of these resource classe (like ChangeRequest, Requirement, …) are set to deprecated -> what I have done wrong, maybe I have choosen the wrong library/dependency? If so what are the right dependencies to work with the Resource classes? Or otherwise what is the successor?
This is the dependency I tried:
org.eclipse.lyo.clients:oslc-java-client-resources:4.0.0.RC
package org.eclipse.lyo.client.oslc.resources;
**@Deprecated**
@OslcNamespace(CmConstants.CHANGE_MANAGEMENT_NAMESPACE)
@OslcResourceShape(title = "Change Request Resource Shape", describes = CmConstants.TYPE_CHANGE_REQUEST)
public class ChangeRequest
extends AbstractResource
{
private final Set<Link> affectedByDefects = new HashSet<Link>();
Thanks for your help
Bye
Steve