Commit 4d904e8b authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

Merge branch '14-update-metrico-resource-specification-to-v1-0' into 'develop'

Resolve "Update METRICO Resource Specification to v1.0"

See merge request !13
parents 6370feed e8b82110
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ import java.util.List;
public class MetricoService extends RouteBuilder {

    public static final String OSL_METRICO_RSPEC_NAME = "METRICO_Resource_Specification";
    public static final String OSL_METRICO_RSPEC_VERSION = "0.0.1";
    public static final String OSL_METRICO_RSPEC_VERSION = "1.0.0";
    public static final String OSL_METRICO_RSPEC_CATEGORY = "metrico.osl.etsi.org/v1";
    public static final String OSL_METRICO_RSPEC_TYPE = "LogicalResourceSpecification";
    public static final String OSL_METRICO_RSPEC_DESCRIPTION = "This Specification is used to describe a generic METRICO job resource";
@@ -85,8 +85,6 @@ public class MetricoService extends RouteBuilder {
        rsc.setLifecycleStatus(ELifecycle.ACTIVE.getValue());
        rsc.addResourceSpecificationCharacteristicItemShort("_MT_CHARACTERISTIC_NAME", "", EValueType.TEXT.getValue(), "The characteristic of the service with id _MT_SERVICEUUID that will be updated with monitoring metrics", false);
        rsc.addResourceSpecificationCharacteristicItemShort("_MT_SERVICEUUID", "", EValueType.TEXT.getValue(), "The id of the service to update", false);
        rsc.addResourceSpecificationCharacteristicItemShort("_MT_END_TIME", "", EValueType.TEXT.getValue(), "The ending time of the monitoring job", false);
        rsc.addResourceSpecificationCharacteristicItemShort("_MT_START_TIME", "", EValueType.TEXT.getValue(), "The starting time of the monitoring job", false);
        rsc.addResourceSpecificationCharacteristicItemShort("_MT_RECURRING_INTERVAL", "G_1MN", EValueType.TEXT.getValue(), "The polling interval of the monitoring source", false);
        rsc.addResourceSpecificationCharacteristicItemShort("_MT_TYPE", "PROMETHEUS", EValueType.TEXT.getValue(), "The monitoring source type", false);
        rsc.addResourceSpecificationCharacteristicItemShort("_MT_QUERY", "", EValueType.TEXT.getValue(), "The query towards the monitoring source (e.g. query=gnb_service_state)", false);