Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.eclipse.lyo.oslc4j.core.model.Link;
import org.eclipse.lyo.oslc4j.core.OSLC4JUtils;
import org.eclipse.lyo.oslc.domains.Agent;
import org.eclipse.lyo.oslc4j.core.model.AllowedValues;
import org.eclipse.lyo.oslc.domains.cm.ChangeNotice;
import org.eclipse.lyo.oslc.domains.cm.ChangeRequest;
import org.eclipse.lyo.oslc.domains.config.ChangeSet;
Expand All @@ -38,14 +39,23 @@
import org.eclipse.lyo.oslc.domains.config.ConceptResource;
import org.eclipse.lyo.oslc.domains.config.Configuration;
import org.eclipse.lyo.oslc.domains.config.Contribution;
import org.eclipse.lyo.oslc4j.core.model.CreationFactory;
import org.eclipse.lyo.oslc.domains.cm.Defect;
import org.eclipse.lyo.oslc4j.core.model.Dialog;
import org.eclipse.lyo.oslc4j.core.model.Discussion;
import org.eclipse.lyo.oslc.domains.cm.Enhancement;
import org.eclipse.lyo.oslc.domains.Person;
import org.eclipse.lyo.oslc.domains.cm.Priority;
import org.eclipse.lyo.oslc4j.core.model.Property;
import org.eclipse.lyo.oslc4j.core.model.Publisher;
import org.eclipse.lyo.oslc4j.core.model.QueryCapability;
import org.eclipse.lyo.oslc.domains.rm.Requirement;
import org.eclipse.lyo.oslc4j.core.model.ResourceShape;
import org.eclipse.lyo.oslc.domains.cm.ReviewTask;
import org.eclipse.lyo.oslc.domains.config.Selections;
import org.eclipse.lyo.oslc4j.core.model.Service;
import org.eclipse.lyo.oslc4j.core.model.ServiceProvider;
import org.eclipse.lyo.oslc.domains.cm.Severity;
import org.eclipse.lyo.oslc.domains.cm.State;
import org.eclipse.lyo.oslc.domains.cm.Task;
import org.eclipse.lyo.oslc.domains.config.VersionResource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import co.oslc.refimpl.cm.gen.servlet.ServiceProviderCatalogSingleton;
import co.oslc.refimpl.cm.gen.ServiceProviderInfo;
import org.eclipse.lyo.oslc.domains.Agent;
import org.eclipse.lyo.oslc4j.core.model.AllowedValues;
import org.eclipse.lyo.oslc.domains.cm.ChangeNotice;
import org.eclipse.lyo.oslc.domains.cm.ChangeRequest;
import org.eclipse.lyo.oslc.domains.config.ChangeSet;
Expand All @@ -48,14 +49,23 @@
import org.eclipse.lyo.oslc.domains.config.ConceptResource;
import org.eclipse.lyo.oslc.domains.config.Configuration;
import org.eclipse.lyo.oslc.domains.config.Contribution;
import org.eclipse.lyo.oslc4j.core.model.CreationFactory;
import org.eclipse.lyo.oslc.domains.cm.Defect;
import org.eclipse.lyo.oslc4j.core.model.Dialog;
import org.eclipse.lyo.oslc4j.core.model.Discussion;
import org.eclipse.lyo.oslc.domains.cm.Enhancement;
import org.eclipse.lyo.oslc.domains.Person;
import org.eclipse.lyo.oslc.domains.cm.Priority;
import org.eclipse.lyo.oslc4j.core.model.Property;
import org.eclipse.lyo.oslc4j.core.model.Publisher;
import org.eclipse.lyo.oslc4j.core.model.QueryCapability;
import org.eclipse.lyo.oslc.domains.rm.Requirement;
import org.eclipse.lyo.oslc4j.core.model.ResourceShape;
import org.eclipse.lyo.oslc.domains.cm.ReviewTask;
import org.eclipse.lyo.oslc.domains.config.Selections;
import org.eclipse.lyo.oslc4j.core.model.Service;
import org.eclipse.lyo.oslc4j.core.model.ServiceProvider;
import org.eclipse.lyo.oslc.domains.cm.Severity;
import org.eclipse.lyo.oslc.domains.cm.State;
import org.eclipse.lyo.oslc.domains.cm.Task;
import org.eclipse.lyo.oslc.domains.config.VersionResource;
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

