summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-21migrate powermock to mockito appc providerTakamune Cho2-14/+87
Change-Id: I15bd86d2d96ecf4070f1b6eafaf8b9ba9612b9cf Issue-ID: APPC-647 Signed-off-by: Taka Cho <tc012c@att.com>
2018-02-21Update license text part 3Skip Wonnell30-106/+712
Issue-ID: APPC-637 Change-Id: I361c457acd27099294365f8ee3aeb167cd7fcafd Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-20Update .gitignore with license textSkip Wonnell203-303/+3551
Update .gitignore with license text Remove IDE generated files from repository Update .gitignore to ignore IDE Generated files Issue-ID: APPC-637 Change-Id: Ie650e2c6d46d55d06dcc54877533cb3e14be66d6 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-20Update .properties and .xml files with licenseSkip Wonnell15-16/+349
Change-Id: I551f9e9033de2f13028f28ad434003d61102d54f Issue-ID: APPC-637 Signed-off-by: Skip Wonnell <skip@att.com>
2018-02-19DGXMLLoadNActivate sonar fixesJakub Dudycz1-73/+90
Change-Id: Id94274756541b1b64892f68ece4fa9cead46d945 Issue-ID: APPC-643 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-19DGXMLLoad sonar fixesJakub Dudycz2-31/+64
Change-Id: I1e9965c8e5bd74f17fec1e47448af245b9b339c8 Issue-ID: APPC-642 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-19Unit Test for ansibleActivatorTaka4-194/+291
Change-Id: I56279239cdae934116e4d3ac8d257f593e641064 Issue-ID: APPC-600 Signed-off-by: Taka <tc012c@att.com>
2018-02-19ChefApiClient JUnitsMichal Kabaj11-221/+747
Add(fix) JUnits for ChefApiClient + refactor. Junits work on mocked HttpClient instead of attempting to make real calls. All ChefApiClient methods are now tested. Improve readability and refactored the ChefApiClient flow (simplified). Heavily improved SRP in both ChefApiClient and Api request creation. Change-Id: I997490bf269e7d78b741baf7f8d5d7bf64f6b99a Issue-ID: APPC-437 Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
2018-02-18refactor LookupServer for nesting tryTaka1-37/+43
Change-Id: Id27025cd6d4f5a4f8ba9653b656d263585edb24e Issue-ID: APPC-599 Signed-off-by: Taka <tc012c@att.com>
2018-02-18Sonar fixes in "appc-dmaap-adapter-bundle"wejs2-137/+141
Also CheckStyle fixes. No major refactoring. Change-Id: Icf5e7221ecee2611f77bb3212c24d1fad9a27b96 Issue-ID: APPC-646 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-18refactor EvacuateServer for nesting tryTaka1-109/+132
Change-Id: I4b114e6f2f41c755cf7e346a120e50441a1209dd Signed-off-by: Taka <tc012c@att.com> Issue-ID: APPC-598
2018-02-18refactor CreateSnapshot for nesting tryTaka1-39/+44
Change-Id: Ia66842fe6b680fd5f6eb74e8ddebf09f89c6c1d0 Signed-off-by: Taka <tc012c@att.com> Issue-ID: APPC-597
2018-02-18Added @FunctionalInterface annotation where neededJakub Dudycz6-2/+6
Change-Id: Ica7171f6314f10ff51979c2bdd07e293ded695e4 Issue-ID: APPC-644 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-16Improve coverage in flow/controller/nodekurczews11-327/+489
* Extract separate class for property loading * Extract separate class for extracting uri * Add coverage for changes above Change-Id: Ibffa09c96aef2764188cba69bf8cb559c8a9c10e Issue-ID: APPC-440 Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2018-02-16DGXMLGenerator sonar fixesJakub Dudycz1-39/+43
Change-Id: Id365b40f298bb9dc15e1f80b57112c2f991595c9 Issue-ID: APPC-641 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-16Unit test coverageshubhada5-0/+369
Unit test coverage for 1.CommonHeader.java 2.Flags.java 3.RequestContext.java 4.ResponseContext.java 5.RuntimeContext.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: I275495faa8c34f4b2174e93a56071298450c354b Issue-ID: APPC-640 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-16ExecuteNodeActionImpl sonar fixesJakub Dudycz1-133/+174
Change-Id: I269cc5a76251b94134734cbe9ef13a6a7f885b23 Issue-ID: APPC-628 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-16Junit Test for dmaap adapterTaka1-6/+3
Change-Id: I2dbe1375a23fcbd5e2974f9d112a162d4fbea328 Issue-ID: APPC-626 Signed-off-by: Taka <tc012c@att.com>
2018-02-15SdcConfig sonar fixesJakub Dudycz2-30/+39
Change-Id: Ia947837f00401b1c9da900dc2db3b6931fb682fb Issue-ID: APPC-639 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-15AbstractResolverDateReader sonar fixesJakub Dudycz2-21/+52
Change-Id: I78c4cf8318e1051cd3ea5850b502677ea8708794 Issue-ID: APPC-638 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-15JSONTool sonar fixesJakub Dudycz1-37/+39
Change-Id: I457ac55fa17475a19a2e511a6e7813070ffd6d2e Issue-ID: APPC-634 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-15StringHelper sonar fixesJakub Dudycz1-107/+112
Change-Id: I52e083bc7729529059f365dc76278044ed4a909d Issue-ID: APPC-629 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-15ArtifactHandlerNode sonar fixesJakub Dudycz2-246/+307
Change-Id: I4cc803bc6c5d88b569405ea0af918a6c340fce9d Issue-ID: APPC-581 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14FlowControlDBService sonar fixesJakub Dudycz1-120/+159
Change-Id: I522d6e9e4f581687ce36bf7873c4fb4643f33244 Issue-ID: APPC-592 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14Artifact Handler code changesRamya Balaji2-78/+149
Refactored code for storing reference data and added unit test cases Issue-ID: APPC-543 Change-Id: I60ed5e327324403409ec0d9725c5880038a3e186 Signed-off-by: Ramya Balaji <rb111y@att.com>
2018-02-14UnitTest for Rest Healthcheck activatorTaka3-204/+318
Change-Id: I214f14cc0dbc735d87bcbf5b59cf286d41dc826b Issue-ID: APPC-624 Signed-off-by: Taka <tc012c@att.com>
2018-02-14MergeNode sonar fixesJakub Dudycz2-46/+46
Change-Id: I436feb6a4b42c9a1a5a5c887204e745bd09928f1 Issue-ID: APPC-632 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14Unit test for iaas provider activatorTaka2-2/+114
Change-Id: I7e7ec6d977625406b9d4dee19d974492e1a5f4cc Issue-ID: APPC-615 Signed-off-by: Taka <tc012c@att.com>
2018-02-14CheckStyle corrections onlywejs5-187/+258
Files from module: appc-config-flow-controller-provider Change-Id: I8eb7b99642b8b7f58ceda384593b750344c79392 Issue-ID: APPC-618 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-14ConvertNode sonar fixesJakub Dudycz3-76/+93
Change-Id: I1b8f19f57e90c1be5cec2bdd37d7db4216221710 Issue-ID: APPC-631 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14Sonar fixes - appc-config-flow-controller-providerwejs5-147/+135
Fixes inlude changes in: DefaultResponseHandler EncryptionTool EscapeUtils FlowControllerConstants FlowControllerActivator Change-Id: Ic22db7a53697f1869da248a0351593edf9bdf187 Issue-ID: APPC-618 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-14Upgrade CDP-PAL to the latest versionRY303T1-1/+1
Change-Id: I42d09c1878dcdcc2ed28d11a8e28613ecf9eba06 Issue-ID: APPC-573 Signed-off-by: RY303T <RY303T@att.com>
2018-02-14TopologyService sonar fixesJakub Dudycz1-190/+181
Change-Id: I6839fada1f1acb31927eec4050dbefad5d84aca5 Issue-ID: APPC-630 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14JUnits for receiveUntil methodTomek Kaminski2-31/+275
Test for fonctionallity of receiveUntil method in SshJcraftWrapper.java Issue-ID: APPC-560 Change-Id: Ifb23b5cbc8b74ddea77ab9cfd5eb26f84c521a92 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-02-14Unit test coverageshubhada3-0/+265
Unit test coverage for 1.Status.java, 2.TransactionRecord.java 3.VNFContext.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: I38421c753d215ddab49431a2124c6a74056b3bf1 Issue-ID: APPC-617 Signed-off-by: shubhada <SV00449682@techmahindra.com>
2018-02-14EscapeUtils sonar fixesJakub Dudycz2-40/+29
Change-Id: I77e46ec0e71cd37071c725877621fa28c092bfa9 Issue-ID: APPC-633 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14GraphExecutor sonar fixesJakub Dudycz1-51/+27
Change-Id: I9beb33b853ae0be159c1cc0bf81ec893893ec95f Issue-ID: APPC-616 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14RequestValidator sonar fixesJakub Dudycz2-80/+142
Change-Id: Ib3aa404727f8df4d0427324752f67ab80eb0d580 Issue-ID: APPC-613 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-14refactor AnsibleMessageParser for nesting tryTaka1-57/+58
Change-Id: Idd86134a034d5f49baff34fd0d056820f45e1121 Issue-ID: APPC-596 Signed-off-by: Taka <tc012c@att.com>
2018-02-12WrapperEncryptionTool sonar fixesJakub Dudycz2-87/+75
Change-Id: I975902bd2bea4cac6b0ae5ac38ad226bb99c6b58 Issue-ID: APPC-614 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-12ProviderServerOperation sonar fixesJakub Dudycz1-131/+84
Change-Id: I95cb0512c83f8d3dd94aac8f635538518ee88024 Issue-ID: APPC-604 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-12ProviderOperation sonar fixesJakub Dudycz3-95/+98
Change-Id: Ic51bf15bcf469fc105c7cd4fe9e5e538200d49b1 Issue-ID: APPC-603 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-12Unit test coverage for ActionIdentifiers.javaamshegokar1-0/+81
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%2FActionIdentifiers.java Change-Id: I5ae2e24811e32b7c8c19780e9eb64f083aadd6ce Issue-ID: APPC-606 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-02-12Update java files with correct license textamshegokar2-0/+38
Adding license text for 1./src/test/java/org/onap/appc/mdsal/operation/TestConfigOperationRequestFormatter.java 2.src/test/java/org/onap/appc/yang/type/TestYangTypes.java Change-Id: I902631c3ea8ea3d7cbffe5c9ac5c0027bf926de2 Issue-ID: APPC-602 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-02-09JUnits for SshJcraftWrapper.java connectTomek Kaminski5-105/+445
-added coverage for connect methods -extracted channel provider method for connection -fixed and covered closeConnection method -reduced number of unnecessary variables Change-Id: Ibe2b4d0742a0876c2ef18483d93e7510b0b5c7f0 Issue-ID: APPC-523 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
2018-02-09Sonar fixes in RestServiceNodewejs7-245/+287
Fixes inlude changes in other files where needed Test coverage provided Change-Id: Id079bb9c5e5596efb11809b3185bdde8edb11fd2 Issue-ID: APPC-525 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-09ServiceExecutor sonar fixesJakub Dudycz2-25/+27
Change-Id: Id169ae3943c74893d885b8be098af96e44292ce5 Issue-ID: APPC-585 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09ValidatorService sonar fixesJakub Dudycz2-63/+58
Change-Id: I9b67413922f50051348cb8a6ca3bade6e40bed99 Issue-ID: APPC-572 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-09Sonar fixes in FlowControlNodewejs1-124/+71
Fixes of critical and some other sonar issues. Change-Id: I1782500297546ec6b9a049e051681f406aff3197 Issue-ID: APPC-525 Signed-off-by: wejs <maciej.wejs@nokia.com>
2018-02-09JsonRequestHandler sonar fixesJakub Dudycz2-99/+114
Change-Id: I247860dd6a91c8f8812670496289b8ae0ababf8b Issue-ID: APPC-593 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>