Commit 1ef30cc9 authored by Christos Tranoris's avatar Christos Tranoris
Browse files

updating

parent 4dbcb3ad
Loading
Loading
Loading
Loading
+1 −1
Changes for src/main/java/org/etsi/osl/example/gc/api/RadioEngineer.java: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ public class RadioEngineer extends ExampleResourceSpec {
    }

    private static ResourceEstimator.Profile profileFor(double hoursPerDay) {
        return new ResourceEstimator.Profile(0, 0, 100.0, 0.0, 45.0, hoursPerDay, 0, 0, 0);
        return new ResourceEstimator.Profile(0, 0, 100.0, 0.0, 50.0, hoursPerDay, 0, 0, 0);
    }

    /**
+1 −1
Changes for src/main/java/org/etsi/osl/example/gc/api/ResourceRepoService.java: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ public class ResourceRepoService {
   * loop observes the RESERVED → AVAILABLE progression and converges. Must stay comfortably below
   * OSOM's planning wait budget.
   */
  @Value("${PLANNING_SIMULATED_DEPLOY_DELAY_MS:2000}")
  @Value("${PLANNING_SIMULATED_DEPLOY_DELAY_MS:200}")
  private long planningSimulatedDeployDelayMs;

  /** Daemon scheduler for the delayed AVAILABLE planning callback (no lifecycle management needed). */
+1 −1
Changes for src/main/resources/application.yml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ CATALOG_UPD_EXTERNAL_SERVICESPEC: "jms:queue:CATALOG.UPD.EXTERNAL_SERVICESPEC"
PLANNING_RESOURCE_CREATEORUPDATE: "jms:queue:PLANNING.RESOURCE.CREATEORUPDATE"
# Simulated deployment duration (ms): time a planning resource stays RESERVED before this controller
# reports it AVAILABLE via a second callback, so OSOM's planning wait loop converges.
PLANNING_SIMULATED_DEPLOY_DELAY_MS: 2000
PLANNING_SIMULATED_DEPLOY_DELAY_MS: 200
# On that callback this controller also reports its simulated lifecycle cost, via headers
# org.etsi.osl.estimate.<creation|operation|teardown>.{durationSeconds|energy|cost} — units are
# seconds, Watt-hours, and dimensionless cost units. The operation phase is sized by the window OSOM