Age | Commit message (Collapse) | Author | Files | Lines |
|
License header fixes to reflect 2018 changes in various appc-adapters, appc-client, appc-common, appc-config, appc-dg and appc-directed-graph java and properties files.
Change-Id: Idbe000f175e11ba42f6e83689a2b2d3d353be008
Issue-ID: APPC-996
Signed-off-by: John McClung <jm1364@att.com>
|
|
onap/appc/adapter/iaas/provider/operation/impl/base classes
New test cases added to increase coverage to 96%
Change-Id: Ied377274d4407a3d0f0ccdfca9cbf2e11e46e1c8
Issue-ID: APPC-438
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
|
|
Modify license header in appc-rest-adapter, appc-rest-healthcheck-adapter and appc-ssh-adapter files to reflect 2018 changes.
Change-Id: Ie4cfe6984982eff27ce8aa44c8b1df4f3434bc5f
Issue-ID: APPC-968
Signed-off-by: John McClung <jm1364@att.com>
|
|
-Add new JUnits to ChefApiClientImplTest to check if body is properly
set for put/post http requests.
Change-Id: Ie9ea2de7a1c68fa12815586a4f85646b06ce69a9
Issue-ID: APPC-879
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
|
|
-Added new test class NetconfClientFactoryTest
Change-Id: Ifb8fd7ab07ad1aa9bd2ea9c6d56e708748da3217
Issue-ID: APPC-913
Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
|
|
Remove ECOMP trademark license header in miscellaneous files.
Change-Id: I76e386462402cb959de377b56997ecf7986ffd6b
Issue-ID: APPC-931
Signed-off-by: John McClung <jm1364@att.com>
|
|
Remove ECOMP trademark license header in iaas adapter files.
Change-Id: I697b33cefd85aab4496640d9dc1e2d685eb80e53
Issue-ID: APPC-930
Signed-off-by: John McClung <jm1364@att.com>
|
|
Modify license header in appc-netconf-adapter files to reflect 2018 updates.
Change-Id: I9fb8827dd010ae0d21e04dd8cfacba4112d8115b
Issue-ID: APPC-960
Signed-off-by: John McClung <jm1364@att.com>
|
|
Add License Header to files without licenses.
Change-Id: Iab51b7cb82ff4415deb9b06ef38f297b7cf28b3d
Issue-ID: APPC-925
Signed-off-by: John McClung <jm1364@att.com>
|
|
Remove ECOMP trademark license header in iaas adapter provider files.
Change-Id: I04de8480f1d04bf17c36eae876cb00d91379f3e3
Issue-ID: APPC-928
Signed-off-by: John McClung <jm1364@att.com>
|
|
Remove ECOMP trademark license header in dmaap adapter files.
Change-Id: I3f933b757d0cdcd4743ccfd350e1f88204959b86
Issue-ID: APPC-927
Signed-off-by: John McClung <jm1364@att.com>
|
|
Add missing License Header
Change-Id: I844c474d68b4d4147d55b2660a075fa5592f31df
Issue-ID: APPC-923
Signed-off-by: John McClung <jm1364@att.com>
|
|
Change from version 1.3.0-SNAPSHOT to
1.4.0-SNAPSHOT and update version file.
Change-Id: I6b54c3e3b97c3ef0a554fb173d0dd261ca2107d3
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-916
|
|
Programatically configure values for truststore and password when
initializing the HttpClient.
Update post and put methods to set entity
Add organization into request URI
Restore log messages to original values
Issue-ID: APPC-868
Change-Id: Ia0fdf13fcb1e3ad91a4d2c5ce704523562191379
Signed-off-by: Wonnell, Skip (kw5258) <kw5258@att.com>
|
|
Change-Id: Ie2eaf7f3d02bdd0b8adae964d3abf905781f996f
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-859
|
|
-Added junit tests for fetchResults method
-Support for Michal Kabaj as part of APPC-437
Change-Id: I3219a5ec0ffd530338ce364f608a9706d5a92c03
Issue-ID: APPC-858
Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
|
|
Introduce junit-tests for Constants class
Change-Id: Ic33aa704f0ca19d81f32a013cd0a98d52433172c
Issue-ID: APPC-844
Signed-off-by: Zihmin Hoover <zh4590@att.com>
|
|
Change-Id: Ie6a414af459943f84293d15a7c22813832b4ae53
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-403
|
|
Changes necessary to support upgrade to ODL Nitrogen,
while continuing to use Karaf 3 style features
Change-Id: I2edf619e0b889420c32793b958c0926b0311e71d
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-403
|
|
Change-Id: I5385cf2710fc33a85da9a67d5f4d31dce1e460aa
Signed-off-by: Ryan Young <ry303t@att.com>
Issue-ID: APPC-658
|
|
Unit test for EventMessage.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%2Fevent%2FEventMessage.java
Change-Id: If6a84cb1de99e719c6b286559bf899da349b4a57
Issue-ID: APPC-823
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
-Add new JUnits to ChefAdapterImplVNFCOperationsTest
Change-Id: Idd4cd456d6409a499e569c7175d97642fc3607d2
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
|
|
Change-Id: I239784f5acc6647e1ed4f2962de4504901b62108
Issue-ID: APPC-828
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
|
|
Alter a junit test for a RequestContext class to succeed more reliably
Change-Id: I93f3ffdb846aca1daaa690e4c6b4a822c514a88b
Issue-ID: APPC-826
Signed-off-by: Irwin Dunietz <id1681@att.com>
|
|
Add junit-tests RequestFailedExceptionTest class
Issue-ID: APPC-825
Change-Id: I54b46f6e3025f89bbd52017248c408641095fe46
Signed-off-by: Mei Su <ms6523@att.com>
|
|
Introduce junit-tests for 2 similar RequestContext classes
Change-Id: If8a80e983c24214eccd16f8ad7432e98de61d528
Issue-ID: APPC-824
Signed-off-by: Irwin Dunietz <id1681@att.com>
|
|
Unit test for RequestFailedException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-rest-healthcheck-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2FrestHealthcheck%2Fimpl%2FRequestFailedException.java
Change-Id: I7626b968a757d2dd6c99500fbae7a6150a7a613e
Issue-ID: APPC-818
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
|
|
Unit test for RequestFailedException.java
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-rest-healthcheck-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2FrestHealthcheck%2Fimpl%2FRequestFailedException.java
Change-Id: Ife89776181fe803d4d02feb7909bc450b6b0e9ed
Issue-ID: APPC-810
Signed-off-by: shubhada <SV00449682@techmahindra.com>
|
|
Adding org.w3c.* to import package to resolve exception caused by
org.w3c.dom.Node not found
Change-Id: If130d4310e67759c9257c7ced6f14a258376233d
Issue-ID: APPC-431
Signed-off-by: Ryan Young <ry303t@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>
|
|
-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) 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>
|
|
- 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>
|
|
Add new JUnits to ChefAdapterImplVNFCOperationsTest
Change-Id: I243b2f46fdb75ad3c689b7875361fb9a654eaf60
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@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>
|
|
- 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>
|
|
Change-Id: I96f7d017a63b0741d87666f4608356567932ff77
Issue-ID: APPC-762
Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
|
|
- 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 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>
|
|
-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>
|
|
Unit test for SshConnectionDetails.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%2FSshConnectionDetails.java
Change-Id: I0be7e83bac3be615a664f3c1089dae299c8d3858
Issue-ID: APPC-715
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
Signed-off-by: Patrick Brady <pb071s@att.com>
|
|
Coverage for org.onap.appc.adapter.ssh classes
Sonar-Link:
https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-ssh-adapter-tests%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fssh
Change-Id: Icd1dde27c8588f217b6cca83f1cde3a8b24a41c3
Issue-ID: APPC-725
Signed-off-by: amshegokar<AS00500801@techmahindra.com>
|
|
-Added new Unit tests for ChefAdapterImpl#trigger method
-Refactored ChefAdapterFactory to allow mock injection
-Added new create() method to ChefApiClientFactory which does not set
any Chef specific headers for the purpose of trigger method
-Cleaned up the trigger method - simplified usage, removed useless doFailure
method and inlined its logic and unified HttClient usage -> HttpClient is not
used directly but through existing ChefApiClient
-removed redundant TestChefAdapterImpl tests which have already been rewritten
Change-Id: I830d203877224aa2c5e1b0dff39d1171f1f2f0ef
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
|
|
Introduce new FunctionalInterface HttpHeaderFactory to allow customization of
http header providers when creating ChefApiClientImpl using ChefApiClientFactory
This allows for better encapsulation of header specific values such as:
userId,organizations,pemPath.
Change-Id: Iec2c7cff8e664a18e15d7e973920152fdb158c98
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
|