Kaynağa Gözat

initialize "constraints" key in stl dataflow jobs

dmendoza 7 yıl önce
ebeveyn
işleme
79a40cd972

+ 1 - 0
crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp-dev2.yml

@@ -53,6 +53,7 @@ spring:
           apiEndpoint: http://chronos.marathon.l4lb.thisdcos.directory:10119/v1
           memory: 2048
           cpu: 0.5
+          constraints:
     task:
       initialize:
         enable: false

+ 1 - 0
crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp-pemc-dev.yml

@@ -52,6 +52,7 @@ spring:
         chronos:
           memory: 2048
           cpu: 0.5
+          constraints:
     task:
       initialize:
         enable: false

+ 1 - 0
crss-settlement-task-calculation-addtlcomp/crss-settlement-task-calculation-addtlcomp.yml

@@ -71,6 +71,7 @@ spring:
           apiEndpoint: http://master.mesos/service/chronos/v1
           memory: 6144
           cpu: 1.5
+          constraints:
         dcos:
           authorizationToken: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJkY29zX2hpc3Rvcnlfc2VydmljZSIsImV4cCI6NDY1NTE3ODM0OX0.erK7saZPxkEOP6k1S8CNvITHQ1SyEUj1cW5qx4GTQU-MPOwxMsFAcFYO0zAthXPYQSzaRxykTelkLMJTsSQVro9bGJcHua7SedIqCmq1TvAUBSJugyxsDxu07mmS-Yh7MwpmG3LAOItwCYzWhihMqdLKRA19iimAs8xS6V5uKo5U5Fq1lOAQ0ye4f4L9CgF8WWyIqILdpynLRIx_eViY5RWtqYznV8otg0jkJGsjHQQmPZa732NY0crJtDcN713wVqT4SZoG993-Zv4mH_RU0a7NbwtvFE1mCfmja1aMp_gtogdS3xdQvRcS1BzaoJs4_dGUvRoQdUeseuTbHkF6VQ
 

+ 2 - 0
crss-settlement-task-calculation/crss-settlement-task-calculation-dev2.yml

@@ -63,6 +63,8 @@ spring:
           apiEndpoint: http://chronos.marathon.l4lb.thisdcos.directory:10119/v1
           memory: 2048
           cpu: 0.5
+          # apply monthly constraints here
+          constraints:
 
     task:
       initialize:

+ 20 - 0
crss-settlement-task-calculation/crss-settlement-task-calculation-pemc-dev.yml

@@ -60,6 +60,8 @@ spring:
         chronos:
           memory: 3072
           cpu: 1
+          # apply monthly constraints here
+          constraints:
 
     task:
       initialize:
@@ -109,3 +111,21 @@ logging:
     com.netflix: DEBUG
     org.springframework.cloud: DEBUG
     org.hibernate.stat: debug
+
+---
+spring:
+  profiles: genDEBRsvInputWorkspace
+  cloud.deployer.mesos.chronos.constraints:
+---
+
+---
+spring:
+  profiles: dailyStlAmtsCalculation
+  cloud.deployer.mesos.chronos.constraints:
+---
+
+---
+spring:
+  profiles: dailyLrCalculation
+  cloud.deployer.mesos.chronos.constraints:
+---

+ 20 - 0
crss-settlement-task-calculation/crss-settlement-task-calculation.yml

@@ -83,6 +83,8 @@ spring:
           apiEndpoint: http://master.mesos/service/chronos/v1
           memory: 8192
           cpu: 2
+          # apply monthly constraints here
+          constraints:
         dcos:
           authorizationToken: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJkY29zX2hpc3Rvcnlfc2VydmljZSIsImV4cCI6NDY1NTE3ODM0OX0.erK7saZPxkEOP6k1S8CNvITHQ1SyEUj1cW5qx4GTQU-MPOwxMsFAcFYO0zAthXPYQSzaRxykTelkLMJTsSQVro9bGJcHua7SedIqCmq1TvAUBSJugyxsDxu07mmS-Yh7MwpmG3LAOItwCYzWhihMqdLKRA19iimAs8xS6V5uKo5U5Fq1lOAQ0ye4f4L9CgF8WWyIqILdpynLRIx_eViY5RWtqYznV8otg0jkJGsjHQQmPZa732NY0crJtDcN713wVqT4SZoG993-Zv4mH_RU0a7NbwtvFE1mCfmja1aMp_gtogdS3xdQvRcS1BzaoJs4_dGUvRoQdUeseuTbHkF6VQ
 
