Age | Commit message (Collapse) | Author | Files | Lines |
|
Test Coverage for Constants.java
Sonar Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-license-manager-api%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Flicmgr%2FConstants.java
Change-Id: I8da7e415fa724993e974b1d8af6061241cb67ce1
Issue-ID: APPC-796
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Did changes in DG's for getRunningConfig not able to save in Db
Issue-ID: APPC-800
Change-Id: I67722f6eafe045b63edf1922430b425c4f6ee755
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
|
|
Test Coverage for MessageService.java
Sonar Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-message-adapter-factory%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Ffactory%2FMessageService.java
Change-Id: I3a7314dd1e4a35baa4430b5e90afa979014f95c4
Issue-ID: APPC-795
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
VM-level Start succeeds in starting the VM, but there are EELF Logging Errors
Issue-ID: APPC-799
Change-Id: I67d76466a2ca6ff79cf1e6514b592a3877c59b92
Signed-off-by: Dilip kumar Pampana <dp583p@att.com>
|
|
Unit Test Coverage for ExecutorException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-interfaces-service-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Finterfaces%2Fservice%2Fexecutor%2FExecutorException.java
Change-Id: Id40401081af528248c20acc48b0bdbc60f480663
Issue-ID: APPC-790
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit test coverage for DBException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-artifact-handler-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fartifact%2Fhandler%2Fdbservices%2FDBException.java
Change-Id: Iae0c5a90358f61560c8e164fa506a0e3e75857f5
Issue-ID: APPC-791
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit test for ArtifactHandlerInternalException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-artifact-handler-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fartifact%2Fhandler%2Fnode%2FArtifactHandlerInternalException.java
Change-Id: I887613bc793256be84e288ca432d11c45d320cfc
Issue-ID: APPC-792
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit test coverage for ResourceNodeInternalException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-aai-client-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Faai%2Fclient%2Fnode%2FResourceNodeInternalException.java
Change-Id: Ic037a2490ac00d1d5e7334b483039352e9da4aa2
Issue-ID: APPC-788
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit test coverage for ServiceConstants.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-interfaces-service-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Finterfaces%2Fservice%2Futils%2FServiceConstants.java
Change-Id: I1ad3aea2018e82436fed97d97d72904477b74b28
Issue-ID: APPC-789
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit tests for:
1. AaiServiceInternalException.java
2. MissingParameterException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-aai-client-provider%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Faai%2Fclient%2Faai
Change-Id: Ib107309b8b9f3e17f0467801f300a0a0aa0af8ac
Issue-ID: APPC-787
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
-Add new JUnits to ChefAdapterImplVNFCOperationsTest
-remove unused JSONException catch clause from ChefAdapterImpl,
when there is no jackson lib used
Change-Id: I96b8d6155ca13087b697a19e1fcbba2ee82a8291
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
|
|
Unit test coverage for:
1. Vnfc.java
2. SDCReference.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-sdc-listener-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fsdc%2Fartifacts%2Fobject
Change-Id: I34c15904bc0df7c537ad448b748add847ab863bd
Issue-ID: APPC-786
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit Tests for:
1) DataAccessException.java
2)DBConnectionPoolException.java
3) JdbcRuntimeException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc-netconf-adapter-bundle&selected=org.onap.appc%3Aappc-data-access-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdao%2Futil%2Fexception
Change-Id: Ie5c44417ca33c73de5577052a01ca5f019adeb1b
Issue-ID: APPC-781
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit test for Messages.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc-netconf-adapter-bundle&selected=org.onap.appc%3Aappc-data-access-lib%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fdao%2Futil%2Fmessage
Change-Id: I2204f296d3d2200eb4aa4f809e0c0dd841b0b93e
Issue-ID: APPC-782
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit Test Coverage for:
1) NetconfConnectionDetails.java
2) NetconfClientType.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-netconf-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fnetconf
Change-Id: I161d7bfe5e780c7c686ae014d87208e3da36b3cd
Issue-ID: APPC-780
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit test for:org/onap/appc/adapter/netconf/exception classes
1. DataAccessException.java
2. NetconfDAOException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-netconf-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fnetconf%2Fexception
Change-Id: I9b02c0ddc01b4327135ccc754a6466105b1e18ff
Issue-ID: APPC-779
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Introduce junit coverage in design-services class
Issue-ID: APPC-794
Change-Id: Idbf8d02511b478173950a97c10a642486bc0d45f
Signed-off-by: Lori Keighron <lk2924@att.com>
|
|
Unit test for ProviderResponse.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-sdc-listener-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fsdc%2Flistener%2FProviderResponse.java
Change-Id: I85984489a404e3980d962007a677f2a0c016a50d
Issue-ID: APPC-785
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Change-Id: Id42f77fc86cbbfff28bfde404181938d358515b9
Issue-ID: APPC-784
Signed-off-by: Taka Cho <tc012c@att.com>
|
|
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>
|