import co.oslc.refimpl.cm.gen.RestDelegate;
import co.oslc.refimpl.cm.gen.ServerConstants;
import org.eclipse.lyo.oslc.domains.cm.Oslc_cmDomainConstants;
import org.eclipse.lyo.oslc.domains.cm.Oslc_cm_shapesDomainConstants;
import co.oslc.refimpl.cm.gen.servlet.ServiceProviderCatalogSingleton;
import org.eclipse.lyo.oslc.domains.cm.ChangeRequest;
import io.swagger.v3.oas.annotations.Operation;
Expand Down Expand Up @@ -119,9 +119,9 @@ public WsChangeRequest()
@Path("{id}")
@Produces({OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_JSON_LD, OslcMediaType.TEXT_TURTLE, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
@Operation(
summary = "GET for resources of type {'" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "'}",
description = "GET for resources of type {'" + "<a href=\"" + Oslc_cmDomainConstants.CHANGEREQUEST_TYPE + "\">" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}" +
", with respective resource shapes {'" + "<a href=\"" + "../services/" + OslcConstants.PATH_RESOURCE_SHAPES + "/" + Oslc_cmDomainConstants.CHANGEREQUEST_PATH + "\">" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}",
summary = "GET for resources of type {'" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "'}",
description = "GET for resources of type {'" + "<a href=\"" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_TYPE + "\">" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}" +
", with respective resource shapes {'" + "<a href=\"" + "../services/" + OslcConstants.PATH_RESOURCE_SHAPES + "/" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_PATH + "\">" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}",
responses = {@ApiResponse(description = "default response",
content = {@Content(mediaType = OslcMediaType.APPLICATION_RDF_XML), @Content(
mediaType = OslcMediaType.APPLICATION_XML), @Content(
Expand Down Expand Up @@ -155,9 +155,9 @@ public ChangeRequest getChangeRequest(
@Path("{id}")
@Produces({ MediaType.TEXT_HTML })
@Operation(
summary = "GET for resources of type {'" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "'}",
description = "GET for resources of type {'" + "<a href=\"" + Oslc_cmDomainConstants.CHANGEREQUEST_TYPE + "\">" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}" +
", with respective resource shapes {'" + "<a href=\"" + "../services/" + OslcConstants.PATH_RESOURCE_SHAPES + "/" + Oslc_cmDomainConstants.CHANGEREQUEST_PATH + "\">" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}",
summary = "GET for resources of type {'" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "'}",
description = "GET for resources of type {'" + "<a href=\"" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_TYPE + "\">" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}" +
", with respective resource shapes {'" + "<a href=\"" + "../services/" + OslcConstants.PATH_RESOURCE_SHAPES + "/" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_PATH + "\">" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}",
responses = {@ApiResponse(description = "default response",
content = {@Content(mediaType = OslcMediaType.APPLICATION_RDF_XML), @Content(
mediaType = OslcMediaType.APPLICATION_XML), @Content(
Expand Down Expand Up @@ -193,9 +193,9 @@ public void getChangeRequestAsHtml(
@Path("{id}")
@Produces({OslcMediaType.APPLICATION_X_OSLC_COMPACT_XML})
@Operation(
summary = "GET for resources of type {'" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "'}",
description = "GET for resources of type {'" + "<a href=\"" + Oslc_cmDomainConstants.CHANGEREQUEST_TYPE + "\">" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}" +
", with respective resource shapes {'" + "<a href=\"" + "../services/" + OslcConstants.PATH_RESOURCE_SHAPES + "/" + Oslc_cmDomainConstants.CHANGEREQUEST_PATH + "\">" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}",
summary = "GET for resources of type {'" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "'}",
description = "GET for resources of type {'" + "<a href=\"" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_TYPE + "\">" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}" +
", with respective resource shapes {'" + "<a href=\"" + "../services/" + OslcConstants.PATH_RESOURCE_SHAPES + "/" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_PATH + "\">" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}",
responses = {@ApiResponse(description = "default response",
content = {@Content(mediaType = OslcMediaType.APPLICATION_RDF_XML), @Content(
mediaType = OslcMediaType.APPLICATION_XML), @Content(
Expand Down Expand Up @@ -302,9 +302,9 @@ public void getChangeRequestAsHtmlLargePreview(
@DELETE
@Path("{id}")
@Operation(
summary = "DELETE for resources of type {'" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "'}",
description = "DELETE for resources of type {'" + "<a href=\"" + Oslc_cmDomainConstants.CHANGEREQUEST_TYPE + "\">" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}" +
", with respective resource shapes {'" + "<a href=\"" + "../services/" + OslcConstants.PATH_RESOURCE_SHAPES + "/" + Oslc_cmDomainConstants.CHANGEREQUEST_PATH + "\">" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}",
summary = "DELETE for resources of type {'" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "'}",
description = "DELETE for resources of type {'" + "<a href=\"" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_TYPE + "\">" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}" +
", with respective resource shapes {'" + "<a href=\"" + "../services/" + OslcConstants.PATH_RESOURCE_SHAPES + "/" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_PATH + "\">" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}",
responses = {@ApiResponse(description = "default response",
content = {@Content(mediaType = OslcMediaType.APPLICATION_RDF_XML), @Content(
mediaType = OslcMediaType.APPLICATION_XML), @Content(
Expand Down Expand Up @@ -338,9 +338,9 @@ public Response deleteChangeRequest(
@Path("{id}")
@Consumes({OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_JSON_LD, OslcMediaType.TEXT_TURTLE, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON })
@Operation(
summary = "PUT for resources of type {'" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "'}",
description = "PUT for resources of type {'" + "<a href=\"" + Oslc_cmDomainConstants.CHANGEREQUEST_TYPE + "\">" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}" +
", with respective resource shapes {'" + "<a href=\"" + "../services/" + OslcConstants.PATH_RESOURCE_SHAPES + "/" + Oslc_cmDomainConstants.CHANGEREQUEST_PATH + "\">" + Oslc_cmDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}",
summary = "PUT for resources of type {'" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "'}",
description = "PUT for resources of type {'" + "<a href=\"" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_TYPE + "\">" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}" +
", with respective resource shapes {'" + "<a href=\"" + "../services/" + OslcConstants.PATH_RESOURCE_SHAPES + "/" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_PATH + "\">" + Oslc_cm_shapesDomainConstants.CHANGEREQUEST_LOCALNAME + "</a>" + "'}",
responses = {@ApiResponse(description = "default response",
content = {@Content(mediaType = OslcMediaType.APPLICATION_RDF_XML), @Content(
mediaType = OslcMediaType.APPLICATION_XML), @Content(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
import co.oslc.refimpl.cm.gen.services.ResourceShapeService;

import org.eclipse.lyo.oslc.domains.Agent;
import org.eclipse.lyo.oslc4j.core.model.AllowedValues;
import org.eclipse.lyo.oslc.domains.cm.ChangeNotice;
import org.eclipse.lyo.oslc.domains.cm.ChangeRequest;
import org.eclipse.lyo.oslc.domains.config.ChangeSet;
Expand All @@ -77,18 +78,27 @@
import org.eclipse.lyo.oslc.domains.config.ConceptResource;
import org.eclipse.lyo.oslc.domains.config.Configuration;
import org.eclipse.lyo.oslc.domains.config.Contribution;
import org.eclipse.lyo.oslc4j.core.model.CreationFactory;
import org.eclipse.lyo.oslc.domains.cm.Defect;
import org.eclipse.lyo.oslc4j.core.model.Dialog;
import org.eclipse.lyo.oslc4j.core.model.Discussion;
import org.eclipse.lyo.oslc.domains.cm.Enhancement;
import org.eclipse.lyo.oslc.domains.Person;
import org.eclipse.lyo.oslc.domains.cm.Priority;
import org.eclipse.lyo.oslc4j.core.model.Property;
import org.eclipse.lyo.oslc4j.core.model.Publisher;
import org.eclipse.lyo.oslc4j.core.model.QueryCapability;
import org.eclipse.lyo.oslc.domains.rm.Requirement;
import org.eclipse.lyo.oslc4j.core.model.ResourceShape;
import org.eclipse.lyo.oslc.domains.cm.ReviewTask;
import org.eclipse.lyo.oslc.domains.config.Selections;
import org.eclipse.lyo.oslc4j.core.model.Service;
import org.eclipse.lyo.oslc4j.core.model.ServiceProvider;
Comment on lines +95 to +96

Copilot AI Dec 28, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The imports for Service and ServiceProvider are duplicated. Lines 54-55 import these classes, and lines 94-95 import them again. Remove the duplicate imports on lines 94-95 since they are already imported earlier in the file.

Suggested change
import org.eclipse.lyo.oslc4j.core.model.Service;
import org.eclipse.lyo.oslc4j.core.model.ServiceProvider;

Copilot uses AI. Check for mistakes.
import org.eclipse.lyo.oslc.domains.cm.Severity;
import org.eclipse.lyo.oslc.domains.cm.State;
import org.eclipse.lyo.oslc.domains.cm.Task;
import org.eclipse.lyo.oslc.domains.config.VersionResource;
import org.eclipse.lyo.oslc.domains.cm.Oslc_cmDomainConstants;
import org.eclipse.lyo.oslc.domains.cm.Oslc_cm_shapesDomainConstants;
import org.eclipse.lyo.oslc.domains.config.Oslc_configDomainConstants;
import org.eclipse.lyo.oslc.domains.DctermsDomainConstants;
import org.eclipse.lyo.oslc.domains.FoafDomainConstants;
Expand Down Expand Up @@ -179,24 +189,34 @@ public Set<Object> getSingletons() {
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcConstants.PATH_SERVICE_PROVIDER_CATALOG, ServiceProviderCatalog.class);

RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(FoafDomainConstants.AGENT_PATH, Agent.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cmDomainConstants.CHANGENOTICE_PATH, ChangeNotice.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cmDomainConstants.CHANGEREQUEST_PATH, ChangeRequest.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcDomainConstants.ALLOWEDVALUES_PATH, AllowedValues.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cm_shapesDomainConstants.CHANGENOTICE_PATH, ChangeNotice.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cm_shapesDomainConstants.CHANGEREQUEST_PATH, ChangeRequest.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_configDomainConstants.CHANGESET_PATH, ChangeSet.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(RdfsDomainConstants.CLASS_PATH, RdfsClass.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_configDomainConstants.COMPONENT_PATH, Component.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_configDomainConstants.CONCEPTRESOURCE_PATH, ConceptResource.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_configDomainConstants.CONFIGURATION_PATH, Configuration.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_configDomainConstants.CONTRIBUTION_PATH, Contribution.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cmDomainConstants.DEFECT_PATH, Defect.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcDomainConstants.CREATIONFACTORY_PATH, CreationFactory.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cm_shapesDomainConstants.DEFECT_PATH, Defect.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcDomainConstants.DIALOG_PATH, Dialog.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcDomainConstants.DISCUSSION_PATH, Discussion.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cmDomainConstants.ENHANCEMENT_PATH, Enhancement.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cm_shapesDomainConstants.ENHANCEMENT_PATH, Enhancement.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(FoafDomainConstants.PERSON_PATH, Person.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cmDomainConstants.PRIORITY_PATH, Priority.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cm_shapesDomainConstants.PRIORITY_PATH, Priority.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcDomainConstants.PROPERTY_PATH, Property.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcDomainConstants.PUBLISHER_PATH, Publisher.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcDomainConstants.QUERYCAPABILITY_PATH, QueryCapability.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_rmDomainConstants.REQUIREMENT_PATH, Requirement.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cmDomainConstants.REVIEWTASK_PATH, ReviewTask.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcDomainConstants.RESOURCESHAPE_PATH, ResourceShape.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cm_shapesDomainConstants.REVIEWTASK_PATH, ReviewTask.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_configDomainConstants.SELECTIONS_PATH, Selections.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cmDomainConstants.STATE_PATH, State.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cmDomainConstants.TASK_PATH, Task.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcDomainConstants.SERVICE_PATH, Service.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcDomainConstants.SERVICEPROVIDER_PATH, ServiceProvider.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cm_shapesDomainConstants.SEVERITY_PATH, Severity.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cm_shapesDomainConstants.STATE_PATH, State.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_cm_shapesDomainConstants.TASK_PATH, Task.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(Oslc_configDomainConstants.VERSIONRESOURCE_PATH, VersionResource.class);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

import co.oslc.refimpl.cm.gen.ServiceProviderInfo;

import org.eclipse.lyo.oslc.domains.cm.Oslc_cmDomainConstants;
import org.eclipse.lyo.oslc.domains.cm.Oslc_cm_shapesDomainConstants;
import org.eclipse.lyo.oslc.domains.config.Oslc_configDomainConstants;
import org.eclipse.lyo.oslc.domains.DctermsDomainConstants;
import org.eclipse.lyo.oslc.domains.FoafDomainConstants;
Expand Down Expand Up @@ -128,13 +128,13 @@ public static ServiceProvider createServiceProvider(final ServiceProviderInfo se
new PrefixDefinition(OslcConstants.OSLC_DATA_NAMESPACE_PREFIX, new URI(OslcConstants.OSLC_DATA_NAMESPACE)),
new PrefixDefinition(OslcConstants.RDF_NAMESPACE_PREFIX, new URI(OslcConstants.RDF_NAMESPACE)),
new PrefixDefinition(OslcConstants.RDFS_NAMESPACE_PREFIX, new URI(OslcConstants.RDFS_NAMESPACE)),
new PrefixDefinition(Oslc_cmDomainConstants.CHANGE_MANAGEMENT_SHAPES_NAMSPACE_PREFIX, new URI(Oslc_cmDomainConstants.CHANGE_MANAGEMENT_SHAPES_NAMSPACE)),
new PrefixDefinition(Oslc_cm_shapesDomainConstants.CHANGE_MANAGEMENT_SHAPES_NAMSPACE_PREFIX, new URI(Oslc_cm_shapesDomainConstants.CHANGE_MANAGEMENT_SHAPES_NAMSPACE)),
new PrefixDefinition(Oslc_configDomainConstants.CONFIGURATION_MANAGEMENT_NAMSPACE_PREFIX, new URI(Oslc_configDomainConstants.CONFIGURATION_MANAGEMENT_NAMSPACE)),
new PrefixDefinition(DctermsDomainConstants.DUBLIN_CORE_NAMSPACE_PREFIX, new URI(DctermsDomainConstants.DUBLIN_CORE_NAMSPACE)),
new PrefixDefinition(FoafDomainConstants.FOAF_NAMSPACE_PREFIX, new URI(FoafDomainConstants.FOAF_NAMSPACE)),
new PrefixDefinition(OslcDomainConstants.OSLC_NAMSPACE_PREFIX, new URI(OslcDomainConstants.OSLC_NAMSPACE)),
new PrefixDefinition(RdfsDomainConstants.RDFS_NAMSPACE_PREFIX, new URI(RdfsDomainConstants.RDFS_NAMSPACE)),
new PrefixDefinition(Oslc_rmDomainConstants.REQUIREMENTS_MANAGEMENT_SHAPES_NAMSPACE_PREFIX, new URI(Oslc_rmDomainConstants.REQUIREMENTS_MANAGEMENT_SHAPES_NAMSPACE))
new PrefixDefinition(Oslc_rmDomainConstants.REQUIREMENTS_MANAGEMENT_SHAPES_NAMSPACE_PREFIX, new URI(Oslc_rmDomainConstants.REQUIREMENTS_MANAGEMENT_SHAPES_NAMSPACE))
};
serviceProvider.setPrefixDefinitions(prefixDefinitions);

Expand Down
Loading
Loading