Search in sources :

Example 1 with AdminEndpointCapability

use of org.opentosca.toscana.model.capability.AdminEndpointCapability in project TOSCAna by StuPro-TOSCAna.

the class WebServer method init.

private void init() {
    setDefault(DATA_ENDPOINT, new EndpointCapability(getChildEntity(DATA_ENDPOINT)));
    setDefault(ADMIN_ENDPOINT, new AdminEndpointCapability(getChildEntity(ADMIN_ENDPOINT)));
    setDefault(CONTAINER_HOST, new ContainerCapability(getChildEntity(CONTAINER_HOST)));
}
Also used : AdminEndpointCapability(org.opentosca.toscana.model.capability.AdminEndpointCapability) ContainerCapability(org.opentosca.toscana.model.capability.ContainerCapability) AdminEndpointCapability(org.opentosca.toscana.model.capability.AdminEndpointCapability) EndpointCapability(org.opentosca.toscana.model.capability.EndpointCapability)

Example 2 with AdminEndpointCapability

use of org.opentosca.toscana.model.capability.AdminEndpointCapability in project TOSCAna by StuPro-TOSCAna.

the class Compute method init.

private void init() {
    setDefault(HOST, new ContainerCapability(getChildEntity(HOST)));
    setDefault(OS, new OsCapability(getChildEntity(OS)));
    setDefault(ENDPOINT, new AdminEndpointCapability(getChildEntity(ENDPOINT)));
    setDefault(SCALABLE, new ScalableCapability(getChildEntity(SCALABLE)));
    setDefault(BINDING, new BindableCapability(getChildEntity(BINDING)));
    setDefault(LOCAL_STORAGE, new BlockStorageRequirement(getChildEntity(LOCAL_STORAGE)));
}
Also used : ScalableCapability(org.opentosca.toscana.model.capability.ScalableCapability) AdminEndpointCapability(org.opentosca.toscana.model.capability.AdminEndpointCapability) BlockStorageRequirement(org.opentosca.toscana.model.requirement.BlockStorageRequirement) OsCapability(org.opentosca.toscana.model.capability.OsCapability) ContainerCapability(org.opentosca.toscana.model.capability.ContainerCapability) BindableCapability(org.opentosca.toscana.model.capability.BindableCapability)

Aggregations

AdminEndpointCapability (org.opentosca.toscana.model.capability.AdminEndpointCapability)2 ContainerCapability (org.opentosca.toscana.model.capability.ContainerCapability)2 BindableCapability (org.opentosca.toscana.model.capability.BindableCapability)1 EndpointCapability (org.opentosca.toscana.model.capability.EndpointCapability)1 OsCapability (org.opentosca.toscana.model.capability.OsCapability)1 ScalableCapability (org.opentosca.toscana.model.capability.ScalableCapability)1 BlockStorageRequirement (org.opentosca.toscana.model.requirement.BlockStorageRequirement)1