diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2019-04-24 12:49:48 +0000 |
---|---|---|
committer | Vijay Venkatesh Kumar <vv770d@att.com> | 2019-04-29 16:20:19 +0000 |
commit | 290fe209dbda8a8b46b0a8021f90ebc106879bb9 (patch) | |
tree | e716f5ecebce4552f0ece91e7f2d64f62bcb1b46 /tca-cdap-container | |
parent | 1d5a5dcee0565e1a8dcc27161fdfc790819e944d (diff) |
Change tca policy fieldpath
Change-Id: Ia39e524b7415ffb30125270308c3c44613ebc2f5
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1454
Diffstat (limited to 'tca-cdap-container')
-rw-r--r-- | tca-cdap-container/pom.xml | 4 | ||||
-rwxr-xr-x | tca-cdap-container/restart.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tca-cdap-container/pom.xml b/tca-cdap-container/pom.xml index 212feab..ffecb71 100644 --- a/tca-cdap-container/pom.xml +++ b/tca-cdap-container/pom.xml @@ -1,7 +1,7 @@ <?xml version="1.0"?> <!-- ================================================================================ -Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. +Copyright (c) 2018-2019 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. @@ -27,7 +27,7 @@ limitations under the License. <groupId>org.onap.dcaegen2.deployments</groupId> <artifactId>tca-cdap-container</artifactId> <name>dcaegen2-deployments-tca-cdap-container</name> - <version>1.1.0</version> + <version>1.1.1</version> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> diff --git a/tca-cdap-container/restart.sh b/tca-cdap-container/restart.sh index 6d0c60f..c61c300 100755 --- a/tca-cdap-container/restart.sh +++ b/tca-cdap-container/restart.sh @@ -1,6 +1,6 @@ #!/bin/bash # ================================================================================ -# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2018-2019 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. @@ -201,7 +201,7 @@ function tca_poll_policy { else CONFIG=$(echo "$HTTP_BODY" | jq .config.app_config) PREF=$(echo "$HTTP_BODY" | jq .config.app_preferences) - POLICY=$(echo "$HTTP_BODY" | jq .policies.items[0].config.content.tca_policy) + POLICY=$(echo "$HTTP_BODY" | jq .policies.items[0].config.tca_policy) if [[ "$CONFIG" == "null" || "$PREF" == "null" ]]; then |