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 /main/src/test/resources | |
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 'main/src/test/resources')
-rw-r--r-- | main/src/test/resources/config/application.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/test/resources/config/application.yaml b/main/src/test/resources/config/application.yaml index b6a497ac..2fb9514d 100644 --- a/main/src/test/resources/config/application.yaml +++ b/main/src/test/resources/config/application.yaml @@ -24,6 +24,7 @@ server: pap: name: "PapGroup" + aaf: false pdpParameters: updateParameters: maxRetryCount: 1 |