Fixed GCube Resource Schema
This commit is contained in:
parent
bd6475ca57
commit
160634bafa
|
@ -39,7 +39,7 @@ import org.gcube.resourcemanagement.model.reference.relations.isrelatedto.IsOwne
|
|||
@JsonDeserialize(as=ActorImpl.class)
|
||||
@ResourceSchema(
|
||||
facets={
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=ContactFacet.class, min=1, description=" An Actor has at least a Contact Facet which permit to identify the Actor per se. "),
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=ContactFacet.class, min=1, max=1, description=" An Actor has at least a Contact Facet which permit to identify the Actor per se. "),
|
||||
@ResourceSchemaEntry(relation=HasContact.class, facet=ContactFacet.class, description=" An Actor can have other Contact Facets which provide secondary contact information. "),
|
||||
@ResourceSchemaEntry(facet=ContactReferenceFacet.class)
|
||||
},
|
||||
|
|
|
@ -29,7 +29,7 @@ import org.gcube.resourcemanagement.model.reference.relations.isrelatedto.IsDeri
|
|||
@JsonDeserialize(as=ConfigurationTemplateImpl.class)
|
||||
@ResourceSchema(
|
||||
facets={
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=IdentifierFacet.class, min=1)
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=IdentifierFacet.class, min=1, max=1)
|
||||
},
|
||||
resources = {
|
||||
@RelatedResourcesEntry(source=Configuration.class, relation=IsDerivationOf.class, target=ConfigurationTemplate.class),
|
||||
|
|
|
@ -51,7 +51,7 @@ import org.gcube.resourcemanagement.model.reference.relations.isrelatedto.Manage
|
|||
@JsonDeserialize(as = DatasetImpl.class)
|
||||
@ResourceSchema(
|
||||
facets = {
|
||||
@ResourceSchemaEntry(relation = IsIdentifiedBy.class, facet = IdentifierFacet.class, min = 1, description = "The set of Identifiers associated with the Dataset instance."),
|
||||
@ResourceSchemaEntry(relation = IsIdentifiedBy.class, facet = IdentifierFacet.class, min = 1, max=1, description = "The set of Identifiers associated with the Dataset instance."),
|
||||
@ResourceSchemaEntry(relation = HasContact.class, facet = ContactFacet.class, min = 1, description = "The contact information of the entity responsible for the dataset."),
|
||||
@ResourceSchemaEntry(relation = HasContributor.class, facet = ContactFacet.class, description = "The contact information on contributors supporting the creation and development of the Dataset."),
|
||||
@ResourceSchemaEntry(relation = HasCreator.class, facet = ContactFacet.class, description = " The contact information of the creator of the Dataset."),
|
||||
|
|
|
@ -33,7 +33,7 @@ import org.gcube.resourcemanagement.model.reference.relations.isrelatedto.Uses;
|
|||
@JsonDeserialize(as = EServiceImpl.class)
|
||||
@ResourceSchema(
|
||||
facets={
|
||||
@ResourceSchemaEntry(relation = IsIdentifiedBy.class, facet = SoftwareFacet.class, min = 1, description = "The main software enabling the EService capabilities."),
|
||||
@ResourceSchemaEntry(relation = IsIdentifiedBy.class, facet = SoftwareFacet.class, min = 1, max=1, description = "The main software enabling the EService capabilities."),
|
||||
@ResourceSchemaEntry(facet = SoftwareFacet.class, description = "Software available in the EService environment that characterizes the specific EService instance."),
|
||||
@ResourceSchemaEntry(facet = AccessPointFacet.class, min = 1, description = "Identify the endpoints of the EService."),
|
||||
@ResourceSchemaEntry(facet = EventFacet.class, min = 1, description = "Events characterising the current status and lifecycle of the service, e.g. ActivationTime, DeploymentTime."),
|
||||
|
|
|
@ -50,7 +50,7 @@ import org.gcube.resourcemanagement.model.reference.relations.consistsof.IsIdent
|
|||
@JsonDeserialize(as=HostingNodeImpl.class)
|
||||
@ResourceSchema(
|
||||
facets={
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=NetworkingFacet.class, min=1, description="The Network ID characterising the Hosting Node."),
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=NetworkingFacet.class, min=1, max=1, description="The Network ID characterising the Hosting Node."),
|
||||
@ResourceSchemaEntry(facet=CPUFacet.class, min=1, description="The CPU equipping the Hosting Node."),
|
||||
@ResourceSchemaEntry(relation=HasPersistentMemory.class, facet=MemoryFacet.class, min=1, description="The Disk Space Capacity of the Hosting Node."),
|
||||
@ResourceSchemaEntry(relation=HasVolatileMemory.class, facet=MemoryFacet.class, min=1, description="The RAM Capacity of the Hosting Node."),
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.gcube.resourcemanagement.model.reference.relations.isrelatedto.IsComp
|
|||
@JsonDeserialize(as=SchemaImpl.class)
|
||||
@ResourceSchema(
|
||||
facets={
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=SchemaFacet.class, min=1),
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=SchemaFacet.class, min=1, max=1),
|
||||
@ResourceSchemaEntry(relation=HasContact.class, facet=ContactFacet.class, min=1),
|
||||
@ResourceSchemaEntry(facet=DescriptiveMetadataFacet.class),
|
||||
@ResourceSchemaEntry(facet=SubjectFacet.class)
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.gcube.resourcemanagement.model.reference.relations.isrelatedto.IsOwne
|
|||
@JsonDeserialize(as=SiteImpl.class)
|
||||
@ResourceSchema(
|
||||
facets={
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=IdentifierFacet.class, min=1, description="The Site Identifier."),
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=IdentifierFacet.class, min=1, max=1, description="The Site Identifier."),
|
||||
@ResourceSchemaEntry(relation=HasContact.class, facet=ContactFacet.class, min=1, description="The main contact for the Site."),
|
||||
@ResourceSchemaEntry(relation=HasMaintainer.class, facet=ContactFacet.class, min=1, description="Contact information of the maintainer of the Site."),
|
||||
@ResourceSchemaEntry(relation=HasManager.class, facet=ContactFacet.class, min=1, description="Contact information of the Site Manager."),
|
||||
|
|
|
@ -34,7 +34,7 @@ import org.gcube.resourcemanagement.model.reference.relations.isrelatedto.Requir
|
|||
@JsonDeserialize(as=SoftwareImpl.class)
|
||||
@ResourceSchema(
|
||||
facets={
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=SoftwareFacet.class, min=1, description="Software coordinates which identify the Software per se."),
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=SoftwareFacet.class, min=1, max=1, description="Software coordinates which identify the Software per se."),
|
||||
@ResourceSchemaEntry(facet=SoftwareFacet.class, min=1, description="Apart the one connected by the IsIdentifiedBy relation (gCube coordinates) the others identify the software in other way e.g. (Maven coordinates)."),
|
||||
@ResourceSchemaEntry(facet=CapabilityFacet.class)
|
||||
},
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.gcube.resourcemanagement.model.reference.relations.consistsof.IsIdent
|
|||
@JsonDeserialize(as=VirtualMachineImpl.class)
|
||||
@ResourceSchema(
|
||||
facets={
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=NetworkingFacet.class, min=1, description="The Network ID characterising the Virtual Machine."),
|
||||
@ResourceSchemaEntry(relation=IsIdentifiedBy.class, facet=NetworkingFacet.class, min=1, max=1, description="The Network ID characterising the Virtual Machine."),
|
||||
@ResourceSchemaEntry(facet=CPUFacet.class, min=1, description="The CPU equipping the Virtual Machine."),
|
||||
@ResourceSchemaEntry(relation=HasPersistentMemory.class, facet=MemoryFacet.class, min=1, description="The Disk Space Capacity of the Virtual Machine."),
|
||||
@ResourceSchemaEntry(relation=HasVolatileMemory.class, facet=MemoryFacet.class, min=1, description="The RAM Capacity of the Virtual Machine."),
|
||||
|
|
Loading…
Reference in New Issue