Commit 9077c218 authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

fix for #29:

- In the creation of MCJ, changed dataAccessEndpoint.setType(monitoringType) to dataAccessEndpoint.setApiType(monitoringType) to match what the mapper expects at METRICO
parent 9a9bf059
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ public class MetricoOrchestrationService implements JavaDelegate {
			serviceCharacteristic = aService.getServiceCharacteristicByName("_MT_TYPE");
			String monitoringType = String.valueOf(serviceCharacteristic.getValue());
			DataAccessEndpointFVO dataAccessEndpoint = new DataAccessEndpointFVO();
			dataAccessEndpoint.setType(monitoringType);
			dataAccessEndpoint.setApiType(monitoringType);

			serviceCharacteristic = aService.getServiceCharacteristicByName("_MT_QUERY");
			String monitoringQuery = String.valueOf(serviceCharacteristic.getValue());