diff options
author | rb7147 <rb7147@att.com> | 2017-10-03 13:37:05 -0400 |
---|---|---|
committer | rb7147 <rb7147@att.com> | 2017-10-03 16:16:04 -0400 |
commit | 85e8694289f5279b288af4ef19b43c4cab4e10f3 (patch) | |
tree | 6c074d637525c3e89ead32130f278b09d6841867 /config/pe | |
parent | 0fe9e2f2c10edd24efecb867ab5ba2aa794ea3cf (diff) |
Resolved the docker script issue
Executed the import function from onap swagger and replaced the curl
command.
Issue-Id: POLICY-275
Change-Id: I96e66c0787063de6e6f9739ffdadf12785f30dae
Signed-off-by: rb7147 <rb7147@att.com>
Diffstat (limited to 'config/pe')
-rw-r--r-- | config/pe/push-policies.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/pe/push-policies.sh b/config/pe/push-policies.sh index 75a52ff0..d6272d0d 100644 --- a/config/pe/push-policies.sh +++ b/config/pe/push-policies.sh @@ -6,7 +6,7 @@ echo "Upload BRMS Param Template" wget -O cl-amsterdam-template.drl https://git.onap.org/policy/drools-applications/plain/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl -curl -v --silent -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' -F "file=@cl-amsterdam-template.drl" 'http://pdp:8081/pdp/api/policyEngineImport?importParametersJson=%7B%22serviceName%22%3A%ClosedLoopControlName%22%2C%20%22serviceType%22%20%3A%20%22BRMSPARAM%22%20%7D' +curl -v --silent -X POST --header 'Content-Type: multipart/form-data' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' -F "file=@cl-amsterdam-template.drl" -F "importParametersJson={\"serviceName\":\"ClosedLoopControlName\",\"serviceType\":\"BRMSPARAM\"}" 'http://pdp:8081/pdp/api/policyEngineImport' #########################################Create BRMS Param policies########################################## |