|
|
|
@ -41,20 +41,20 @@ import org.gcube.resourcemanagement.model.reference.entities.resources.Software;
|
|
|
|
|
@TypeMetadata(
|
|
|
|
|
name = Requires.NAME,
|
|
|
|
|
description = "Requires is used to indicate that the source {@link Software} when activated requires "
|
|
|
|
|
+ "to interact with a specific {@link Service} instance, i.e., the target of the relation.\n"
|
|
|
|
|
+ "This relation usually reflects an administrative constraint than a technological limitation.\n"
|
|
|
|
|
+ "to interact with a specific {@link Service} instance, i.e., the target of the relation. "
|
|
|
|
|
+ "This relation usually reflects an administrative constraint than a technological limitation. "
|
|
|
|
|
+ "When there are no constraint on the instance the relation is instead {@link DependsOn} "
|
|
|
|
|
+ "which is between two {@link Software}."
|
|
|
|
|
+ "Not necessarily all the {@link Software} running in the infrastructure are represented as resources. "
|
|
|
|
|
+ "Only the {@link Software} required for infrastructure administration or the ones to be managed "
|
|
|
|
|
+ "with specific policies are represented.\n"
|
|
|
|
|
+ "Indeed, Requires relation is normally used as policy constraint.\n"
|
|
|
|
|
+ "Let imagine an open source software which uses a MySQL database as backend.\n"
|
|
|
|
|
+ "In many cases, what characterises the software instance is the data present in the backend.\n"
|
|
|
|
|
+ "with specific policies are represented. "
|
|
|
|
|
+ "Indeed, Requires relation is normally used as policy constraint. "
|
|
|
|
|
+ "Let imagine an open source software which uses a MySQL database as backend. "
|
|
|
|
|
+ "In many cases, what characterises the software instance is the data present in the backend. "
|
|
|
|
|
+ "The infrastructure manager could stipulate an agreement with a provider having a particular "
|
|
|
|
|
+ "set of data which is not for public domain.\n"
|
|
|
|
|
+ "set of data which is not for public domain. "
|
|
|
|
|
+ "The software once deployed, giving the business agreement, is entitled to use the instance "
|
|
|
|
|
+ "of the provider and not a generic MySQL database instance.\n"
|
|
|
|
|
+ "of the provider and not a generic MySQL database instance. "
|
|
|
|
|
+ "The infrastructure manager imposes the use of such a particular instance because of the data it contains.",
|
|
|
|
|
version = TypeVersion.MINIMAL_VERSION_STRING
|
|
|
|
|
)
|
|
|
|
|