Add unit tests to reach 50% coverage 79/38579/2
authorMichael Hwang <mhwang@research.att.com>
Thu, 22 Mar 2018 15:02:57 +0000 (11:02 -0400)
committerMichael Hwang <mhwang@research.att.com>
Mon, 26 Mar 2018 14:56:24 +0000 (10:56 -0400)
commite65fc2fc02594a7c8640a6330b2373db1efb923e
tree4433e083f96dcb1ad26c6f73d437195d6d8f7a75
parent7f61b70d33879712c5dad64c04a5d54b2b065138
Add unit tests to reach 50% coverage

Ripped out the dcae controller code which is no longer
needed.

Change-Id: I43906edb80bcd5e25445ec2a7175c6748b0ab2ae
Signed-off-by: Michael Hwang <mhwang@research.att.com>
Issue-ID: DCAEGEN2-257
33 files changed:
docs/API.md
pom.xml
src/gen/java/io/swagger/api/DcaeServicesApi.java
src/gen/java/io/swagger/model/DCAEServiceComponent.java
src/gen/java/io/swagger/model/DCAEServiceComponentRequest.java
src/main/java/io/swagger/api/factories/DcaeServicesApiServiceFactory.java
src/main/java/io/swagger/api/impl/DcaeServicesApiServiceImpl.java
src/main/java/org/onap/dcae/inventory/InventoryApplication.java
src/main/java/org/onap/dcae/inventory/InventoryConfiguration.java
src/main/java/org/onap/dcae/inventory/clients/DCAEControllerClient.java [deleted file]
src/main/java/org/onap/dcae/inventory/exceptions/mappers/DCAEControllerConnectionExceptionMapper.java [deleted file]
src/main/java/org/onap/dcae/inventory/exceptions/mappers/DCAEControllerExceptionMapper.java [deleted file]
src/main/resources/config.json
src/main/resources/config.yml
src/test/java/io/swagger/api/BootstrapTest.java [moved from src/main/java/org/onap/dcae/inventory/exceptions/mappers/DCAEControllerTimeoutExceptionMapper.java with 65% similarity]
src/test/java/io/swagger/api/Util.java [moved from src/test/java/Util.java with 96% similarity]
src/test/java/io/swagger/api/factories/DcaeServiceTypesApiServiceFactoryTest.java [moved from src/main/java/org/onap/dcae/inventory/exceptions/DCAEControllerConnectionException.java with 69% similarity]
src/test/java/io/swagger/api/factories/DcaeServicesApiServiceFactoryTest.java [moved from src/main/java/org/onap/dcae/inventory/exceptions/DCAEControllerTimeoutException.java with 70% similarity]
src/test/java/io/swagger/api/factories/DcaeServicesGroupbyApiServiceFactoryTest.java [new file with mode: 0644]
src/test/java/io/swagger/api/impl/DcaeServiceTypesApiServiceImplTests.java [moved from src/test/java/DcaeServiceTypesApiServiceImplTests.java with 98% similarity]
src/test/java/io/swagger/api/impl/DcaeServicesApiServiceImplH2Tests.java [new file with mode: 0644]
src/test/java/io/swagger/api/impl/DcaeServicesApiServiceImplTests.java [moved from src/test/java/DcaeServicesApiServiceImplTests.java with 92% similarity]
src/test/java/io/swagger/api/impl/DcaeServicesGroupbyApiServiceImplTests.java [moved from src/test/java/DcaeServicesGroupbyApiServiceImplTests.java with 94% similarity]
src/test/java/org/onap/dcae/inventory/InventoryConfigurationTest.java [new file with mode: 0644]
src/test/java/org/onap/dcae/inventory/LinkSerializerTest.java [new file with mode: 0644]
src/test/java/org/onap/dcae/inventory/clients/DatabusControllerClientTest.java [new file with mode: 0644]
src/test/java/org/onap/dcae/inventory/daos/DCAEServicesDAOTest.java [new file with mode: 0644]
src/test/java/org/onap/dcae/inventory/exceptions/DatabusControllerClientExceptionTest.java [moved from src/main/java/org/onap/dcae/inventory/exceptions/DCAEControllerClientException.java with 74% similarity]
src/test/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapperTests.java [moved from src/test/java/org/onap/dcae/inventory/exception/mappers/DBIExceptionMapperTests.java with 99% similarity]
src/test/resources/config-databus.yaml [new file with mode: 0644]
src/test/resources/config-inventory.yaml [new file with mode: 0644]
swagger_inventory.yaml
version.properties