aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-02-01Upversion the maven artifacts to 1.8.3-SNAPSHOTHarish Venkata Kajur7-7/+7
Issue-ID: AAI-3249 Change-Id: I400b39046ef44979ecfb89f73f6a2bac138e5542 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2021-01-27Unit test for ownerCheckEric Santos1-0/+49
Issue-ID: AAI-3256 Signed-off-by: Santos, Eric <eric.santos@yoppworks.com> Change-Id: I02a8e2be8a3bac4f5986c03b9a4aa7e803f70d43
2021-01-20Merge "Update network-route dbdege rule"William Reehil1-1/+1
2021-01-19Add ownerCheck property in v22 and v23 schemaEric Santos2-0/+330
Adding ownerCheck property to data-owner attribute in order to trigger owner check side effect when data-owner is provided Issue-ID: AAI-3247 Signed-off-by: Santos, Eric <eric.santos@yoppworks.com> Change-Id: I40f41ffe48f5405a1f72e9bfb51a51247ded848e
2021-01-15Add v23 schema to onapALPERT11-7/+22527
Add v23 schema files, adding v23 to configuration files Issue-ID: AAI-3249 Change-Id: Id7e72b20971d6d8a88c34209870e402a6240187e Signed-off-by: Alpert, Matthew (ma1944) <ma1944@att.com>
2021-01-14Adding relationship-properties to v22 schemaALPERT1-34/+494
Removing properties block added to aai_oxm_v22.xml Add properties to onap blocks in v22 schema Adding data-owner,data-source, and data-source version to onap only blocks in aai_oxm_v22.xml Fix typo v22 schema Chane instance of "data-onwer" to "data-owner" n aai_oxm_v22.xml Issue-ID: AAI-3196 Change-Id: I012cf96d8037b9889f8149a4ad41d6a3da713402 Signed-off-by: Alpert, Matthew (ma1944) <ma1944@att.com>
2021-01-14Fixing mistaken schema change in aggregate-routeALPERT1-4/+4
Removing required properties tag for three aggregate-route properties Issue-ID: AAI-3196 Change-Id: I4ca414f47820adc6fb6d2f46aeb87583dffd2571 Signed-off-by: Alpert, Matthew (ma1944) <ma1944@att.com>
2021-01-13Pushing v22 schema to onapALPERT2-163/+2959
Making changes to DbEdgeRules_v22 and aai_oxm_v22 to update with approved changes Issue-ID: AAI-3196 Change-Id: I1d896060abdd55fa315f4eb7e1589cbcbd2a5b67 Signed-off-by: Alpert, Matthew (ma1944) <ma1944@att.com>
2020-12-17Upversion to 1.8.2-SNAPSHOTHarish Venkata Kajur7-7/+7
Issue-ID: AAI-3200 Change-Id: I8405372a5dc35e5e8af6145a6881e680e0d57e77 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-12-16Release 1.8.1 maven artifactHarish Venkata Kajur1-0/+4
Issue-ID: AAI-3200 Change-Id: I2dfd8685ed6e954a7863bc2e93013e914d5bc273 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-12-16Update to move attributes to tenantHarish Venkata Kajur2-24/+24
Issue-ID: AAI-3200 Change-Id: I3fa07e3fe72bf68b7aa583036c78bb1ce598f861 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-12-12Merge "Upversion to 1.8.1-SNAPSHOT"Manisha Aggarwal7-7/+7
2020-12-12Upversion to 1.8.1-SNAPSHOTHarish Venkata Kajur7-7/+7
Issue-ID: AAI-3200 Change-Id: I3764df33fe89f6d9204c7c6cbe0a7af4b6f830ba Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-12-12Release 1.8.0 maven artifactHarish Venkata Kajur1-0/+4
Issue-ID: AAI-3200 Change-Id: I2d4e558182d8be30452834706ca7d61d080f0945 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-12-12Add support for v22 oxmHarish Venkata Kajur15-186/+34007
Issue-ID: AAI-3200 Change-Id: Ib392325a05155c98824726bb5198604bbfbb4d3c Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-12-04Update network-route dbdege rulezm3301-1/+1
Issue-ID: AAI-3227 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Id8e91f7812182ea712cbfb2853f3f508ea43b4fb
2020-12-03Updated AAI schema and DBEdge rules for theMehreen Kaleem8-48/+12
MDONS use Case Issue-ID: AAI-3225 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com> Change-Id: I207ee99270a1bf6d346e9e4fd4431bb79fda3be3
2020-11-15Upversion artifacts to 1.8.0-SNAPSHOTHarish Venkata Kajur7-8/+8
Issue-ID: AAI-3222 Change-Id: I29b34c5097b390a1a3d8f36b6d83ef50ce2f04bb Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-11-12Upversion to the 1.7.13 version of the schema service including an edge rule ↵wreehil7-7/+7
update for network slicing Issue-ID: AAI-3220 Signed-off-by: wreehil <wr148d@att.com> Change-Id: Ide6a680167972f848c7f0697fd77caa9db65e2a5
2020-11-11Updated the edge rules for nsi and nssi use cases for network slicing featurewreehil1-1/+1
Issue-ID: AAI-3220 Signed-off-by: wreehil <wr148d@att.com> Change-Id: I484b35197c10b65620897b0b6299b7e6bb40ebe1
2020-11-09Added DbEdgerules-Fix for Multiplicity Violationhariharan971-1/+1
Issue-ID: AAI-3220 Signed-off-by: hariharan97 <rh20085046@wipro.com> Change-Id: Id4ecf2c514c189f812b5b4a5a348320ba98283ca Signed-off-by: hariharan97 <rh20085046@wipro.com>
2020-10-29Release the 1.7.12 docker release for the network slicing functional use casewreehil1-0/+7
Issue-ID: AAI-3212 Signed-off-by: wreehil <wr148d@att.com> Change-Id: I8653996380e83a5f4052074dc796813dda6d5eb0
2020-10-29Release the 1.7.12 maven artifact for the network slicing functional use casewreehil1-0/+4
Issue-ID: AAI-3212 Signed-off-by: wreehil <wr148d@att.com> Change-Id: I004cf7f83f67df30bd950106beef05b48b9c8606
2020-10-29Upversion schema service to 1.7.12 for the network slicing functional use casewreehil7-7/+7
Issue-ID: AAI-3212 Signed-off-by: wreehil <wr148d@att.com> Change-Id: Ifcefe255f0a2b6971f77db7752696e9ca29cc9ba
2020-10-28change edge rule between connectivity and service-instancehyu20101-1/+1
This update contains for the fix for the following JIRA: AAI-3212: Transport Slicing integration: fail to relate two connectivity nodes to one service-instance Issue-ID: AAI-3212 Signed-off-by: hyu2010 <hyu2010b@gmail.com> Change-Id: I7295efdb97bb6106be6f41fc9bdf8e522a05d5c0
2020-10-27Merge "Release 1.7.11 docker container"William Reehil1-0/+7
2020-10-26Release 1.7.11 maven artifactHarish Venkata Kajur1-0/+4
Issue-ID: AAI-3211 Change-Id: I9d6b9110283f001b7b55ed09148d953db7cf2f7b Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-10-26Release 1.7.11 docker containerHarish Venkata Kajur1-0/+7
Issue-ID: AAI-3211 Change-Id: Ibceac9b1e88d3c97e3141b13d57a5d6a31a0ffb9 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-10-26Update version properties to 1.7.11Harish Venkata Kajur1-1/+1
Issue-ID: AAI-3211 Change-Id: I88816dcb68e3eb37f6d09e9a69e2f526ebb285a6 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-10-25Add back missing ccvpn network slicing elementsHarish Venkata Kajur10-1342/+1362
Issue-ID: AAI-3211 Change-Id: Ia9babe5da53f98a88ffd754e4bd8e29405a261bf Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-10-12Release the 1.7.10 docker release for the network slicing functional use casewreehil1-0/+7
Issue-ID: AAI-2919 Signed-off-by: wreehil <wr148d@att.com> Change-Id: I3f4e0088ae71dbcfafce63c23d1cec28de52930a
2020-10-12Release the 1.7.10 maven artifacts for the network slicing functional use casewreehil1-0/+4
Issue-ID: AAI-2919 Signed-off-by: wreehil <wr148d@att.com> Change-Id: I88478db87b1c72cd901219ad597781f180bf9122
2020-09-17Upversion to 1.7.10-SNAPSHOTHarish Venkata Kajur7-7/+7
Issue-ID: AAI-3185 Change-Id: Ia5fddb90571797fa62d41e36ea2a8484f70b2111 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-09-17Allow relationship from vf-module to tenantMunir Ahmad1-0/+12
this is to consistently link a vf-module (smallest deployable unit) to tenant. currently vserver is under a tenant however if a vf-module does not have a vserver there is no consistent way of determining under which tenant it is deployed Issue-ID: AAI-3185 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: I11641c6300e7e5a4bd503736d1072af58f8c21b8
2020-09-10Update serviceProfile and sliceProfile attributeszm3304-735/+687
According to 3GPP add some attributes and delete some attributes of serviceProfile and sliceProfile for E2E network slicing usecase. Issue-ID: AAI-2919 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: If715f7432cde1254315ff1f2587cc0af59a21a10
2020-09-09Release 1.7.9 docker imageMaharajh, Robby (rx2202)1-0/+7
Issue-ID: AAI-2920 Change-Id: Ib0c216c4277d233e4c6e46ea970d413791e0cee8 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2020-09-09Release 1.7.9 maven artifactMaharajh, Robby (rx2202)1-0/+4
Issue-ID: AAI-2920 Change-Id: I8f607e3bbc56d75447eb575183fc536178641852 Signed-off-by: Maharajh, Robby (rx2202) <rx2202@us.att.com>
2020-09-09Use network-route to model 3GPP EP_Transporthyu20103-0/+37
(1) Add logicalInterfaceId attribute to "network-route" (2) Add cousin-edge rule between "service-instance" and "network-route" (one-to-many relation) (3) Add cousin-edge rule between allotted-resource and logical-links (one-to-many relation). This is needed for the TN NSSI model Issue-ID: AAI-2920 Signed-off-by: hyu2010 <henry.yu1@huawei.com> Change-Id: If0efa747bdbcd4a4bc4d73fadde66fe721cbfcb8 Signed-off-by: hyu2010 <henry.yu1@huawei.com>
2020-09-09Fix duplicate edgerules causing issues in creationHarish Venkata Kajur12-161/+53
Issue-ID: SO-3216 Change-Id: I140445445625d34edbc82305da323a5394433e2b Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-09-09Reverting the schema service changes for transport epHarish Venkata Kajur13-1041/+550
We will be instead using the network-route Issue-ID: AAI-2920 Issue-ID: SO-3216 Change-Id: Ie2fab6bc4d2a0cf8db93b6e3623f49b73f4394b6 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
-580/+1630
Also sync up the older versions to match internal Issue-ID: AAI-3127 Change-Id: I7cfcf576ae151b6bad7a08f7d18f0e48db8d667b Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
2020-08-31Reviewed the INFO.yamls and made some updates to ptl etc.wreehil1-1/+1
Issue-ID: AAI-3118 Signed-off-by: wreehil <wr148d@att.com> Change-Id: I43f0078bcca57eca3047bb844a93b23617bf151b
2020-08-28Merge "Add network-resource-type to network-resource"William Reehil2-2/+15
2020-08-28Merge "[aai-schema-svc] Release 1.7.6 docker artifact"William Reehil1-0/+7
2020-08-28[aai-schema-svc] Release 1.7.6 docker artifactefiacor1-0/+7
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I8c423ed54b674c5c14db51322079dfb385c45d12 Issue-ID: AAI-3120
span class="cp">${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> <!--sonar.jacoco.itReportPath>${project.mso.base.folder}/packages/arquillian-unit-tests/target/mso-automated-tests/jacoco-it.exec</sonar.jacoco.itReportPath --> <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> <sonar.projectVersion>${project.version}</sonar.projectVersion> <sonar.cpd.exclusions>**/*</sonar.cpd.exclusions> <jacoco.version>0.8.5</jacoco.version> <org.apache.maven.user-settings /> <openstack.version>1.6.1-SNAPSHOT</openstack.version> <maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format> <originalClassifier>original</originalClassifier> <docker.skip>true</docker.skip> <docker.skip.build>true</docker.skip.build> <docker.skip.push>true</docker.skip.push> <docker.buildArg.project_version>${project.version}</docker.buildArg.project_version> <docker.buildArg.artifact_id>${project.artifactId}</docker.buildArg.artifact_id> <docker.buildArg.docker_repository>${dockerPullRepo}</docker.buildArg.docker_repository> <enforcer.skip>false</enforcer.skip> <nexusproxy>https://nexus.onap.org</nexusproxy> <releaseNexusPath>content/repositories/releases/</releaseNexusPath> <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath> <publicNexusPath>content/repositories/public/</publicNexusPath> <siteNexusPath>content/sites/site/org/onap/so/${project.version}/</siteNexusPath> <cxf.version>3.3.3</cxf.version> <jax.ws.rs>2.1</jax.ws.rs> <springboot.version>2.1.5.RELEASE</springboot.version> <camunda.springboot.version>3.2.0</camunda.springboot.version> <format.skipValidate>false</format.skipValidate> <format.skipExecute>true</format.skipExecute> <io.fabric8.version>0.33.0</io.fabric8.version> <appc.client.version>1.7.1</appc.client.version> <bowman.client.version>0.8.0</bowman.client.version> <aaf.cadi.version>2.1.15</aaf.cadi.version> </properties> <distributionManagement> <repository> <id>ecomp-releases</id> <url>${nexusproxy}/${releaseNexusPath}</url> </repository> <snapshotRepository> <id>ecomp-snapshots</id> <url>${nexusproxy}/${snapshotNexusPath}</url> </snapshotRepository> <site> <id>ecomp-site</id> <url>dav:${nexusproxy}${siteNexusPath}</url> </site> </distributionManagement> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.4</version> <configuration> <failOnError>false</failOnError> <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> <docletArtifact> <groupId>org.umlgraph</groupId> <artifactId>umlgraph</artifactId> <version>5.6</version> </docletArtifact> <additionalparam>-views</additionalparam> <useStandardDocletOptions>true</useStandardDocletOptions> </configuration> </plugin> </plugins> </reporting> <!-- configure build --> <!-- *********************************************************************************************************** --> <!-- Plugins and repositories --> <pluginRepositories> <pluginRepository> <id>central</id> <url>http://repo1.maven.org/maven2</url> </pluginRepository> <pluginRepository> <id>restlet</id> <url>http://maven.restlet.com</url> </pluginRepository> <pluginRepository> <id>ecomp-public</id> <url>${nexusproxy}/${publicNexusPath}</url> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>ecomp-release</id> <url>${nexusproxy}/${releaseNexusPath}</url> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>ecomp-snapshots</id> <url>${nexusproxy}/${snapshotNexusPath}</url> <releases> <enabled>false</enabled> </releases> </pluginRepository> </pluginRepositories> <repositories> <repository> <id>ecomp-public</id> <url>https://nexus.onap.org/content/repositories/public/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>ecomp-releases</id> <url>https://nexus.onap.org/content/repositories/releases/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>ecomp-snapshots</id> <url>https://nexus.onap.org/content/repositories/snapshots/</url> <releases> <enabled>false</enabled> </releases> </repository> <repository> <id>camunda-bpm</id> <url>https://app.camunda.com/nexus/content/repositories/camunda-bpm/</url> </repository> <repository> <id>camunda-public</id> <url>https://app.camunda.com/nexus/content/groups/public</url> </repository> <repository> <!-- TODO: remove from ONAP environemnt --> <id>onap-releases</id> <url>https://nexus.onap.org/content/repositories/releases/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <!-- TODO: remove from ONAP environemnt --> <id>onap-snapshots</id> <url>https://nexus.onap.org/content/repositories/snapshots/</url> <releases> <enabled>false</enabled> </releases> </repository> </repositories> <!-- *********************************************************************************************************** --> <!-- Build --> <build> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> <resource> <directory>target/generated-sources/license</directory> <includes> <include>third-party-licenses.txt</include> </includes> </resource> <resource> <directory>target/generated-resources/licenses</directory> <includes> <include>*.*</include> </includes> <targetPath>third-party-licenses</targetPath> </resource> </resources> <plugins> <!-- <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.7</version> <extensions>true</extensions> <configuration> <nexusUrl>${nexusproxy}</nexusUrl> <stagingProfileId>176c31dfe190a</stagingProfileId> <serverId>ecomp-staging</serverId> </configuration> </plugin> --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8</version> <!-- This version supports the "deployAtEnd" parameter --> <configuration> <skip /> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <debug>true</debug> <compilerArgument>-Xlint</compilerArgument> <verbose>true</verbose> <showDeprecation>true</showDeprecation> <showWarnings>true</showWarnings> <compilerArgs> <arg>-parameters</arg> </compilerArgs> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ejb-plugin</artifactId> <version>2.2.1</version> <configuration> <ejbVersion>3.0</ejbVersion> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.17</version> <configuration> <skip>true</skip> <includes>**/org/openecomp/**/*.java</includes> <configLocation>/google_checks.xml</configLocation> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>2.5.2</version> <configuration> <includeFilterFile>project-configs/code-tools/findbugs_include_filter.xml</includeFilterFile> <nested>true</nested> <findbugsXmlOutput>true</findbugsXmlOutput> <findbugsXmlWithMessages>true</findbugsXmlWithMessages> <xmlOutput>true</xmlOutput> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>5.1</version> </plugin> <plugin> <artifactId>maven-scm-plugin</artifactId> <version>1.8.1</version> <configuration> <tag>${project.artifactId}-${project.version}</tag> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-site-plugin</artifactId> <version>3.6</version> <dependencies> <dependency> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-webdav-jackrabbit</artifactId> <version>2.10</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.5.2</version> <configuration> <formats> <format>xml</format> </formats> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>versions-maven-plugin</artifactId> <version>1.3.1</version> </plugin> <plugin> <groupId>com.fortify.ps.maven.plugin</groupId> <artifactId>sca-maven-plugin</artifactId> <version>4.20</version> <configuration> <buildId>mso-${project.version}</buildId> <source>1.8</source> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <executions> <execution> <id>prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <goals> <goal>report</goal> </goals> <configuration> <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile> <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>1.15</version> <configuration> <inceptionYear>2017</inceptionYear> <projectName>ONAP - SO</projectName> <licenseName>apache_v2</licenseName> <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage> <emptyLineAfterHeader>true</emptyLineAfterHeader> <trimHeaderLine>true</trimHeaderLine> <processStartTag>============LICENSE_START=======================================================</processStartTag> <sectionDelimiter>================================================================================</sectionDelimiter> <processEndTag>============LICENSE_END=========================================================</processEndTag> <includes> <include>**/*.java</include> <include>**/*.groovy</include> </includes> <excludes> <exclude>**/com/att/**</exclude> </excludes> </configuration> <executions> <execution> <id>verify-headers</id> <goals> <goal>check-file-header</goal> </goals> <configuration> <failOnNotUptodateHeader>true</failOnNotUptodateHeader> <failOnMissingHeader>true</failOnMissingHeader> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.gmaven</groupId> <artifactId>groovy-maven-plugin</artifactId> <version>2.0</version> <executions> <!-- set absolute base path from super pom --> <execution> <id>find-basepath</id> <phase>validate</phase> <goals> <goal>execute</goal> </goals> <configuration> <source> <![CDATA[ import java.io.File; log.info('## define projects super pom absolute path through basepath_marker') String p = "basepath_marker"; File f = null; if( p != null ) { def _max_child_poms = 0 while( _max_child_poms++ < 5 ) { f = new File( p ); if( f.exists() ) { break; } p = "../" + p; } } if( f != null ) { String basePath = f.getCanonicalPath(); basePath = basePath.substring( 0, basePath.lastIndexOf( File.separator ) ); project.properties['base-path'] = basePath.replace( '\\' , '/'); log.info(' - used base path = ' + project.properties['base-path'] ); } else { log.error( 'Could not find basepath_marker marker file!' ); System.stop( 0 ); } ]]> </source> </configuration> </execution> </executions> </plugin> <plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <version>2.9.0</version> <executions> <execution> <id>format-java</id> <goals> <goal>format</goal> </goals> <phase>process-sources</phase> <configuration> <skip>${format.skipExecute}</skip> <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile> </configuration> </execution> <execution> <id>format-xml</id> <goals> <goal>format</goal> </goals> <phase>process-sources</phase> <configuration> <skip>${format.skipExecute}</skip> <sourceDirectory>${project.basedir}</sourceDirectory> <configXmlFile>${base-path}/project-configs/code-tools/pom-format.properties</configXmlFile> <includes> <include>pom.xml</include> </includes> </configuration> </execution> <execution> <id>validate-java</id> <goals> <goal>validate</goal> </goals> <configuration> <skip>${format.skipValidate}</skip> <configFile>${base-path}/project-configs/code-tools/onap-eclipse-format.xml</configFile> </configuration> </execution> <execution> <id>validate-poms</id> <goals> <goal>validate</goal> </goals> <configuration> <skip>${format.skipValidate}</skip> <configFile>${base-path}/project-configs/code-tools/pom-format.properties</configFile> <includes> <include>pom.xml</include> </includes> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.9.8</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M3</version> <executions> <execution> <id>enforce-property</id> <configuration> <skip>true</skip> </configuration> </execution> <execution> <id>enforce-no-snapshots</id> <configuration> <skip>true</skip> </configuration> </execution> <execution> <id>enforce-banned-dependencies</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <bannedDependencies> <excludes> <exclude>org.powermock</exclude> </excludes> <searchTransitive>false</searchTransitive> </bannedDependencies> </rules> <fail>true</fail> </configuration> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.eclipse.m2e</groupId> <artifactId>lifecycle-mapping</artifactId> <version>1.0.0</version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <versionRange>[1.0.0,)</versionRange> <goals> <goal>check</goal> </goals> </pluginExecutionFilter> <action> <execute /> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId>org.codehaus.gmaven</groupId> <artifactId>groovy-maven-plugin</artifactId> <versionRange>[1.0.0,)</versionRange> <goals> <goal>execute</goal> </goals> </pluginExecutionFilter> <action> <execute /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> <plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> <version>${io.fabric8.version}</version> <configuration> <skip>${docker.skip}</skip> <skipBuild>${docker.skip.build}</skipBuild> <skipPush>${docker.skip.push}</skipPush> <dockerHost>${docker.newHost}</dockerHost> <!-- 1. Update address to your local docker VM. 2. Add IP to your NO_PROXY environment variable --> <certPath>${docker.host.cert.path}</certPath> <!-- Add -Ddocker.host.cert.pat="path to your local certs directory" to maven build command --> <pushRegistry>${dockerPushRepo}</pushRegistry> <!-- Update .m2/settings.xml Add server id settings.dockerRepository, username, and password --> <pullRegistry>${dockerPullRepo}</pullRegistry> <!-- If docker repo is not public. Update .m2/settings.xml Add server id settings.dockerRepository, username, and password --> <images> <image> <alias>service</alias> <name>${project.artifactId}:${project.version}</name> <build> <dockerFileDir>${project.build.directory}</dockerFileDir> </build> </image> </images> </configuration> <executions> <execution> <id>start</id> <goals> <goal>build</goal> <goal>push</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <configuration> <systemPropertyVariables> <so.log.level>DEBUG</so.log.level> </systemPropertyVariables> <rerunFailingTestsCount>2</rerunFailingTestsCount> <parallel>classes</parallel> <useUnlimitedThreads>false</useUnlimitedThreads> <threadCount>1</threadCount> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.22.2</version> <configuration> <skip>true</skip> <systemPropertyVariables> <so.log.level>DEBUG</so.log.level> </systemPropertyVariables> <rerunFailingTestsCount>2</rerunFailingTestsCount> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>extract-docker-file</id> <goals> <goal>unpack</goal> </goals> <configuration> <skip>true</skip> <artifactItems> <artifactItem> <groupId>org.onap.so</groupId> <artifactId>deployment-configs</artifactId> <version>${project.version}</version> <outputDirectory>${project.build.directory}</outputDirectory> <includes>*,scripts/**,certs/**, logger/*.xml</includes> <excludes>Kubernetes</excludes> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> <executions> <execution> <id>original</id> <phase>none</phase> <goals> <goal>jar</goal> </goals> <configuration> <classifier>${originalClassifier}</classifier> <includes> <include>**</include> </includes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${springboot.version}</version> <executions> <execution> <id>build-info</id> <goals> <goal>build-info</goal> </goals> </execution> </executions> </plugin> </plugins> </pluginManagement> </build> <!-- *********************************************************************************************************** --> <!-- Dependencies --> <dependencies> <dependency> <groupId>org.onap.logging-analytics</groupId> <artifactId>logging-slf4j</artifactId> </dependency> <dependency> <groupId>org.onap.logging-analytics</groupId> <artifactId>logging-filter-base</artifactId> </dependency> <dependency> <groupId>org.onap.logging-analytics</groupId> <artifactId>logging-filter-spring</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>jackson-module-jaxb-annotations</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.jaxrs</groupId> <artifactId>jackson-jaxrs-base</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.jaxrs</groupId> <artifactId>jackson-jaxrs-json-provider</artifactId> </dependency> <dependency> <groupId>javax.ws.rs</groupId> <artifactId>javax.ws.rs-api</artifactId> <version>${jax.ws.rs}</version> </dependency> <dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>1</version> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-library</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>xmlunit</groupId> <artifactId>xmlunit</artifactId> <version>1.6</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.tomakehurst</groupId> <artifactId>wiremock-standalone</artifactId> <version>2.13.0</version> <scope>test</scope> <exclusions> <exclusion> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty</artifactId> </exclusion> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </exclusion> <exclusion> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> </exclusion> <exclusion> <groupId>org.skyscreamer</groupId> <artifactId>jsonassert</artifactId> </exclusion> <exclusion> <groupId>xmlunit</groupId> <artifactId>xmlunit</artifactId> </exclusion> <exclusion> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> </exclusion> <exclusion> <groupId>net.sf.jopt-simple</groupId> <artifactId>jopt-simple</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.openpojo</groupId> <artifactId>openpojo</artifactId> <version>0.8.13</version> </dependency> <dependency> <groupId>com.shazam</groupId> <artifactId>shazamcrest</artifactId> <version>0.11</version> <scope>test</scope> <exclusions> <exclusion> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </exclusion> <exclusion> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.11.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> <version>7.0</version> <scope>test</scope> </dependency> <dependency> <groupId>com.googlecode.junit-toolbox</groupId> <artifactId>junit-toolbox</artifactId> <version>2.4</version> </dependency> </dependencies> <dependencyManagement> <dependencies> <dependency> <groupId>org.onap.logging-analytics</groupId> <artifactId>logging-slf4j</artifactId> <version>1.6.7-SNAPSHOT</version> </dependency> <dependency> <groupId>org.onap.logging-analytics</groupId> <artifactId>logging-filter-base</artifactId> <version>1.6.7-SNAPSHOT</version> </dependency> <dependency> <groupId>org.onap.logging-analytics</groupId> <artifactId>logging-filter-spring</artifactId> <version>1.6.7-SNAPSHOT</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.4.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.12</version> <scope>compile</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.5</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.sun.xml.fastinfoset</groupId> <artifactId>FastInfoset</artifactId> <version>1.2.13</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>${springboot.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>1.23</version> </dependency> <dependency> <groupId>javax.interceptor</groupId> <artifactId>javax.interceptor-api</artifactId> <version>1.2.2</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <version>${springboot.version}</version> <exclusions> <exclusion> <groupId>com.vaadin.external.google</groupId> <artifactId>android-json</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>net.javacrumbs.shedlock</groupId> <artifactId>shedlock-spring</artifactId> <version>4.0.0</version> </dependency> <dependency> <groupId>net.javacrumbs.shedlock</groupId> <artifactId>shedlock-provider-jdbc-template</artifactId> <version>4.0.0</version> </dependency> <dependency> <groupId>org.flywaydb</groupId> <artifactId>flyway-core</artifactId> <version>5.2.4</version> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20140107</version> </dependency> <dependency> <groupId>org.onap.aai.schema-service</groupId> <artifactId>aai-schema</artifactId> <version>1.7.2</version> </dependency> </dependencies> </dependencyManagement> <profiles> <profile> <id>docker-image-build</id> <properties> <docker.skip>false</docker.skip> <docker.skip.build>false</docker.skip.build> </properties> </profile> <profile> <id>docker-image-build-push</id> <properties> <docker.skip>false</docker.skip> <docker.skip.build>false</docker.skip.build> <docker.skip.push>false</docker.skip.push> </properties> </profile> <profile> <id>format</id> <properties> <format.skipValidate>true</format.skipValidate> <format.skipExecute>false</format.skipExecute> </properties> </profile> <profile> <id>m2e</id> <activation> <property> <name>m2e.version</name> </property> </activation> <properties> <originalClassifier /> </properties> </profile> <profile> <id>java8</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <forceJavacCompilerUse>true</forceJavacCompilerUse> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build> <activation> <property> <name>m2e.version</name> </property> <activeByDefault>true</activeByDefault> </activation> </profile> <profile> <id>java11</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <forceJavacCompilerUse>true</forceJavacCompilerUse> <source>11</source> <target>11</target> <release>11</release> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>