Fix unit testing instability 75/75675/7
authorEzekielaRakotoarijaona <ezekiela.rakotoarijaona@orange.com>
Fri, 11 Jan 2019 13:53:30 +0000 (14:53 +0100)
committerEzekielaRakotoarijaona <ezekiela.rakotoarijaona@orange.com>
Fri, 18 Jan 2019 16:28:05 +0000 (17:28 +0100)
commit05733ab5105f440e44eb56dc37e6d14615c36454
tree3989eb8552ab271c9d5ba0a37b99960c49b36259
parent09d6ce6112d61a7fc98c3038afce636b3e494f29
Fix unit testing instability

Migration of most of the unit tests from JUnit to Karate Framework
Remove of the scheduling tasks for testing.

Change-Id: Ic51378443bd6c12f247fa50b2b08ee881264dac4
Issue-ID: EXTAPI-178
Signed-off-by: EzekielaRakotoarijaona <ezekiela.rakotoarijaona@orange.com>
36 files changed:
.gitignore
pom.xml
src/main/java/org/onap/nbi/Application.java
src/main/java/org/onap/nbi/apis/serviceorder/ServiceOrderResource.java
src/main/java/org/onap/nbi/apis/serviceorder/workflow/ExecutionTaskProcessorScheduler.java [new file with mode: 0644]
src/main/java/org/onap/nbi/apis/serviceorder/workflow/SOTaskManager.java
src/main/java/org/onap/nbi/apis/serviceorder/workflow/ServiceOrderCheckScheduler.java [new file with mode: 0644]
src/main/java/org/onap/nbi/configuration/RestConfiguration.java
src/main/resources/application-test.properties [new file with mode: 0644]
src/main/resources/application.properties
src/test/java/joe.jpage [new file with mode: 0644]
src/test/java/karate-config.js [new file with mode: 0644]
src/test/java/org/onap/nbi/apis/ApiTest.java [deleted file]
src/test/java/org/onap/nbi/apis/StatusResourceTest.java [deleted file]
src/test/java/org/onap/nbi/apis/assertions/HubAssertions.java [deleted file]
src/test/java/org/onap/nbi/apis/assertions/ServiceCatalogAssertions.java [deleted file]
src/test/java/org/onap/nbi/apis/assertions/ServiceInventoryAssertions.java [deleted file]
src/test/java/org/onap/nbi/apis/assertions/ServiceOrderExecutionTaskAssertions.java [moved from src/test/java/org/onap/nbi/apis/assertions/ServiceOrderAssertions.java with 99% similarity]
src/test/java/org/onap/nbi/apis/servicecatalog/ToscaInfosProcessorTest.java [deleted file]
src/test/java/org/onap/nbi/test/ApiTestWithoutOnap.java [moved from src/test/java/org/onap/nbi/apis/ApiTestWithoutOnap.java with 89% similarity]
src/test/java/org/onap/nbi/test/Context.java [new file with mode: 0644]
src/test/java/org/onap/nbi/test/ExecutionTaskTest.java [new file with mode: 0644]
src/test/java/org/onap/nbi/test/KarateApiTest.java [new file with mode: 0644]
src/test/java/org/onap/nbi/test/ServiceOrderRepositoryTest.java [moved from src/test/java/org/onap/nbi/apis/ServiceOrderRepositoryTest.java with 87% similarity]
src/test/resources/application.properties [deleted file]
src/test/resources/karatetest/data/serviceOrder.json [new file with mode: 0644]
src/test/resources/karatetest/data/subscriber.json [new file with mode: 0644]
src/test/resources/karatetest/features/00--ServiceCatalog.feature [new file with mode: 0644]
src/test/resources/karatetest/features/01--ServiceInventory.feature [new file with mode: 0644]
src/test/resources/karatetest/features/02--ServiceOrder.feature [new file with mode: 0644]
src/test/resources/karatetest/features/03--Subscriber.feature [new file with mode: 0644]
src/test/resources/karatetest/features/04--StatusRessourceTest.feature [new file with mode: 0644]
src/test/resources/toscafile/service-Sdwanvpninfraservice-csar.csar
src/test/resources/toscafile/service-Sotnvpninfraservice-csar.csar
src/test/resources/toscafile/service-TestNetwork-template.yml [changed mode: 0755->0644]
src/test/resources/toscafile/service-VfwService2vfBased-template.yml