diff options
author | a.sreekumar <ajith.sreekumar@bell.ca> | 2022-02-14 11:11:11 +0000 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@bell.ca> | 2022-03-01 11:05:24 +0000 |
commit | 411a7aa191a48170336dfa0fc5c44a17f99fd186 (patch) | |
tree | d2ffd185a75768b1ef5f2b2cda0e58015a76053c /packages/policy-pap-tarball | |
parent | 98aed0d3f60be26df2cc0dc86d368a615df59978 (diff) |
Fix swagger and improve exception handling
1) Swagger was getting generated in a different format
due to a serialization isue. It is fixed.
2) Improved exception handling by taking care of any exceptions
that could occur in and around database operations.
3) AAF enabling/disabling was done using spring profiles.
This is changed to using parameters, as it is more easier to configure
in an OOM helm chart deployment
Change-Id: If1bee01379ba5c4efac29822662896d8aa883fc8
Issue-ID: POLICY-3975
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'packages/policy-pap-tarball')
-rw-r--r-- | packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml b/packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml index 0c37b468..06dd45f4 100644 --- a/packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml +++ b/packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml @@ -28,6 +28,7 @@ server: pap: name: PapGroup + aaf: false pdpParameters: heartBeatMs: 120000 updateParameters: |