Age | Commit message (Collapse) | Author | Files | Lines |
|
Issue-ID: APPC-374
Change-Id: I7184c91ccb5fa87dd9ba7a22c0de960e7ba28698
Signed-off-by: Scott Seabolt <js9808@att.com>
|
|
Introduce junit-tests for Vnf, Vnfc classses
Replaced tabs with spaces.
Change-Id: I45baf5aa20391b375fae667ff7fdeed8cfd845b8
Issue-ID: APPC-783
Signed-off-by: Shailendra Borale <sb8915@att.com>
|
|
- Switched usage of RequestContext class for wrapping the SvcLogicContext
to using the SvcLogicContext directly
- Removed unused RequestContext class
Change-Id: I7376e3d6f5602887cf5a25f1f90ff45805c620b2
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
|
|
Unit test coverage for Constants.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-iaas-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Futils%2FConstants.java
Change-Id: Ied122a1838111897079243f0e444a9eef1b2f162
Issue-ID: APPC-778
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Introduce junit tests for ActionIdentifier class
Change-Id: If14abe7b165d310d693d0d3ea04b563c0b68edd4
Issue-ID: APPC-777
Signed-off-by: Neha Sood <ns189k@att.com>
|
|
Add new JUnits to ChefAdapterImplVNFCOperationsTest
Change-Id: I243b2f46fdb75ad3c689b7875361fb9a654eaf60
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
|
|
Issue-ID: APPC-735
Change-Id: I4e07b07d476b1353388e51ce3b41d245b99c4bb7
Signed-off-by: Sonali Das <sd394g@att.com>
|
|
* Delegate original logic to separate clasess
* Introduce InputParamsCollector
* Introduce CapabilitiesDataExtractor
* Add coverage for changes
Change-Id: Ibb35dfb67306f789950c3b77362c5d79a3b6da63
Issue-ID: APPC-440
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
|
|
Fixed condition so that region
can be determined correctly
Issue-ID: APPC-776
Change-Id: Iaf57a4face50d99a56cd4b85c0a318d34632a1e8
Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
|
|
Improved code coverage.
Change-Id: Iee626e206b1fc2ef1047fc4d50b030319afe0403
Issue-ID: APPC-753
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
- Added new Junit class ChefAdapterImplVNFCOperationsTest
- Added unit tests for method vnfcEnvironment
- Small refactor to for exception handling in vnfcEnvironment method to
improve readability and avoid catching and rethrowing same exception
Change-Id: I58a43390ff45598f6d17da48eed3620667008cb7
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
|
|
Change-Id: I103709186eff4fc9e42038b2e1113b010b822528
Issue-ID: APPC-761
Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
|
|
Extracted some methods and fields to util class
Change-Id: If2f1f617b53ebfb0cad8e350447aff2177784319
Issue-ID: APPC-745
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Change-Id: I51eaa20c5db47c50e7cc8ffc9f53d7f01bc54c33
Issue-ID: APPC-774
Signed-off-by: Taka Cho <tc012c@att.com>
|
|
Introduce 7 more junit-test files:
DGWorkflowNotFoundExceptionTest.java
LCMOperationsDisabledExceptionTest.java
MultipleRecordsRetrievedExceptionTest.java
NoRecordsRetrievedExceptionTest.java
RequestValidationExceptionTest.java
VNFNotFoundExceptionTest.java
WorkflowNotFoundExceptionTest.java
Issue-ID: APPC-773
Change-Id: I2e962a9614e3b17d77d2685e1055322531d832a1
Signed-off-by: Lori Keighron <lk2924@att.com>
|
|
Improved code coverage.
Change-Id: I8914eae1327c15339034aa0d6905b36d7a252171
Issue-ID: APPC-745
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Improved code coverage.
Change-Id: I04d0afe9799cc9bce5111173031ba8f9baa3e409
Issue-ID: APPC-745
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Change-Id: I96f7d017a63b0741d87666f4608356567932ff77
Issue-ID: APPC-762
Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
|
|
Unit test for YANGGenerationException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-yang-generator%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fyang%2Fexception%2FYANGGenerationException.java
Change-Id: Ic23b9d863da6981090feeaad79cd1afa895b8e24
Issue-ID: APPC-772
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Unit Test Coverage for:
1.RequestHandlerInput.java
2.RequestHandlerOutput.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-request-handler-api
Change-Id: I07e6be04fbe4958cd98cb0313e672e2a0098856e
Issue-ID: APPC-771
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Unit Tests for:
1. Constants.java
2. DataReaderException.java
3. DgResolverException.java
4. FlowKey.java
5. VnfExecutionInternalException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-common%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Fcommon%2Fimpl
Change-Id: Ib3839ce2eb44b6f2e8b530696f4e4354e61df3d4
Issue-ID: APPC-756
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Unit test Coverage for:
1. AppcClientBusinessException.java
2. AppcClientInternalException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc.client%3Aclient-kit%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fclient%2Flcm%2Fexceptions
Change-Id: Ib06721b86b985400f521811ddd5c4f3278ee69c3
Issue-ID: APPC-768
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Introduce junit-tests for 3 request-handler-excetion classses
Issue-ID: APPC-769
Change-Id: I49f45ba50adccbfcc9725a7e458054e19f0c5efd
Signed-off-by: Lori Keighron <lk2924@att.com>
|
|
The public declaration of setDbLibService was removed as part of this
(https://gerrit.onap.org/r/#/c/35763/) commit. This caused a failure in
karaf and the appc-common bundle failed to come up. This commit re-adds
public.
Change-Id: Ia6fa5d950b17e4f440a1243d071c90eedc9be818
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-731
|
|
- Added new Unit tests for ChefAdapterImpl checkPushJob method
to class ChefAdapterImplJobPusherTest
- Added param check in implementation method
- Small refactor of nested conditions for improved readability
Change-Id: Id65b897535874eea6aafda66b7ac227832446cf4
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
|
|
Unit test for MessageDestination.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-message-adapter-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fmessage%2FMessageDestination.java
Change-Id: I17032a622571ce6ed6e6454967edabc2f2ef2d33
Issue-ID: APPC-764
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Unit test coverage for InvalidRequestException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc.client%3Aclient-simulator%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fsimulator%2Fclient%2Fimpl%2FInvalidRequestException.java
Change-Id: I282481303657a4ede2132d04ebe45ab9b18589d7
Issue-ID: APPC-765
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Unit Test Coverage for AppcClientException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc.client%3Aclient-kit%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fclient%2Flcm%2Fexceptions%2FAppcClientException.java
Change-Id: I70eb5b92f6c15b8f67a5e179be58d6f4f2565c47
Issue-ID: APPC-767
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Introduce junit-tests for CoreException class
Issue-ID: APPC-752
Change-Id: Ic5c8c2c83ce99d488e9e79a8fb72e7ad5fcf2ad3
Signed-off-by: Lori Keighron <lk2924@att.com>
|
|
Reverted changes to method name in Transaction.java
to getuId() as this caused incorrect attributes
to be added to the generated JSON. Added unit test
to ensure this works as expected in the future.
Issue-ID: APPC-760
Change-Id: I07adcda0b5f04bd00efc113b94c68f48af13ad78
Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
|
|
Unit Tests for APPC Dispatcher Common - Domain Model Lib classes Part:2
1.ActionLevel.java
2.RequestModes.java
3.RequestStatus.java
4.ExternalActionStatus.java
5.VNFOperation.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Adomain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel%2Flcm
Change-Id: I8f870e43d6f847cd9800a6178e1020ba26f0e211
Issue-ID: APPC-749
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit Tests for:
1. SshDataAccessException.java
2. SshException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-ssh-adapter-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fssh
Change-Id: I7c927a5319143e5df051d008f8f5dbb546699b99
Issue-ID: APPC-759
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Unit test for DependencyTypes.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-dependency-model%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Fobjects%2FDependencyTypes.java
Change-Id: I163105492a11a8f9e9657562812e829f17fc149e
Issue-ID: APPC-758
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Unit test for DependencyModelNotFound.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-dependency-model%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Fdependencymanager%2Fexception%2FDependencyModelNotFound.java
Change-Id: I17f2b9bb34ad161ea0c4b9eb902b0c0437970e37
Issue-ID: APPC-757
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Unit test coverage for Constants.java
Sonar Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-aai%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Faai%2Fimpl%2FConstants.java
Change-Id: Ic44430e25c429f420c667e51c5d5eb7b6feb8fe5
Issue-ID: APPC-755
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Unit test Coverage for:
1.AAIQueryResult.java
2.Relationship.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-aai%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdg%2Faai%2Fobjects
Change-Id: Ia4bb63454b5150e99cc38b12f867450da7ceae54
Issue-ID: APPC-754
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Improved code coverage.
Change-Id: I4f522d57b3e6e8d64d42c5e8b957db5a4a1bf07a
Issue-ID: APPC-745
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Improved code coverage.
Change-Id: I8b083f3281f0057d14cdfa9ae3c47eb3da99614e
Issue-ID: APPC-745
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Improved code coverage.
Change-Id: Iaa8496ce5c7aa5a8fc7ca203baf07ab8b7e55e5d
Issue-ID: APPC-745
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Improved code coverage.
Change-Id: Ic215cbd9ab6999f8e1d51c2f4d79d0d550057f04
Issue-ID: APPC-745
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Improved code coverage.
Change-Id: I3d65411f5f746850a4e83c34f3ef349653e3bc3f
Issue-ID: APPC-745
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Improved code coverage.
Change-Id: I1a5170d16d64e95b759a576b56689164036370c1
Issue-ID: APPC-745
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Unit test for MDSALStoreException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-mdsal-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fmdsal%2Fexception
Change-Id: Ia8f8a1e35fd8426389b7e036574e0bddd3a17974
Issue-ID: APPC-751
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Unit test Coverage for:
1.Vnf.java
2.Vnfc.java
3.Vserver.java
Sonar Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-dg-domain-model-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdomainmodel
Change-Id: I7a77a992a1957020a066bcd5676c9a63cc7cd328
Issue-ID: APPC-720
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
-Added new Unit tests for ChefAdapterImpl pushJob method
-Added new Junit class ChefAdapterImplJobPusher
-Some minor construction refactor in other junits
Change-Id: Id6fbcba2c5f5e11bfad2c7dccf6c06f777756a47
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
|
|
-Added junit tests for checkInfo method to verify if input params are present
-Support for Michal Kabaj as part of APPC-437
Change-Id: I29758f29f32354439ea0471e1afa3df6bb8184b9
Issue-ID: APPC-437
Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
|
|
Change-Id: Ie0c7348583d6e99397374602c0b2cb804cda8d85
Issue-ID: APPC-734
Signed-off-by: Neha Sood <ns189k@att.com>
|
|
Improved code coverage.
Change-Id: Ic3503ae79199767f3162c861f13ff1ecc889e1ec
Issue-ID: APPC-742
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|
|
Introduce junit-tests for EncryptionTool class
Change-Id: Iced5222f99d4af8b8ae5d0a75885c075a7291190
Issue-ID: APPC-726
Signed-off-by: Lori Keighron <lk2924@att.com>
|
|
Improved code coverage.
Change-Id: Ieff8e92f907a9c45e4c810754d6e3d86e2c5bd0c
Issue-ID: APPC-745
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
|