Test Policies for the ProtoType PolicyEngineAPI Check if the CPU Utilization or Memory reach the threshold values. CPU 95 Memory 95 Spinoff if the VM if CPU or memory value reaches the threshold CPU 90 Memory 90 Json Test JSON
nsPrefix: onap
pullPolicy: Always
nodePortPrefix: 302
image:
  readiness: oomk8s/readiness-check:1.0.0
  sdcKibana: nexus3.onap.org:10001/openecomp/sdc-kibana:1.1-STAGING-latest
  sdcFrontend: nexus3.onap.org:10001/openecomp/sdc-frontend:1.1-STAGING-latest
  sdcElasticsearch: nexus3.onap.org:10001/openecomp/sdc-elasticsearch:1.1-STAGING-latest
  sdcCassandra: nexus3.onap.org:10001/openecomp/sdc-cassandra:1.1-STAGING-latest
  sdcBackend: nexus3.onap.org:10001/openecomp/sdc-backend:1.1-STAGING-latest
  filebeat: docker.elastic.co/beats/filebeat:5.5.0
ACCESS Config
Configuration http://localhost:5443/config/test_prop.properties
Properties + Config Test Properties PropConfig ACCESS Config Configuration http://localhost:5443/config/test_prop.properties Other Test Other ACCESS Config Configuration http://localhost:5443/config/test_other.txt Other + Config Test Other OtherConfig ACCESS Config Configuration http://localhost:5443/config/test_other.txt JSON + Attributes JSON JSONconfig TestSubject ACCESS TestJSON Config Test Configuration http://localhost:5443/config/test_json.json XML + Attributes XML XMLConfig TestSubject ACCESS TestJSON Config Test Configuration http://localhost:5443/config/test_xml.xml Prop + Attributes Properties PropConfig TestSubject ACCESS TestJSON Config Test Configuration http://localhost:5443/config/test_prop.properties Other + Attributes Other Otherconfig TestSubject ACCESS TestJSON Config Test Configuration http://localhost:5443/config/test_other.txt Permit to RESET VM if the values reach the threshold settings. Restart Restart VM if this condition is met true Restart Permit to SpinOff VM if the values reach the threshold settings. SpinOff SpinOff VM if this condition is met true SpinOff PDPAction REST GET http://localhost:8635/RESTjson/PDP/VM/$com.att.labs.onap.obligation.spinoff/$com.att.labs.onap.obligation.server Deny all the other requests.