summaryrefslogtreecommitdiffstats
path: root/packages/policy-pap-tarball/src/main/resources/etc
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-03-24 08:13:58 -0400
committerJim Hahn <jrh3@att.com>2019-03-25 20:56:13 -0400
commit602572eb8abaf0ea6528ee45bd1006df16798ea9 (patch)
tree9ff9d3642b7e024bab139a978cf50ff298b9c0d4 /packages/policy-pap-tarball/src/main/resources/etc
parent7b5fd6ca1ca335369aeed22ad29f691a16c333e9 (diff)
Changes to PAP infrastructure to support PDP
Modified PapActivator to implement the Startable interface and used that to manage it instead of the original method names. Replaced pdp-common enums with models-pdp enums. Added the use of the Registry. Added parameters to be used for PDP interaction. Added DAO interface classes. Modified HTTP client, in junit tests, to use GSON instead of Jackson. Removed DAO code, as the interfaces are not merged into policy/common yet. Added pdpParameters to default json config file. Changed tabs to spaces in json files. Removed "internal" classes that were moved to models-pdp. Change-Id: I969a7747e926680ad403557b44a0a52d289fb6d9 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'packages/policy-pap-tarball/src/main/resources/etc')
-rw-r--r--packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json b/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
index 3085f45d..2a16c3e6 100644
--- a/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
+++ b/packages/policy-pap-tarball/src/main/resources/etc/defaultConfig.json
@@ -7,5 +7,15 @@
"password": "zb!XztG34",
"https": true,
"aaf": false
+ },
+ "pdpParameters": {
+ "updateParameters": {
+ "maxRetryCount": 1,
+ "maxWaitMs": 1
+ },
+ "stateChangeParameters": {
+ "maxRetryCount": 1,
+ "maxWaitMs": 1
+ }
}
}