summaryrefslogtreecommitdiffstats
path: root/mod/bpgenerator
AgeCommit message (Collapse)AuthorFilesLines
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>