AAIResourcesUriTemplates - Removed Sonar warnings 77/109877/2
authorChris André <chris.andre@yoppworks.com>
Mon, 6 Jul 2020 21:04:45 +0000 (17:04 -0400)
committerChris André <chris.andre@yoppworks.com>
Mon, 6 Jul 2020 22:44:47 +0000 (18:44 -0400)
commit27b2add68b647b1a744c949398bd963d8e35c84d
treedc7753d5ef20f3d08a058d45257fd959d0ce0e84
parentf8b537be77dfb74b5483ff4c5934cf93af156022
AAIResourcesUriTemplates - Removed Sonar warnings

- Added 'MissingTemplateException'
- Added test for presence of a value within an Optional

Issue-ID: AAI-2959
Signed-off-by: Chris Andre <chris.andre@yoppworks.com>
Change-Id: Ifb350815ecf7d4c46aeaac3e136d6a49bdffbafa
src/main/java/org/onap/aai/cacher/exceptions/MissingTemplateException.java [new file with mode: 0644]
src/main/java/org/onap/aai/cacher/injestion/parser/strategy/aai/AAIResourcesUriTemplates.java