URI execStartURI = URI.create("planets://workflow/service/execution/start");
URI execEndURI = URI.create("planets://workflow/service/execution/end");
Property pStart = new Property.Builder(execStartURI).value(start+"").description("Planets Service Wrapper Execution start-time measured in milli-seconds").name("service execution start time").build();
Property pEnd = new Property.Builder(execEndURI).value(end+"").description("Planets Service Wrapper Execution end-time measured in milli-seconds").name("service execution end time").build();
MeasurementImpl mStart = new MeasurementImpl();
//mStart.setMeasurementType( MeasurementType.SERVICE);
mStart.setProperty(pStart);
mStart.setTarget(target);
execStageRec.addMeasurement(mStart);
MeasurementImpl mEnd = new MeasurementImpl();
//mEnd.setMeasurementType( MeasurementType.SERVICE);
mEnd.setProperty(pEnd);
mEnd.setTarget(target);
execStageRec.addMeasurement(mEnd);
}