diff options
Diffstat (limited to 'etc_upload')
-rw-r--r-- | etc_upload/config.json | 11 | ||||
-rw-r--r-- | etc_upload/upload_config_for_ph_in_docker.sh | 5 |
2 files changed, 11 insertions, 5 deletions
diff --git a/etc_upload/config.json b/etc_upload/config.json index e143773..aae8e84 100644 --- a/etc_upload/config.json +++ b/etc_upload/config.json @@ -3,9 +3,13 @@ "system" : "policy_handler", "thread_pool_size" : 4, "pool_connections" : 20, - "scope_prefixes" : ["DCAE_alex.Config_", "DCAE.Config_"], + "scope_prefixes" : ["DCAE.Config_", "CLAMP"], "policy_retry_count" : 5, "policy_retry_sleep" : 5, + "catch_up" : { + "interval" : 1200, + "max_skips" : 5 + }, "policy_engine" : { "url" : "https://peawiv9nspd01.pedc.sbc.com:8081", "path_pdp" :"/pdp/", @@ -19,6 +23,9 @@ }, "target_entity" : "policy_engine" }, - "deploy_handler" : "deployment_handler" + "deploy_handler" : { + "target_entity" : "deployment_handler", + "url" : "http://deployment_handler:8188" + } } } diff --git a/etc_upload/upload_config_for_ph_in_docker.sh b/etc_upload/upload_config_for_ph_in_docker.sh index 1eb0364..0854d21 100644 --- a/etc_upload/upload_config_for_ph_in_docker.sh +++ b/etc_upload/upload_config_for_ph_in_docker.sh @@ -1,8 +1,7 @@ #!/bin/bash -# org.onap.dcae # ================================================================================ -# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -38,4 +37,4 @@ fi echo "uploading etc_upload/config.json for ${APPNAME} to CONSUL_HOST=${CONSUL_HOST}" -curl -X PUT -H 'Content-Type: application/json' --data-binary "$(cat etc_upload/config.json)" http://${CONSUL_HOST}:8500/v1/kv/${APPNAME}
\ No newline at end of file +curl -X PUT -H 'Content-Type: application/json' --data-binary "$(cat etc_upload/config.json)" http://${CONSUL_HOST}:8500/v1/kv/${APPNAME} |