diff options
author | Chan, Mercy <merce.chan@att.com> | 2019-07-01 08:07:17 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2019-07-01 08:10:00 -0400 |
commit | 0d562688867a1b2e7a34ee6416cd54f7a9f6b89e (patch) | |
tree | 502d37dc8a666f8adbdf0b3ffc8c65d1c5f079ec /logger/logback-spring.xml | |
parent | cabd51660c3c8ec52e329027179f5c6cabb03aca (diff) |
support new query param format
- added format query parameter (optional), implemented logic to
populate requestStatus field based on whether or not format is present
moved request status constants to its own class visible globally.
- changed @requestParam to @QueryParam in GET endpoint
(OrchestrationRequests class. updated unit tests to call method being
tested directly rather than from another private function
- moved setting requestStatus to a separate method, also updated unit
tests to separate out each scenarion into its own method
- added unit test for when format=detail, corrected existing unit tests
to test result to be FAILED
- updated Status.java to include extra request status values; moved
Status class to common org.onap.so.constants package
Change-Id: Ic593de5fdfdcbc3121f481c86d1e261406082260
Issue-ID: SO-2080
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'logger/logback-spring.xml')
0 files changed, 0 insertions, 0 deletions