@@ -125,3 +127,21 @@ logging:
     com.netflix: DEBUG
     org.springframework.cloud: DEBUG
     org.hibernate.stat: debug
+
+---
+spring:
+  profiles: genDEBRsvInputWorkspace
+  cloud.deployer.mesos.chronos.constraints:
+---
+
+---
+spring:
+  profiles: dailyStlAmtsCalculation
+  cloud.deployer.mesos.chronos.constraints:
+---
+
+---
+spring:
+  profiles: dailyLrCalculation
+  cloud.deployer.mesos.chronos.constraints:
+---

+ 1 - 0
crss-settlement-task-file-gen-addtlcomp/crss-settlement-task-file-gen-addtlcomp-dev2.yml

@@ -47,3 +47,4 @@ spring:
           apiEndpoint: http://chronos.marathon.l4lb.thisdcos.directory:10119/v1
           memory: 2048
           cpu: 0.5
+          constraints:

+ 1 - 0
crss-settlement-task-file-gen-addtlcomp/crss-settlement-task-file-gen-addtlcomp-pemc-dev.yml

@@ -33,3 +33,4 @@ spring:
         chronos:
           memory: 2048
           cpu: 0.5
+          constraints:

+ 1 - 0
crss-settlement-task-file-gen-addtlcomp/crss-settlement-task-file-gen-addtlcomp.yml

@@ -60,6 +60,7 @@ spring:
           apiEndpoint: http://master.mesos/service/chronos/v1
           memory: 12288
           cpu: 3
+          constraints:
         dcos:
           authorizationToken: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJkY29zX2hpc3Rvcnlfc2VydmljZSIsImV4cCI6NDY1NTE3ODM0OX0.erK7saZPxkEOP6k1S8CNvITHQ1SyEUj1cW5qx4GTQU-MPOwxMsFAcFYO0zAthXPYQSzaRxykTelkLMJTsSQVro9bGJcHua7SedIqCmq1TvAUBSJugyxsDxu07mmS-Yh7MwpmG3LAOItwCYzWhihMqdLKRA19iimAs8xS6V5uKo5U5Fq1lOAQ0ye4f4L9CgF8WWyIqILdpynLRIx_eViY5RWtqYznV8otg0jkJGsjHQQmPZa732NY0crJtDcN713wVqT4SZoG993-Zv4mH_RU0a7NbwtvFE1mCfmja1aMp_gtogdS3xdQvRcS1BzaoJs4_dGUvRoQdUeseuTbHkF6VQ
 

+ 1 - 0
crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation-dev2.yml

@@ -36,6 +36,7 @@ spring:
           apiEndpoint: http://chronos.marathon.l4lb.thisdcos.directory:10119/v1
           memory: 2048
           cpu: 0.5
+          constraints:
 
 batch:
   partitionSize:

+ 1 - 0
crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation-pemc-dev.yml

@@ -33,6 +33,7 @@ spring:
         chronos:
           memory: 3072
           cpu: 0.5
+          constraints:
 batch:
   partitionSize:
     amsSp: 1500

+ 1 - 0
crss-settlement-task-invoice-generation/crss-settlement-task-invoice-generation.yml

@@ -62,6 +62,7 @@ spring:
           apiEndpoint: http://master.mesos/service/chronos/v1
           memory: 20480
           cpu: 5
+          constraints:
         dcos:
           authorizationToken: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJkY29zX2hpc3Rvcnlfc2VydmljZSIsImV4cCI6NDY1NTE3ODM0OX0.erK7saZPxkEOP6k1S8CNvITHQ1SyEUj1cW5qx4GTQU-MPOwxMsFAcFYO0zAthXPYQSzaRxykTelkLMJTsSQVro9bGJcHua7SedIqCmq1TvAUBSJugyxsDxu07mmS-Yh7MwpmG3LAOItwCYzWhihMqdLKRA19iimAs8xS6V5uKo5U5Fq1lOAQ0ye4f4L9CgF8WWyIqILdpynLRIx_eViY5RWtqYznV8otg0jkJGsjHQQmPZa732NY0crJtDcN713wVqT4SZoG993-Zv4mH_RU0a7NbwtvFE1mCfmja1aMp_gtogdS3xdQvRcS1BzaoJs4_dGUvRoQdUeseuTbHkF6VQ