aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2019-08-26Fixed sonar issues in ConfigurationRepositoryPiotr Borelowski2-10/+20
Fixing sonar issues in onap-configuration-management-core project Issue-ID: SDC-2390 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I2814b189eb53f53ab94295ff6bba76d118616800
2019-07-28Update SDC version 1.5.1Ofir Sonsino8-8/+8
Change-Id: Id2182099210982248584c1fcf4569a1360d82f1d Issue-ID: SDC-2478 Signed-off-by: Ofir Sonsino <os0695@intl.att.com>
2019-07-24Refactor ConfigurationRepositoryTest to remove the powermock.k.kedron2-18/+8
Refactor the ConfigurationRepositoryTest to doesn't affect to other tests. Removed powermock. Issue-ID: SDC-2473 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Iad67cdce365fef89da8b56499d86139d6927da07
2019-07-17Fix checkstyle violations in sdc-main/commonmichal.banka29-126/+112
Change-Id: I3e132cf4bffd77f9910bf6eff2026c3267873b11 Issue-ID: SDC-2454 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-07-16Add Lombok support to Repositorynoahs1-27/+6
add @Data annotation Change-Id: I0a56a2f1978035a00eb4edafd5ecc7db6a7301a4 Issue-ID: SDC-2401 Signed-off-by: noahs <noah.shogan@amdocs.com>
2019-07-11Added oparent to sdc mainTomasz Golabek23-10/+290
Removed errors regarding to a missing license and others. Started locally and executed basic api tests Change-Id: Iea37613defc97f7b40613d60c10990841cb2a209 Issue-ID: SDC-2419 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-07-08Move import handling to service templateojasdubey9-3/+304
Moving the handling of all import formats parsing to ServiceTemplate class to make it generic and reusable Change-Id: I80595c3654a625275549a3bb3afe8ba7c9455aff Issue-ID: SDC-2421 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2019-07-07Improved the ConfigurationRepositoryTest.k.kedron3-35/+44
Checkstyle for CliConfigurationImpTest. Improved the ConfigurationRepositoryTest to not has an influence on other tests. Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I74b95617ad1b17c26a8d6237c7e7469ef2213596
2019-07-03Added unit tests for ConfigurationRepositoryPiotr Borelowski1-0/+81
Improved the unit test coverage in onap-configuration-management-core project Issue-ID: SDC-2327 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: Ib448d3f318a89d65d4b6ae912e3ca38a31b86146
2019-06-23Add Lombok support to RelationshipTypenoahs1-75/+15
add @Data annotation Change-Id: I185a32166a6efe9d221c260a0f25d958dec2690e Issue-ID: SDC-2380 Signed-off-by: noahs <noah.shogan@amdocs.com>
2019-06-17Add lombok support to simple classesOren Kleks1-39/+4
Change-Id: I98ced4b0f30c3b676e02de08ccab0c06bc7b8965 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-17BeanUtils upgrade to 1.9.xOren Kleks1-0/+10
Transitive dependency to beanutils 1.8.3 removed. Refactor of existing usage of beanutils proposed. Change-Id: Ice5a996dc6f782d787309bd9c604335710627b2c Issue-ID: SDC-2269 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-16BeanUtils upgrade to 1.9.xTomasz Golabek5-12/+103
Transitive dependency to beanutils 1.8.3 removed. Refactor of existing usage of beanutils proposed. Change-Id: I6614a5794979225376338c778b25f71911ae9c50 Issue-ID: SDC-2269 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-06-11Improve unit test in the NonConfigResourceTest and various sonar fixes.k.kedron3-14/+31
Improve the NonConfigResourceTest. Remove the throws the Exception in CliConfigurationImp constructor. ConfigurationImpl class: - Replace the string to chart in indexOf method. - Extract the assigment out from expression Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: If72a75e6a2d81a9ea74e3ae1af94b16a8489a29a
2019-06-06Add lombok support to simple classesshrek20001-26/+6
Change-Id: I1d39f6bc0513189ce0f3581ddc51e9f557d2dadc Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-06Add lombok support to simple classesOren Kleks1-56/+4
Change-Id: Ie4c25fd87b3e302f7dd19f4d0156524398e1af55 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-06Add lombok support to simple classesshrek20001-39/+4
Change-Id: I76b00170ba5304bf82df3903cc381d46d7f0f513 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-05Add lombok support to simple classesshrek20001-123/+6
Change-Id: Id4db17168cce9a6a02138c2c6bd74971159994dc Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-05Add lombok support to simple classesshrek20001-38/+2
Change-Id: Ic48b301b2e45815bfb9e71d26626ad89cb61d753 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-05Add lombok support to simple classesshrek20001-31/+5
Change-Id: I7060b515880159261fd228bdcfe5e75f84e2d99b Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-05Add lombok support to simple classesshrek20001-15/+4
Change-Id: Ic3956c9c6f4fddf412a2216de3d79a2cb2d779b0 Issue-ID: SDC-2354 Signed-off-by: shrek2000 <orenkle@amdocs.com>
2019-06-02Add new unit test for ConfigurationImpl.k.kedron4-16/+185
Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I96269b0bcdf3c1254052d057b8c4ad2d7a48c89d
2019-05-30Improve unit test for ConfigurationUtils and sonar fixesk.kedron2-16/+97
Add more test for ConfigurationUtils. Fix error in getCompatibleCollectionForAbstractDef method bad return value for TransferQueue.class. Sonar fixes: - use not deprecated method IOUtils.toString. - remove code duplication. - return empty collection instead of null. Issue-ID: SDC-2327 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I5abb10bca0a1c409ec20daf6c22066836a0b76a3
2019-05-30Add Lombok support to RelationshipTemplatenoahs1-72/+2
add @Data annotation Change-Id: I030c5dc506b3fabcb6f447016dc1e74aeb2df30f Issue-ID: SDC-2343 Signed-off-by: noahs <noah.shogan@amdocs.com>
2019-05-28Add Lombok support to PreconditionDefinitionnoahs1-23/+2
add @Data annotation Change-Id: Ia1482cfb0b1775d4d729df7d0bfc182f59dd15b5 Issue-ID: SDC-2331 Signed-off-by: noahs <noah.shogan@amdocs.com>
2019-05-27Add unit tests for DataModelNormalizeUtilm.kowalski31-0/+90
Issue-ID: SDC-2327 Signed-off-by: Marcin Kowalski <m.kowalski3@partner.samsung.com> Change-Id: I31dbd12b2d897da83327c17af2f2d83bd4459f1d
2019-05-07Update SDC version 1.5.0Sonsino, Ofir (os0695)8-8/+8
Change-Id: I22d2273103230bd9ee7c3655b5f33e4308bb9f92 Issue-ID: SDC-1913 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
2019-04-26Fix for incorrect count of coverageTomasz Golabek1-8/+7
Increased version of junit-jupiter.version and junit-vintage.version Removed junit-platform-surefire-provider (not needed since surefire2.22) Enabled jacoco for some tests from onboarding package Change-Id: I05093b263de1ce93af88a3f99587a4050568caa3 Issue-ID: SDC-2250 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-20Fix for jupiter tests execution.Tomasz Golabek1-22/+8
Currently mvn-surefire-plugin doesnt execute junit5 tests. Purpose of this merge request is to resolve the problem. Change-Id: Idb63483c87b1137b21beabed9d24bbff6f01cf53 Issue-ID: SDC-2094 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-10READMETomasz Golabek1-0/+72
README for the yaml parser. Change-Id: Id94ec7bf4ba27ccffb31765b279e1ba3b8b50cd1 Issue-ID: SDC-2094 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-04-01Introduced yaml parser as common libTomasz Golabek19-0/+1938
Introduced parser with capability of search for given json paths. Introduced cucumber tests for gab service Change-Id: I154d71085ee82c1ead7c4e002a488524f60c5d8d Issue-ID: SDC-2094 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-03-17Load TOSCA package into Tosca model objectshiria1-1/+5
Change-Id: I24360bcd988df48359eb6092f6a80e989e35f026 Issue-ID: SDC-2192 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-11-28Add updated normative typesYuli Shlosberg1-1/+22
Change-Id: I89977232727fd5516111279639a9ca19e7ce5018 Issue-ID: SDC-1962 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
2018-11-15update sdc version in masterMichael Lando5-5/+5
update sdc version to 1.4.0 for master Change-Id: Ia3b16b397b6e01dc185549dd20be399ee67a791a Issue-ID: SDC-1913 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-11Deleted artifact generator modulesvempo142-52188/+0
Change-Id: Ibad18285edc1181d7247d395efa8f2322e255147 Issue-ID: SDC-1906 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-08Removed dead and duplicate code in onboardingvempo1-106/+101
Change-Id: I2ca0f1a4b00938838213ba2d615ab72c80d6dda3 Issue-ID: SDC-1903 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-07Removed compile-helper-pluginvempo1-99/+16
Change-Id: I4d10879ac3195e25b8a2c97776c59241a25338a8 Issue-ID: SDC-1861 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-06Cleaned up POM of configuration frameworkvempo1-11/+0
Removed unused dependencies, inherited versions from dependencyManagement of the parent. Change-Id: I324e89e22fa431add147f8d499e01857deb7770a Issue-ID: SDC-1867 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-05Removed artifact-copy pluginvempo1-23/+0
Change-Id: I2993bdc46693af1b48ed886718d17b835437740e Issue-ID: SDC-1861 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-05bump sdc version to 1.3.3Michael Lando8-8/+8
Change-Id: I703591a9985f9792649622b16f2a05aa89d1d8ea Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-01Sorted out unit-test libraries in onboardingvempo2-15/+33
Fixed scope, removed junit+tesng combinations, deleted commented-out tests, did minor cleanups. Change-Id: I71d0adf5c1c95435987dbb8b4077cc43bdf09df8 Issue-ID: SDC-1886 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-11-01update sdc to version 1.3.2Michael Lando8-19/+19
Change-Id: Ibd1a6a23f061c23e8bb0bb603f6ac315581564f6 Issue-ID: SDC-1865 Signed-off-by: Michael Lando <michael.lando@intl.att.com>
2018-11-01Fixed Sonar violations in configurationvempo3-64/+209
Simplified code, added unit tests. Change-Id: I0a35daf8a2d4cfd0979e30363c9fad30e7c0570b Issue-ID: SDC-1867 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-10-31Removed JMX, other unused code from configurationvempo11-321/+275
Removed code duplicates, stabilized test execution via Maven, re-aranged code, fixed spelling. Change-Id: I41fc303ea0a8c7d78d89a12bb20850de51cb8c52 Issue-ID: SDC-1867 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-10-28Handled not thread-safe fields in configurationvempo8-158/+62
Replaced not thread-safe fields with synchornized versions, removed duplicate code, deleted class that was accessing DB, made surefire plugin to pick up all available unit tests (instead of hand-picked). Change-Id: Idff3ac333dc87ebfd3ecf50438ba0179556eb9c9 Issue-ID: SDC-1867 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-10-28Removed support of dynamic configurationvempo30-961/+107
Configuration framework will not poll configuration for changes, and will not notify client code of them. Also minor cleanup, added unit tests. Change-Id: I428b23f7acb13c6610390f46aae6e011d6b0ee80 Issue-ID: SDC-1867 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-10-28Enabled unit tests of configuration frameworkvempo2-6/+35
Added slf4j binding for tests. Updated patch version of commons-configuration. Change-Id: Ifef09eb3591f01be4f90f16758448018361dcdb7 Issue-ID: SDC-1867 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-10-28Code formatting of configuration frameworkvempo52-3820/+2895
Fixed code formatting, removed meaningless Javadoc comments, added copyright headers, minor (and safe) static analysis fixes. Change-Id: I3eda1f242905da5b80e024cf30a69ff59381fc43 Issue-ID: SDC-1867 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-10-25Fixed configuration tests to run on Linuxvempo23-22/+32
On Linux, environment variables are case sensitive, while on Windows they are not. Change-Id: I49dfd68ab3596ff7ee4a7a53aeba906b606df81b Issue-ID: SDC-1867 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-10-25Removed code that stored configuration in DBvempo8-495/+231
Conditionally enabled unit tests, fixed a few static analysis violations, added copyright headers. Change-Id: I46ccafc5f4397f82b86d5c51bf0452f2060f6a70 Issue-ID: SDC-1867 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>