summaryrefslogtreecommitdiffstats
path: root/appc-config
AgeCommit message (Collapse)AuthorFilesLines
2018-06-11Update license header in misc appc filesJohn McClung15-30/+15
More license header updates to miscellaneous appc files to reflect 2018 changes. Change-Id: I1d1d020792942ffe2d3bbda6eae05c43831ffce1 Issue-ID: APPC-994 Signed-off-by: John McClung <jm1364@att.com>
2018-06-07Fix delimiter string for xml-download CDT actionAlexis de Talhouët1-2/+2
The ssh session is waiting until the </nc:rpc-reply> delimiter is received, but the last item to be sent in the pipe by the device is the trailing ]]>]]> as specified in the command (whether commitCmd or loadConfigurationString). Change-Id: I3a7c5df3f06eb648a0551d7767f90acef533c5ee Issue-ID: APPC-973 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-06-07junits for DefaultResponseHandlerTomasz Gwozdecki1-0/+60
-Added new test class DefaultResponseHandler Change-Id: I75188603117b9b524ce86c4f13bca5803d6ae715 Issue-ID: APPC-975 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2018-06-06More license header updates to appc-config filesJohn McClung29-53/+24
Modify license header in various appc-config java files to reflect 2018 changes. Change-Id: I488f281f8305f993d18d98e8f34ee1ffe85c5d87 Issue-ID: APPC-972 Signed-off-by: John McClung <jm1364@att.com>
2018-06-05Update license header in appc-config filesJohn McClung31-62/+31
Modify license header in appc-config-audit and appc-config-generator java files to reflect 2018 changes. Change-Id: I85f7e62a9f2d9fe2b00461baf32eb735325a8a9b Issue-ID: APPC-971 Signed-off-by: John McClung <jm1364@att.com>
2018-06-04Update license header in appc-flow-controller fileJohn McClung39-77/+38
Modify license header in appc-flow-controller files to reflect 2018 changes. Change-Id: Ia921dedf359cca00b3209b29f75d649ffec38a3e Issue-ID: APPC-963 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01Continue removing ECOMP trademark from lic header.John McClung7-14/+8
Remove ECOMP trademark license header in miscellaneous files. Change-Id: I76e386462402cb959de377b56997ecf7986ffd6b Issue-ID: APPC-931 Signed-off-by: John McClung <jm1364@att.com>
2018-05-25Corrected config params validationsBalaji, Ramya (rb111y)1-4/+15
Issue-ID: APPC-932 Change-Id: Ie4166c7e5079c67d112d6e17b5dcd1f0ceaefacc Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-05-23Healthcheck bug fixesBalaji, Ramya (rb111y)2-10/+27
Fixed code to set userid and password correctly. Also set the url in context when passed in reference artifact. Issue-ID: APPC-917 Change-Id: Iba5a873cc311ab5677b6223c08865c048dbdcf00 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-05-22Increment version for new branchPatrick Brady29-36/+36
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
2018-05-21Bug fix in HealthcheckBalaji, Ramya (rb111y)1-5/+2
Code was changed to make subcontext mandatory. This is not a mandatory field/property and code changes are needed to reflect this. Issue-ID: APPC-915 Change-Id: I5b94572907a1f56980e1dbc8f238f29458360588 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-05-16Added xmlns to rpc tagBalaji, Ramya (rb111y)1-1/+1
Added the name space specification for the commit sent to the device, to ensure a successful configuration. Issue-ID: APPC-902 Change-Id: Ifd10c182cd2d29a6745d337552ed3294e5b31913 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-05-14Fix class not found errorPatrick Brady2-2/+2
Class not found error related to snakeyaml dependency. Change-Id: I9d5a2c6b86c355050ecea0d4010113aec0cf285b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-893
2018-04-11ODL Upgrade Method 2Patrick Brady24-162/+120
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
2018-04-09Add junit coverage to TimedOutException classMei Su1-0/+36
Introduce junit-tests for TimedOutException class Issue-ID: APPC-834 Change-Id: If4ba78735064106391d9354b0a7036bd8dd060e6 Signed-off-by: Mei Su <ms6523@att.com>
2018-04-06Add junit coverage to XmlUtil classSam Ollo1-17/+28
Add junit-tests for XmlUtil class Change-Id: I8711f7c0acd8888cbcd869732a7000fdbb168b0e Issue-ID: APPC-832 Signed-off-by: Sam Ollo <so1938@att.com>
2018-04-04Restoring to previous known working versionBalaji, Ramya (rb111y)6-2350/+1753
Discovered muliple issues in the refactored code in these files that has caused failure in existing flow and blocks regression and new feature testing.Reverted class files and UT case files. Issue-ID: APPC-827 Change-Id: I2bdd7f54ab919d0e16c79820ebe0ee4e13dbba03 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-04-03Added tests for appc.flow.Responsekurczews1-0/+83
Issue-ID: APPC-442 Change-Id: Ie42cf7a2ec83ceeed94f567874cf4a634e6bb8c9 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-04-03modifying improper conditions to update propertiesModaboina, Kusumakumari (km583p)1-9/+8
Change-Id: I51b2c7755ffe5841fe3f87439ccb35b1e37765fa Issue-ID: APPC-821 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
2018-04-03Added tests for appc.flow.Transactionkurczews1-0/+213
Change-Id: Ia28c21c0d93229ddd71c2c48f756cd325136e59d Issue-ID: APPC-442 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-04-03Added tests for appc.flow.ResponseActionkurczews1-0/+88
Change-Id: I9f4d39c609ff2069edb1634a13b10e96f08bfd7b Issue-ID: APPC-442 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-04-03Added tests for appc.flow.Transactionskurczews1-0/+66
Change-Id: I00a683484f8a6e8a97e661a421382dafeb0e8237 Issue-ID: APPC-442 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-30Changes to get properties from southbound propfileGeorge, Lina (lg941u)7-365/+383
Issue-ID: APPC-816 Change-Id: If08eb895526ba3998faf059be9b9c595b0f82b4d Signed-off-by: George, Lina (lg941u) <lg941u@att.com>
2018-03-28Add junit coverage for three classesNeha Sood3-0/+250
Issue-ID: APPC-806 Change-Id: I5dc4da5fcd2325c6915b86a7f1c26d3a0f69cf9b Signed-off-by: Neha Sood <ns189k@att.com>
2018-03-23Add Junit coverage for ActionIdentifier classNeha Sood1-0/+91
Introduce junit tests for ActionIdentifier class Change-Id: If14abe7b165d310d693d0d3ea04b563c0b68edd4 Issue-ID: APPC-777 Signed-off-by: Neha Sood <ns189k@att.com>
2018-03-22Split sequence generation to classesskurczews21-436/+1039
* 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>
2018-03-19Code changes to fix ExceptionBalaji, Ramya (rb111y)4-6/+94
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>
2018-03-15Add junit coverage to EncryptionTool classLori Keighron1-0/+75
Introduce junit-tests for EncryptionTool class Change-Id: Iced5222f99d4af8b8ae5d0a75885c075a7291190 Issue-ID: APPC-726 Signed-off-by: Lori Keighron <lk2924@att.com>
2018-03-13Improve coverage FlowControlNode #8kurczews2-23/+58
* refactor & test dependency info method * extract get flow sequence method Change-Id: I6c9ab49676b6c325196ec179e863038550b5dad6 Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-12EncryptionTool unit testsJakub Dudycz1-15/+38
Improved code coverage + some test class refactor. Change-Id: I7e3637c07b580acea383d1ccfd6a0608f69109fe Issue-ID: APPC-722 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-12Improve coverage FlowControlNode #7kurczews2-47/+97
* refactor & test capabilities data method Change-Id: I523d07e283a347a4ad16f3babc8a25e0dd5a6acc Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-09Improve coverage FlowControlNode #6kurczews4-74/+257
* Extract InventoryInfoExtractor as util class * Add test coverage Change-Id: I24f16feddacb6a9898e9c81aa036ba3eafed2967 Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-07JUnits for sftp methodsTomek Kaminski2-161/+407
implement unit tests to cover functionality of sftp put and get methods in SshJcraftWrapper.java Change-Id: I238eb1e0816210176da1a1a7874151a624cdbf10 Issue-ID: APPC-676 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-03-06Improve coverage FlowControlNode #5kurczews3-498/+498
* cleanup formatting shorten constants * Change-Id: Iddc632ae9c3893622c1ba0ce937c2971b792fe37 Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-03-02ConfigScaleOut flow changesBalaji, Ramya (rb111y)5-99/+319
Code changes and unit test cases to include template id when retrieving vnfc reference data and artifacts from tables. Cleaned up Unit Tests. Issue-ID: APPC-619,APPC-620 Change-Id: I8db08be19b9fa094a07e5c5597c45327824cfb01 Signed-off-by: Balaji, Ramya (rb111y) <rb111y@att.com>
2018-03-02Unit tests for send methodsTomek Kaminski2-38/+267
Covered functionality of 4 send methods with JUnits Change-Id: I21de5eab799e52899959cf61199a4d185a47268c Issue-ID: APPC-591 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-03-01Improve coverage flow/controller/node #4kurczews2-37/+103
Issue-ID: APPC-440 Change-Id: Iee74ce27c3978d265fccc79dacaf8df965768a36 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-27security issue: commons-collectionsTaka Cho2-2/+13
Change-Id: I74a56640065ae6c6a470835ab1022ed0f266fc09 Issue-ID: APPC-665 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-26appc-config-generator-provider sonar fixes part 2Jakub Dudycz17-153/+134
Sonar fixes in whole module Change-Id: I55856a6ce73a73098dadb2c5b9428437349ed8a8 Issue-ID: APPC-671 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-26appc-config-generator-provider sonar fixes part 1Jakub Dudycz9-66/+69
Initial code reformat and import rearrangement Change-Id: I0a808bc3043d8558d96f15e0b695fddf5333bab1 Issue-ID: APPC-671 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-26CompareNode sonar fixesJakub Dudycz1-68/+41
Change-Id: Ia467508aa17737caa056b5ed0b6dd28ee4c01a35 Issue-ID: APPC-670 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-26PropertyDefinitionNode sonar fixesJakub Dudycz2-149/+171
Change-Id: Ibc198788f20a8555628d75c785ebcc60908b39db Issue-ID: APPC-664 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-26Fix Sonar BugTomek Kaminski1-18/+18
Fix for: https://sonar.onap.org/project/issues?id=org.onap.appc%3Aappc&issues=AWGYEYwt8TZzbCgU6gOm&open=AWGYEYwt8TZzbCgU6gOm Change-Id: I632c21efb8e69c04fc346841900d98d4908b360e Issue-ID: APPC-668 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-02-26Improve coverage flow/controller/node #3kurczews10-124/+338
Issue-ID: APPC-440 Change-Id: I3ffea4577747f5de3e4eb74a91d4485442474441 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-23DbServiceUtil sonar fixesJakub Dudycz2-65/+58
Change-Id: Iaeca67ccb70134ba2bac0fe04e045592d8d9efcc Issue-ID: APPC-661 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22EELF logging with error codesTomek Kaminski2-46/+49
Introduced error codes in error logging for compilancy with ONAP logging guidelines Change-Id: If0418a1ea8d91ea84be251df10ca81402fb78b41 Issue-ID: APPC-428 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-02-22ConfigComponentAdaptor sonar fixes part 2Jakub Dudycz4-204/+258
Change-Id: I1eab3df281f394337fe33c0df07ff26da4302cbd Issue-ID: APPC-648 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-22ConfigComponentAdaptor sonar fixes part 1Jakub Dudycz1-158/+188
Change-Id: I8fdd18225315a936df393fd7e900e9ef2e499122 Issue-ID: APPC-648 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-21Improve coverage flow/controller/node #2kurczews7-40/+128
* Extract TransactionHandler util class * Minor cleanup Issue-ID: APPC-440 Change-Id: I73d2ced81713daf36523e6b9d7de3bf19c98c9a1 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-21Update license text part 3Skip Wonnell8-7/+154
Issue-ID: APPC-637 Change-Id: I361c457acd27099294365f8ee3aeb167cd7fcafd Signed-off-by: Skip Wonnell <skip@att.com>