aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-11AAI-1555 Fix remote-path in esr-system-infoKeong Lim1-1/+1
Issue-ID: AAI-1555 Fix remote-path in esr-system-info. Should have been camelCase in java-attribute since v11. Exposed in CCVPN testing of ext-aai-network. Change-Id: I39b843307058b317972298f125aebc2593a126a7 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-11AAI-1552 Add resource-version property to CCVPN ucKeong Lim2-0/+121
Issue-ID: AAI-1552 Add resource-version property to all the new CCVPN schema elements. The other ONAP components expect to have this property available for optimistic concurrency control usage. Change-Id: I69071d48cb0b784fe67498d51361bb304a22ead9 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-11AAI-1523 checkstyle warnings for aai-annotationsKeong Lim1-20/+20
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-annotations (part of 24k lines of output) Add spaces around '=' Change-Id: I9ea43508e5e88140149ccc11d233fdb77c869964 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-11AAI-1523 checkstyle warnings for aai-schema-ingestKeong Lim34-1169/+1169
Issue-ID: AAI-1523 re-indent code with spaces to clean up some checkstyle warnings for aai-schema-ingest (part of 24k lines of output) Change-Id: I1d3785fcbfa9cc53680129506daa2c392950de31 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-11AAI-1492 Add ext-aai-network schema for CCVPN ucKeong Lim3-2/+214
Issue-ID: AAI-1492 Add ext-aai-network element to network namespace. Add components from network namespace. Add esr-system-info component. Add EdgeRules from ext-aai-network to esr-system-info, connectivity and all the other schema elements. Make esr-system-info dependentOn ext-aai-network. Change sub-components of ext-aai-network to COUSIN edge as workaround. Add relationship-list as workaround. Change-Id: I8ec11660db7887c5aebcdbe2899c95c457f74e14 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-11AAI-1491 Add wan-port-config schema for CCVPNKeong Lim3-0/+298
Issue-ID: AAI-1491 Add wan-port-config element in network namespace. Add CCVPN EdgeRule for wan-port-config to service-instance. Change-Id: I7c27b28ea2da72583f88b79eb035ab70cc86a64e Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-11AAI-1484 Add device schema for CCVPN usecaseKeong Lim3-0/+250
Issue-ID: AAI-1484 Add device element to network namespace. Add CCVPN EdgeRules for device to service-instance and generic-vnf. Change-Id: Iad4033dc5bba72cf0773cccbe19429cf965df0c5 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-11AAI-1483 Add sdwan-vpn for CCVPN usecaseKeong Lim3-0/+202
Issue-ID: AAI-1483 Add sdwan-vpn element to network namespace. Add CCVPN EdgeRules for sdwan-vpn to service-instance. Change-Id: I541db79a0c02149c4f5371dc29f71c76478ba298 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-11AAI-1482 Add site-resource for CCVPN usecaseKeong Lim3-0/+226
Issue-ID: AAI-1482 Add site-resource element in network namespace. Add CCVPN EdgeRules for site-resource to service-instance, allotted-resource and complex. Fix typo in java-attribute for site-resource-id. Change-Id: Ic2dbe9d7a7644bbc46bd95ad79fdb0bcd7124224 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-11AAI-1481 Add network-resource for CCVPN usecaseKeong Lim3-0/+137
Issue-ID: AAI-1481 Add network-resource element to network namespace. Add CCVPN EdgeRules for network-resource to vpn-binding and pnf. Update multiplicity. Change pnf from sub-component to COUSIN edge as workaround. Change-Id: I4b288406a272ccdb6243d1e13555a02aa6354a83 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-11AAI-1468 -1480 Add Conn /lan-port-config for CCVPNKeong Lim3-8/+728
Issue-ID: AAI-1480 Add lan-port-config schema element to network namespace Add dhcp-service schema element Add CCVPN EdgeRules for lan-port-config to service-instance and dhcp-service Update lan-port-config with ipv4-address and ipv6-address. Update dhcp-service with server-ipv4-address and server-ipv6-address. Accidentally squashed another two commits together: Issue-ID: AAI-1468 Add connectivities sub-component to "network" namespace. Add connectivities element, which is sequence of "connectivity". Add connectivity element, which has numerous properties. Add CCVPN EdgeRules for connectivity to service-instance and vpn-binding Change-Id: I78f4cdc906e43750bb319ba4f3bdb6483ed7ea24 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-09-07Merge "Sonar fixes in EdgeRuleQuery.java"Venkata Harish Kajur1-256/+261
2018-09-06Merge "renaming/constant instead of literal/unused items"James Forsyth5-259/+274
2018-09-06Merge "Made Changes on the edge labels and direction"James Forsyth2-8/+8
2018-09-06Merge "Sync up the changes between ecomp and onap"James Forsyth11-26646/+27686
2018-09-06Made Changes on the edge labels and directionKajur, Harish (vk250x)2-8/+8
for service instance and instance group Issue-ID: AAI-1577 Change-Id: I080f72a8c553c2579aeb98ac8204d4dcadaea5c8 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-09-06Sonar fixes in EdgeRuleQuery.javaasgar1-256/+261
Change-Id: I46029a19b3f495bebdf714b26c72739355dda8e8 Issue-ID: AAI-1559 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-06Merge "private constructor to hide the implicit public"Tian Lee2-159/+170
2018-09-06renaming/constant instead of literal/unused itemsasgar5-259/+274
Change-Id: I2634a375c4b2a371b33dcb6dd2d3aa21cfe54297 Issue-ID: AAI-1558 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-06private constructor to hide the implicit publicasgar2-159/+170
Adding a private constructor to hide the implicit public constructor. Change-Id: Id6ded8cf328843c8e77fc652391f5c5edc80aa47 Issue-ID: AAI-1578 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-06Return expression instead of temporary variableasgar4-68/+67
Change-Id: Ib5d939c99fc4fb9845f06e787b3915640acfce3e Issue-ID: AAI-1575 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-05Sync up the changes between ecomp and onapKajur, Harish (vk250x)11-26646/+27686
Change-Id: I7321a738db10eea9e7bc27c5b2a03f5dd0b0a70b Issue-ID: AAI-1336 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-08-28Add pnp schema and edgerules filesJimmy Forsyth2-0/+94
Issue-ID: AAI-1551 Change-Id: I8e7e70b01de1f8387694e2398d3f0d9e1080f1f9 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2018-08-24Merge "Fix sonar issues"James Forsyth3-23/+20
2018-08-24AAI-1467 Add sp-partner schema for CCVPNKeong Lim3-0/+100
Issue-ID: AAI-1467 Add sp-partners sub-component to "business" namespace. Add sp-partners element, which is sequence of "sp-partner". Add sp-partner element, which has properties: sp-partner-id, url, callsource, relationshipList Make the following properties indexed: sp-partner-id, url, callsource Add CCVPN EdgeRules for sp-partner to service-instance. Change-Id: I6de65ae843f0139cdd284f9261f993d36224dc1e Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-08-24AAI-1466 Update allotted-resource schema for CCVPNKeong Lim2-3/+99
Issue-ID: AAI-1466 Add the following properties to allotted-resource: alloted-resource-name, access-provider-id, access-client-id, access-topology-id, access-node-id, access-ltp-id, cvlan, vpn-name Add id and vpn-name properties to be indexed. Make "alloted-resource-name" property also: - marked as a "name" property - indexed Change-Id: I111eccc158ff28576b5e205b8c8c3dea3df4361e Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-08-23Merge "Update xsd element to generate boolean to false"James Forsyth9-147/+147
2018-08-23Update xsd element to generate boolean to falseKajur, Harish (vk250x)9-147/+147
Issue-ID: AAI-1536 Change-Id: If1cc9291e28dd0381115a0bf6c5a44faa7fdbe01 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-08-23Change spelling mistakenecuser1-1/+1
Issue-ID: DOC-295 Change-Id: I1496d485994d29feb50cb60bde68825b497b48d1 Signed-off-by: ankatare <ankatare@hotmail.com>
2018-08-23Fix sonar issuesParshad Patel3-23/+20
Fix use try-with-resources issues Issue-ID: AAI-1368 Change-Id: I267df61915ac1596cc8645c62ccf43eb04fd7ac5 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-08-22Merge "Sonar violation"Venkata Harish Kajur3-13/+17
2018-08-22Merge "AAI-1461 -1464 Update vpn-binding/pnf for CCVPN"James Forsyth3-5/+184
2018-08-22Merge "AAI-1460 Update logical-link schema for CCVPN"James Forsyth3-2/+7
2018-08-22Merge "AAI-1459 Update service-instance schema for CCVPN"James Forsyth2-0/+13
2018-08-22Merge "AAI-1453 update p-interface schema for CCVPN"James Forsyth3-3/+39
2018-08-22Sonar violationArindam Mondal3-13/+17
Issue-ID: AAI-1521 Change-Id: I34b801a1ec9525e6b1785914f8d02f938cbf0ee7 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2018-08-21Sonar issue fixes for PutOperation.javaasgar1-83/+84
Issue-ID: AAI-1525 Change-Id: I34e8618223c5ca4aeefbc37dc148b556877f444e Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-08-17AAI-1461 -1464 Update vpn-binding/pnf for CCVPNKeong Lim3-5/+184
Issue-ID: AAI-1461 Add properties to vpn-binding: access-provider-id, access-client-id, access-topology-id, src-access-node-id, src-access-ltp-id, dst-access-node-id, dst-access-ltp-id, operational-status, model-customization-id, model-version-id, model-invariant-id Make ids and operational-status indexed. Add CCVPN EdgeRules for vpn-binding to p-interface. Accidentally squashed in second commit for: Issue-ID: AAI-1464 Add properties to pnf schema: admin-status, operational-status, model-customization-id, model-version-id, model-invariant-id Make these properties indexed as well: admin-status, operational-status Change-Id: I30b75262d3e01cfae2cf77d9be9da26a56a049ed Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-08-17AAI-1460 Update logical-link schema for CCVPNKeong Lim3-2/+7
Issue-ID: AAI-1460 Update operational-status to be indexed property Add CCVPN EdgeRules file Change-Id: Ia8e20171ad060b7ca8f2e91d7a66a545146ff36d Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-08-17AAI-1459 Update service-instance schema for CCVPNKeong Lim2-0/+13
Issue-ID: AAI-1459 Add input-parameters property to service-instance element for SO to pass parameters to Closed Loop. Add company name to copyright notice. Change-Id: I9e9fed562a7503d8d2ad09e2052c3e29f7fe85ea Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-08-17AAI-1453 update p-interface schema for CCVPNKeong Lim3-3/+39
Issue-ID: AAI-1453 Add properties network-ref, transparent, operational-status Make these network-ref and operational-status indexed Change-Id: I047ecda31e08573adb1ef32ecd82b8e80e70d37a Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-08-14AAI-1452 Update Swagger HTML templateKeong Lim1-240/+185
Issue-ID: AAI-1452 - Re-indent list bodies to optimise size of generated output, reduces final output size by half in new v14 schema. - Add table of contents links under Summary heading for navigating long document - Added company name to copyright notice Change-Id: I74e98a097728fb93939e8a3b2fe27906d0b83ff7 Signed-off-by: Keong Lim <keong.lim@huawei.com>
2018-08-12Integrate aai-schema-ingest library into aai-coreKajur, Harish (vk250x)442-1332932/+44597
Integrate the aai-core into using the aai-schema-ingest library to be agnostic to the schema changes Remove any references to aai-schema dependency in aai-core Reorder the components so the aai-schema-ingest is first installed Moved the edge rules to the aai-schema as they are linked to schema Rework the generation of the aai-schema to using aai-schema-ingest library Also remove the yaml and html folders as they get generated on the fly So when maven pushes the aai-schema jar, the jar contains the generated yaml, html and xsd files at runtime due to the gerrit limit of filesize Issue-ID: AAI-1455 Change-Id: I87ecd9eb2fc96a09d3a6399955637674f6e7fb21 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2018-08-02Merge "Fix sonar issues in SchemaGenerator"Venkata Harish Kajur4-145/+154
2018-08-02Merge "Removing minor sonar issues"Venkata Harish Kajur1-66/+13
2018-08-02Fix sonar issues in SchemaGeneratorjczestochowska4-145/+154
fixed formatting removed unused JanusGraph graph parameter deleted usage of print that were accompanied by a logger reduced loadSchemaIntoJanusGraph complexity by cutting it into smaller methods added private constructor to prevent instantiation optimized imports Change-Id: I4645a7fed266afbe6c2b21df20b40574aa9f31fd Issue-ID: AAI-1437 Signed-off-by: jczestochowska <justyna.czestochowska@nokia.com>
2018-08-01Merge "Refactor of DataGrooming main script"Venkata Harish Kajur1-106/+106
2018-07-31Refactor of DataGrooming main scriptJustyna Czestochowska1-106/+106
replaced long if else with switch extracted methods handling wrong or missing arguments replaced AAI_6101 with constant, called diamond operator Change-Id: Ia8e43df0f028617c55c12bea03efab22b7fc1f4b Issue-ID: AAI-1431 Signed-off-by: jczestochowska <justyna.czestochowska@nokia.com>
2018-07-31Removing minor sonar issuesJustyna Czestochowska1-66/+13
replaced usage of print by logger, removed duplication, removed commented out code Change-Id: Ib8b8cf9e6769ecc235ec080f26526cf7d790513c Issue-ID: AAI-1434 Signed-off-by: jczestochowska <justyna.czestochowska@nokia.com>
2018-07-26Remove EPA attributeDileep Ranganathan2-12/+0
Remove the usage of EPA attribute which is deprecated cloud-epa-caps attribute is removed from v14 of schema Change-Id: Ie5fb5cf9f33ff5597525a0b53e264ce1ab66477c Issue-ID: AAI-1150 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>