aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp
AgeCommit message (Collapse)AuthorFilesLines
2019-07-08Move import handling to service templateojasdubey1-67/+2
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-08Add validation of non referenced file in packageandre.schmid5-25/+37
Add the validation specified in SOL004, that all files in the package should be listed in the Manifest file. Fix Validator related Test class, adapting to the new validation. Create a manifest builder to help the tests. Fix minor typos. Update .gitignore to remove ajcore files. Change-Id: Ib9a99bf3d7905349e0ec8fef8fd960028bb83f8d Issue-ID: SDC-2412 Signed-off-by: andre.schmid <andre.schmid@est.tech>
2019-03-26Load tosca with no imports sectionshiria1-3/+2
Change-Id: I50df2a149bd8d27973bb66e41f80a3260b8a9b8b Issue-ID: SDC-2192 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2019-03-25Change SOL004 baseline from v2.5.1 to v2.6.1bilal.iqbal4-5/+32
Change-Id: Ic524e25a5f0a9952dd0a2c578034c60e51c7a290 Issue-ID: SDC-2190 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-19Display PNF/VNF Type for PNF (backend)kooper1-1/+1
Change-Id: Ie3fabe2a91c1e9040939e2bfe97705cfee15b201 Issue-ID: SDC-2157 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-18Load TOSCA package fixshiria1-1/+1
Change-Id: I10ce085ce76c20f5861d86c6c336f44b88250a48 Issue-ID: SDC-2192 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2019-03-18Fix flat node type interfaceshiria1-3/+6
Change-Id: I45457f1f33f2197c11d0711cedca82f53db5df79 Issue-ID: SDC-2198 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2019-03-17Load TOSCA package into Tosca model objectshiria6-38/+377
Change-Id: I24360bcd988df48359eb6092f6a80e989e35f026 Issue-ID: SDC-2192 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2019-03-14Add source supportbilal.iqbal7-235/+407
Change-Id: I71f578764f666dd33c4aa42c7e8613b58ecb2f93 Issue-ID: SDC-2173 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-10CSAR Package validationbilal.iqbal3-2/+22
Change-Id: I11af8d93f5a2cd0566a5caf0dad0519d70bd57d7 Issue-ID: SDC-2147 Issue-ID: SDC-2148 Issue-ID: SDC-2149 Issue-ID: SDC-2150 Signed-off-by: bilal.iqbal <bilal.iqbal@est.tech>
2019-03-07Parse Tosca.meta filekooper2-0/+148
Change-Id: I50521fb62999322c99b39024097ab5729f3c1580 Issue-ID: SDC-2151 Signed-off-by: kooper <sergey.sachkov@est.tech>
2019-03-04Add manifest non mano set supportkooper3-0/+335
Issue-ID: SDC-2141 Change-Id: I056e8f7c1da8f17ce8583207660882f85a4d11a4 Signed-off-by: kooper <sergey.sachkov@est.tech>
2018-10-22Test coverage : Use Lombok in modelssiddharth090511-314/+239
openecomp-tosca-lib Change-Id: I10df604ec6f51bc453e98280fb1be5481e00b074 Issue-ID: SDC-1673 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-10-15Test coverage : openecomp-tosca-libsiddharth09055-257/+273
Increase test coverage Change-Id: I6d6a9005d16b03f36b50c867d13db5f063fe3d07 Issue-ID: SDC-1673 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-10-08Add support of interface in TOSCA datatypesshiria2-336/+220
Move all interface functionality from DataModelUtil class to TOSCA datatype relevant class Change-Id: Ifea22b60e9a71fe024e87f9987a749e9d56aad82 Issue-ID: SDC-1781 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-08-12SRIOV for SDNFShnaider, Marina (ms7589)2-1/+25
Adding Fabric Configuration capability to the VFC/ compute Change-Id: Ia518c56b75ec5355af94c28ac0b6bcfe11bc0d1e Issue-ID: SDC-1601 Signed-off-by: Shnaider, Marina (ms7589) <ms7589@intl.att.com>
2018-08-07Add FabricConfiguration capabilityManzon, Inna (im453s)1-0/+2
Change-Id: Ic1c25a1310f3f285d57c86a1645ab0d5ecd02876 Issue-ID: SDC-1593 Signed-off-by: Manzon, Inna (im453s) <im453s@intl.att.com>
2018-07-29re base codeMichael Lando7-31/+19
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5 Issue-ID: SDC-1566 Signed-off-by: Michael Lando <ml636r@att.com>
2018-07-11Add support for CapabilityDefinition isTypeOfshiria2-8/+19
Change-Id: Id84b5b67ef85b6e252676f1004184fb3180cd053 Issue-ID: SDC-1475 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-07-02Fix getFlat for datatypeshiria2-99/+40
Fix getFlat when we driven from primitive type like string Adding support for service filter as tosca extension Issue-ID: SDC-1455 Change-Id: I57f05af13b394239ca55b71a946d69f56675bf19 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-06-05fix get flat node typeshiria5-1211/+1214
update node type interface update return value to object which include the type hierarchy Change-Id: I97623c7bbad0223a174370d13aabf4c3efe9c21e Issue-ID: SDC-1394 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-05-28Refactor Onboarding Translator codeojasdubey2-1/+4
1. Fixed sonar violations 2. Fixed static analysis issues 3. Refactored methods for code smells 4. Moved log messages to a common place Change-Id: I33725bc51040a2c7683b06b4294dea6f96c425e3 Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-23Refactor Onboarding Translator codeojasdubey2-1365/+1395
1. Fixed sonar violations 2. Fixed static analysis issues 3. Refactored methods for code smells 4. Moved log messages to a common place as per review comments Note: UnifiedCompositionService has been included to ensure successful compilation. The violations of this class will be handled in a separate commit Change-Id: I2a37176e1d5cebc5c32883df2d19f1c602c9d958 Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-17Refactor Onboarding Translator codeojasdubey1-62/+49
1. Fixed sonar violations 2. Fixed static analysis issues 2. Refactored methods for code smells Change-Id: I0d33c93156ddfaa43769a98f086e269b43c24cd2 Issue-ID: SDC-1331 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-05-01Fix TOSCA Analyzer - null point exceptionshiria3-0/+57
In case there is import to not exist TOSCA file, exception with relevant error message should be thrown In getRequirementAssignment, when there is no Requirement, Optional.Empty is returned Change-Id: I8aabde177815dec2f69307f6be3c5114c5c8efa3 Issue-ID: SDC-1281 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-04-30Rename packages from openecomp to onap.amitjai16-74/+85
This task is all about package name space change also make changes to pom for common module Change-Id: Ie9bda0f958a9a05826c0374830cc9cb7d6d196b6 Issue-ID: SDC-1272 Signed-off-by: amitjai <amitjai@amdocs.com>
2018-04-09Interface definitiontalio1-14/+37
Add handling in reading and writing operation definition Change-Id: I0fd5770b19a8cf5d5a8d2b93a549fd66a3b1e728 Issue-ID: SDC-1161 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-04-04Added new nodes typesiddharth09051-2/+1
Added new nodes type and new property in Port. All test data need to be updated, so file count is much more. Change-Id: Ic21befe8d7feee912fbed1d3eb676488db1fb68c Issue-ID: SDC-1183 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-03-29VLAN tagging - Support Pattern 1C2ojasdubey2-0/+15
1. Pattern 1C2 vlan tagging code 2. Count property handling 3. Added tests and updated existing test data Change-Id: Idef33b142d415e1c0a9663497eed621f35c2393b Issue-ID: SDC-1174 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-03-27VLAN tagging - VFC Instance Groupojasdubey2-1/+34
1. Create VFC instance group per sub-interface network role 2. Refactored PortTemplateConsolidationData and its references based on review comments 3. Updated test data after rebase 4. Updated to flatMap based on review comments Change-Id: I423593c5156ecae5eff3a4f2ce8591c85db727cc Issue-ID: SDC-1073 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-03-22Update FlatEntity in TOSCAshiria3-7/+84
Add support of dataType entity flat hierarchy in TOSCA Fix existing nodeType entity flat hierarchy in TOSCA Change-Id: I52cd188c595a263c70c2067fd1aac9752f7e24a4 Issue-ID: SDC-1147 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-03-21Add support in TOSCA isTypeOfshiria3-72/+164
Add support for InterfaceDefinitionType entity type Add support for PropertyDefinition entity type Add support for ParameterDefinition entity type Change-Id: I10ba0f6c3f16a0d476e254d40b4fcd463392cb52 Issue-ID: SDC-1153 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-03-21Handle OperationDefinition in Tosca Data Modelshiria1-12/+21
Change-Id: Ib1a7f0c5548fc9c7a98cff1182ff02300353443d Issue-ID: SDC-1154 Signed-off-by: shiria <shiri.amichai@amdocs.com>
2018-03-15Interface definitiontalio1-15/+14
Add separate Interface definition for node type and node template Change-Id: I0c4446227dd096959158fd4a4741cb5aa043e495 Issue-ID: SDC-1043 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-03-15Change Tosca structuretalio5-1/+224
change Tosca Service Template according to Tosca-spec-1.1 Change-Id: I8f689b02e0349fc8c787868661f498d7d530d445 Issue-ID: SDC-1043 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-03-06SDC-TOSCA Parser Integrationpriyanshu2-0/+190
SDC Onboarding Tosca Library to call SDC-Tosca Parser Change-Id: I12c92def4ff8e17431d73b0d39f62d5d79ea6f21 Issue-ID: SDC-1043 Signed-off-by: priyanshu <pagarwal@amdocs.com>
2018-03-04Code change to support new global typesiddharth09051-0/+2
Code change to support new global type for VMI port Change-Id: I30427a8ec784c8d314c3df0e34178587dda0351c Issue-ID: SDC-1070 Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
2018-02-28VLAN tagging - Pattern 1A, 1C1ojasdubey1-1/+4
1. Implementation for supporting VLAN tagging in Pattern 1A and 1C1 heats 2. Updated code for switch case refactor with command design pattern 3. Added unit tests and bug fixes Change-Id: I54938ffd6673f865b4506a890ec8e7b9c54597b1 Issue-ID: SDC-1036 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
2018-02-15Add Tosca model healertalio1-11/+6
create a Tosca model healer for future changes in Tosca structure Change-Id: I3843e4727b6bbb383576ae6a4fb055c5b6fa001f Issue-ID: SDC-973 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-02-11SRIOV - add annotationseleonorali3-18/+56
SRIOV - add annotations to input TOSCA parameter converted from HEAT file (2) Change-Id: Id0b0156730ae64093df42d09e2873de047c13ac9 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
2018-02-04change capabilities datatypetalio1-5/+3
change node template capabilities datatype from list of map to map Change-Id: Ie0fa71b8a41ec732ae5290a72c4d8e908701ce17 Issue-ID: SDC-968 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-02-01Removed log constantsvempo3-20/+6
Removed constants associated with audit/metrics logging. Deleted unused code. Some other safe cleanup and refactoring. Change-Id: Idfda72e1fb27ca695a74f2a09cb46381c9caed1a Issue-ID: SDC-772 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-28Remove MdcDataErrorMessage #2vempo3-66/+0
Change-Id: I8a89538aa31000cf5b04a38a175156ccaba5ed51 Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-09Fixed sonar issues - ToscaAnalyzerServiceImplsheetalm1-127/+196
Resolve code review comments.Fixed cyclomatic complexity and nested try/if/else issues. Corrected Copyright. Added junit for changes done as part of sonar fix. Change-Id: If7ecc53acd82c49ab5ca73f0330a792fc1fc6d5c Issue-ID: SDC-343 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
2018-01-04Remove enter/exit debug #6vempo2-206/+0
Change-Id: Ic9d9ebfabc52c6d1bd785e6b0f9d1ecc177f996e Issue-ID: SDC-875 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2018-01-02fix MIB assignmentmojahidi1-385/+130
Assign mib file to all of the components from the same VFC type Change-Id: Ia6a1a5a08b7383ec64ace085193b0c8daa399c7f Issue-ID: SDC-811 Signed-off-by: talio <tali.orenbach@amdocs.com>
2018-01-02Fixing sonar Exception Handlingavigaffa1-26/+16
Change-Id: I04eb047973a3f5c07dd9dc410cb13af974e8ded1 Issue-ID: SDC-810 Signed-off-by: avigaffa <avi.gaffa@amdocs.com> Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
2017-12-27Fixed sonar issues ToscaFileOutputServiceCsarImplsheetalm1-11/+7
Remove unwanted parenthesis. Corrected Copyright Change-Id: If7cb2a722aa486156d6dc2c1fb90877d0442b3a6 Issue-ID: SDC-343 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
2017-12-26Fixed sonar issues - ToscaNodeTypesheetalm1-14/+13
Adding private constructor. Making constant final. Corrected copyright Change-Id: I025aaddbae4133a2bd0b4bba450726a166ebeb1a Issue-ID: SDC-343 Signed-off-by: sheetalm <sheetal.mudholkar@amdocs.com>
2017-12-21Add collaboration featuretalig1-1/+1
Issue-ID: SDC-767 Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795 Signed-off-by: talig <talig@amdocs.com>