summaryrefslogtreecommitdiffstats
path: root/mod
AgeCommit message (Collapse)AuthorFilesLines
2021-01-12Update runtime-api with refactored bp-genRemigiusz Janeczek7-103/+190
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I763a46e01d259b25c656de7544949f19a1e01e11
2021-01-11Fix versions in BPGeneratorRemigiusz Janeczek4-31/+3
Maven staging job is failing because of common module version set to 2.0.0-SNAPSHOT. During the build - mvn versions:set is used which sets version according to version.properties, because common has different version its version is not changed and it is recognized as a SNAPSHOT dependency (which fails the jenkins build). Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Icffd3b128485a45b3fe7e19c5501eaa4a98fbcf8
2021-01-04Blueprint Generator - split executable part to separate submoduleRemigiusz Janeczek14-219/+620
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I0d6a4ac0f6bc8332b79ebcf5ac3bb4aee1c951c6
2021-01-04Blueprint Generator - Refactor blueprint generation.Remigiusz Janeczek10-75/+244
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I72959f3e6c27d301e46ede24c015ce638d8de324
2020-12-21BpGen refactor Code Quality Issue-ID: DCAEGEN2-2502Ravi Mantena123-2111/+2985
Issue-ID: DCAEGEN2-2502 Change-Id: If6e08f0bb88c9039fb27898d50d2645f79175ba4 Signed-off-by: Ravi Mantena <rx908f@att.com>
2020-12-04Changing the snapshot and fixing Componentspec Issue-ID: DCAEGEN2-2529Ravi Mantena3-11/+33
Issue-ID: DCAEGEN2-2529 Change-Id: I4fb5eda94386c808c28431c9f8dbc7d5af2f8fc9 Signed-off-by: Ravi Mantena <rx908f@att.com>
2020-11-26Update external certificates SANs delimiterRemigiusz Janeczek3-125/+134
Fix formatting Issue-ID: DCAEGEN2-2508 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I1fab49ed949923e7c2a2ca47182805f494c89093
2020-11-25Blueprint Generator - Update parent reference groupIdRemigiusz Janeczek2-3/+3
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I97051ab6f44ec808c16e6142dee7edd3c9ec622c
2020-11-25Blueprint Generator - Update groupId, add version.propertiesRemigiusz Janeczek4-6/+10
Issue-ID: DCAEGEN2-2529 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Icbc011714f0996e1915b9e4ae8081972a53fdfac
2020-11-19Blueprint Generator Refactored Code Issue-ID: DCAEGEN2-2472Ravi Mantena223-9865/+8503
Change-Id: I2ade7fb3b4196554eb4ecadd918fd45cb6ba8a52 Signed-off-by: Ravi Mantena <rx908f@att.com>
2020-10-12Merge "Improve code quality in ResourceConfig"Vijay Venkatesh Kumar3-39/+68
2020-10-09Merge "Improve code quality in Appconfig"Vijay Venkatesh Kumar5-120/+180
2020-10-08Update runtimeapi with bpgenerator 1.5.2Remigiusz Janeczek3-7/+7
Issue-ID: DCAEGEN2-2459 Issue-ID: DCAEGEN2-2460 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I56bdb36ccbf6ea5477ca4e0a1df08886d1a87cf7 (cherry picked from commit fb191e459ffaea56d57f6452d1c0f0467e23e102)
2020-10-08Improve code quality in AppconfigJoanna Jeremicz5-120/+180
- Add unit test - Refactor Appconfig class (break the public method into smaller private methods, get rid of unnecessary parameter object reference copies) - Top up version to 1.6.0 Issue-ID: DCAEGEN2-2460 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ia34b5c8ed3d6eafe765075a1a2b4274beb1868e6
2020-10-05Improve code quality in ResourceConfigJoanna Jeremicz3-39/+68
- Add unit test - Refactor ResourceConfig class (break the public method into smaller private methods, remove code duplications) Issue-ID: DCAEGEN2-2460 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ibfbac2b6d6ea4705a2139dee7d1bb801395790c9
2020-10-01Merge "Refactor ResourceConfig class"Vijay Venkatesh Kumar1-54/+62
2020-10-01Add useExisting property to Dmaap Feed Node in Blueprint-GeneratorTomasz Wrobel3-2/+24
Issue-ID: DCAEGEN2-2460 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ie170ed503be3e775b05bd3acf51c19d245b85c38
2020-09-30Adjust BP-gen to correctly support DFC component spec - typesJoanna Jeremicz8-358/+405
- Update relationshipsType and feedNode values in DmaapNode - Create a class for hardcoded values - Update unit tests Issue-ID: DCAEGEN2-2459 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ic5dc91844b4aefcf7d3d9d25c866a60e63875deb
2020-09-30Refactor ResourceConfig classTomasz Wrobel1-54/+62
Issue-ID: DCAEGEN2-2449 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: If47d76966937f7aeb90e054974130e8850f37343
2020-09-25Improve code quality:Tomasz Wrobel5-163/+184
- Refactor Properties class - Refactor ResourceConfig class Issue-ID: DCAEGEN2-2449 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I9f7debafc21d9dd2912a537499d6936e511dd824
2020-09-25Fix master blueprint generator Unit TestsTomasz Wrobel1-1/+1
Issue-ID: DCAEGEN2-2449 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I148e0c1ac8d7775ec038caa0fe2fd97240fbdf83
2020-09-25Merge "Refactor, fix code formatting and add unittests"Remigiusz Janeczek8-216/+462
2020-09-24Top up bpgenerator to 1.5.1 in runtime api1.1.0-mod-runtimeapiRemigiusz Janeczek3-7/+7
Issue-ID: DCAEGEN2-2454 Issue-ID: DCAEGEN2-2289 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I12b9eb8c3b6f251721066f4f29dfbbeae155432b
2020-09-24Refactor, fix code formatting and add unittestsTomasz Wrobel8-216/+462
-Refactor DmaapNode class -Add UT for DmaapNode -Refactor and fix code formatting in DmaapStreem class -Top up version to 1.5.2 Issue-ID: DCAEGEN2-2449 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: If6781f26bb6bfe2a645b0b0438157823670341a2
2020-09-24Filter empty imports from files in bpgenRemigiusz Janeczek5-7/+63
Issue-ID: DCAEGEN2-2454 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ia51750c17483c3120d86949ea60be416065b0da9
2020-09-23Restore test assertions. Update default plugin imports. Fix sonarRemigiusz Janeczek23-326/+252
issues in bpgenerator models/componentspec package. Issue-ID: DCAEGEN2-2449 Issue-ID: DCAEGEN2-2239 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I2b1a541adaa5873a8450cf6341a1f73d760c2d72
2020-09-22Merge "Sonar fixes in bpgenerator models/blueprints package"Vijay Venkatesh Kumar10-157/+80
2020-09-22Refactor DmaapBlueprint classTomasz Wrobel5-89/+348
- Refactor DmaapBluepritn class - Add UT Issue-ID: DCAEGEN2-2289 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ia847388cf7f4d23c7aa7cfc76c1c8983dc79b069
2020-09-21Sonar fixes in bpgenerator models/blueprints packageRemigiusz Janeczek10-157/+80
Issue-ID: DCAEGEN2-2449 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ia696077e0e524515eac395ad81f1a59addb6d6b2
2020-09-18Update bpgenerator to java 11Remigiusz Janeczek2-69/+5
Remove cobertura (not compatible with java 11) Change sonar to use jacoco report Issue-ID: DCAEGEN2-2289 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I4edcc601b46c11e1ff0c9a7305a0a01a2becded3
2020-08-28Merge "Run in Python 3.8"2.12.3-mod-onboardingapiVijay Venkatesh Kumar5-16/+30
2020-08-27Run in Python 3.8Michal Jagiello5-16/+30
Use Docker image prepared by integration team Issue-ID: DCAEGEN2-2292 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I4d147c14d0a6a0c93648b07567ccd7b6b594f0f1
2020-08-19Merge "Version update (1.1.0)"Vijay Venkatesh Kumar1-1/+2
2020-08-19Version update (1.1.0)1.1.0-mod-distributorapiMichal Jagiello1-1/+2
Issue-ID: DCAEGEN2-2292 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I24170b6caaf6a7917fe605b67eaf2233b5a70ce5
2020-08-18Merge "dcaegen2/platform - mod/runtimeAPI java11 upgrade Take into account ↵1.0.6Vijay Venkatesh Kumar1-1/+1
comments from I91250d5af6b2085063c955ab2b930223fcbb0f0b ticket"
2020-08-13Run distributorapi in Python 3.82.12.2Michal Jagiello2-10/+6
Use official ONAP Python base image Issue-ID: DCAEGEN2-2292 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I5fc17e0257a31aa35fe81e24b97c364b73e5c72a
2020-08-13dcaegen2/platform - mod/runtimeAPI java11 upgradeKrzysztof Gajewski1-1/+1
Take into account comments from I91250d5af6b2085063c955ab2b930223fcbb0f0b ticket Issue-ID: DCAEGEN2-2288 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>, Jerzy Szachniewicz <jerzy.szachniewicz@nokia.com> Change-Id: I361d12fbbf0d4bbe229ce2915bd895f30d8ed6fc
2020-08-11Ignore factory in json parsing bpgeneratorRemigiusz Janeczek1-0/+2
Issue-ID: DCAEGEN2-2251 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I09d2f9d810ee7b2c697ba6f8552f98c6977436bb
2020-08-10Merge "Add factories for Ext tls parameters"Vijay Venkatesh Kumar24-976/+1306
2020-08-10dcaegen2/platform - mod/runtimeAPI java11 upgradeKrzysztof Gajewski3-4/+10
Take into account comments from I6a23640244b388272e12b9883a42797371f5ecec ticket Issue-ID: DCAEGEN2-2288 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>, Jerzy Szachniewicz <jerzy.szachniewicz@nokia.com> Change-Id: I91250d5af6b2085063c955ab2b930223fcbb0f0b
2020-08-10Add factories for Ext tls parameterskjaniak24-976/+1306
Code cleanup, renames Issue-ID: DCAEGEN2-2251 Change-Id: Ibf36780473480210bea1c76d117b28c71831487a Signed-off-by: kjaniak <kornel.janiak@nokia.com> Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
2020-08-07dcaegen2/platform - mod/runtimeAPI java11 upgradeKrzysztof Gajewski2-6/+25
Change-Id: I6a23640244b388272e12b9883a42797371f5ecec Issue-ID: DCAEGEN2-2288 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>, Jerzy Szachniewicz <jerzy.szachniewicz@nokia.com>
2020-07-28Pull JSON schemas at build/test not run timeAndrew Gauld11-89/+65
Change-Id: I4f095a8a80f1c2868319c58bb0e9db916044d067 Issue-ID: DCAEGEN2-2221 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-07-17Add onap.useDmaapPlugin config parameterAndrew Gauld4-3/+14
Change-Id: I8c86eb3f1c76c608fe5ce66bc4e0e1f6d8d64abc Issue-ID: DCAEGEN2-1996 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-07-16Merge "Add external tls info to bpgenerator and component spec schema"Vijay Venkatesh Kumar24-188/+1167
2020-07-16Add external tls info to bpgenerator and component spec schemaRemigiusz Janeczek24-188/+1167
Also: - Fix issue where local run without import file caused exception instead of use of default imports. - Update blueprint generator version from 1.3.2 to 1.4.0 Issue-ID: DCAEGEN2-2251 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I2f976ccc3e0b271bf9ae1357f02bd86fe0903459
2020-07-13Upgrade genprocessor to use jackson 2.11.0Andrew Gauld1-2/+2
Change-Id: I8e8b1c462a57d7f1867402365618599b17d83aa6 Issue-ID: DCAEGEN2-2271 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-07-10Runtimeapi dependency updatesAndrew Gauld4-7/+14
Change-Id: Ied9b193eb47554db4824238a986d48b67aabf158 Issue-ID: DCAEGEN2-2272 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-07-08Upgrade genprocessor to use jackson 2.10.3Andrew Gauld1-3/+3
Change-Id: I67d3b7479a8bc8fc1e50245e0481ea5b9a541670 Issue-ID: DCAEGEN2-2271 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-07-01Switch between ContainerizedPlatformComponent to ↵Mantena, Ravi (rx908f)7-100/+119
ContainerizedServiceComponent, Remove name, dns_name and add service_component_type for onap, Add location_id from dmaap in bp_gen Issue-ID: DCAEGEN2-2144> Change-Id: Ice8529336c21b2a6e27555509215e911f80279b8 Signed-off-by: Ravi Mantena <rx908f@att.com>