summaryrefslogtreecommitdiffstats
path: root/mod/bpgenerator
AgeCommit message (Collapse)AuthorFilesLines
2021-01-21Add Native Kafka streams support in bp-generatorTomasz Wrobel15-53/+698
Issue-ID: DCAEGEN2-1179 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I541dca959707a41c56205e20c9f5a56ccec5ca41
2021-01-20Refactor AppConfigService with testsJoanna Jeremicz9-76/+455
- Refactor AppConfigService - Bump bpgenerator version to 1.7.2 Issue-ID: DCAEGEN2-1179 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Iae52bda14f928db102d4c3466ba97f948ca98727
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-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-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-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-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-07-16Add external tls info to bpgenerator and component spec schemaRemigiusz Janeczek22-78/+1053
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-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>
2020-05-29Change R4 plugins to R6PANCHAL5-7/+7
Change bpgen R4 references to R6 because Runtime APi is defaulting to R4 Issue-ID: DCAEGEN2-2197 Signed-off-by: PANCHAL <dp023n@att.com> Change-Id: Id98fee8b5125cc056d852c343f3cc1d2df7e0a5d
2020-03-04fixed input string type issue in bp_genDhrumin Desai1-5/+6
Issue-ID: DCAEGEN2-2120 Change-Id: I95f6c3093377921250adf7089eca96f38b838f93 Signed-off-by: Dhrumin Desai <dd303q@att.com>
2020-03-03Change reportPath to reportPaths in pom.xmlsAndrew Gauld1-1/+1
Change-Id: I521e7fc48027d182f593ea1bc04fca5bf5370553 Issue-ID: DCAEGEN2-2119 Signed-off-by: Andrew Gauld <agauld@att.com>
2020-02-26fixed quotation issue in bp_genDhrumin Desai3-5/+7
Issue-ID: DCAEGEN2-2094 Change-Id: I62fa39b7d8bd685b88f5e196029bfd4e2e963171 Signed-off-by: Dhrumin Desai <dd303q@att.com>
2020-02-19Added policyNodes, db, tls supportDhrumin Desai33-186/+2484
Change-Id: Id960c156eb8da67e6792c6dbc1a60892d28703b0 Issue-ID: DCAEGEN2-164 Issue-ID: DCAEGEN2-1873 Issue-ID: DCAEGEN2-1995 Issue-ID: DCAEGEN2-1859 Signed-off-by: Dhrumin Desai <dd303q@att.com>
2020-01-08bp-gen code clone from cli repoVijay Venkatesh Kumar64-0/+6280
dcaegen2/platform/mod will host all design component code cli/component-json-schemas and cli/dcae-cli already moved original cli repo will be marked as RO after this is merged Change-Id: Ie88dbd273d218c89a95afe0e58742a948c04eae5 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-1852 Issue-ID: DCAEGEN2-1860 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>