Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright © 2017-2018 AT&T Intellectual Property. |
| 4 | ~ |
Brinda Santh | afbc152 | 2018-08-23 23:34:05 -0400 | [diff] [blame] | 5 | ~ Modifications Copyright © 2018 IBM. |
Steve Alphonse Siani | a5f9b6f | 2019-01-21 11:55:48 -0500 | [diff] [blame] | 6 | ~ Modifications Copyright © 2019 Bell Canada. |
Brinda Santh | afbc152 | 2018-08-23 23:34:05 -0400 | [diff] [blame] | 7 | ~ |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 8 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | ~ you may not use this file except in compliance with the License. |
| 10 | ~ You may obtain a copy of the License at |
| 11 | ~ |
| 12 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | ~ |
| 14 | ~ Unless required by applicable law or agreed to in writing, software |
| 15 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | ~ See the License for the specific language governing permissions and |
| 18 | ~ limitations under the License. |
| 19 | --> |
Dan Timoney | 8edec22 | 2020-04-07 11:51:20 -0400 | [diff] [blame] | 20 | |
Timoney, Dan (dt5972) | 45bdf84 | 2019-08-06 10:19:48 -0400 | [diff] [blame] | 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 22 | <modelVersion>4.0.0</modelVersion> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 23 | |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 24 | <parent> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 25 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 26 | <artifactId>blueprintsprocessor-parent</artifactId> |
Dan Timoney | ae01a98 | 2021-03-09 10:17:30 -0500 | [diff] [blame] | 27 | <version>1.2.0-SNAPSHOT</version> |
Timoney, Dan (dt5972) | 60e75d0 | 2019-11-21 08:29:13 -0500 | [diff] [blame] | 28 | <relativePath>../parent</relativePath> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 29 | </parent> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 30 | |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 31 | <artifactId>blueprintsprocessor-application</artifactId> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 32 | <packaging>jar</packaging> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 33 | |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 34 | <name>MS Blueprints Processor Application</name> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 35 | |
Brinda Santh | 6527962 | 2019-09-06 14:37:04 -0400 | [diff] [blame] | 36 | <properties> |
Brinda Santh | 6527962 | 2019-09-06 14:37:04 -0400 | [diff] [blame] | 37 | <serviceArtifactName>blueprintsprocessor</serviceArtifactName> |
| 38 | <image.name>onap/ccsdk-blueprintsprocessor</image.name> |
Brinda Santh | 6527962 | 2019-09-06 14:37:04 -0400 | [diff] [blame] | 39 | </properties> |
| 40 | |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 41 | <dependencies> |
| 42 | <dependency> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 43 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> |
Brinda Santh | 91b3a64 | 2020-03-06 13:04:37 -0500 | [diff] [blame] | 44 | <artifactId>blueprint-core</artifactId> |
| 45 | <exclusions> |
Steve Siani | e827a3a | 2019-07-09 15:53:57 -0400 | [diff] [blame] | 46 | <exclusion> |
| 47 | <groupId>org.springframework.boot</groupId> |
| 48 | <artifactId>spring-boot-starter-logging</artifactId> |
| 49 | </exclusion> |
| 50 | </exclusions> |
Steve Alphonse Siani | a5f9b6f | 2019-01-21 11:55:48 -0500 | [diff] [blame] | 51 | </dependency> |
| 52 | <dependency> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 53 | <groupId>org.springframework.boot</groupId> |
Alexis de Talhouët | e4a1f83 | 2019-03-04 21:37:27 -0500 | [diff] [blame] | 54 | <artifactId>spring-boot-starter-security</artifactId> |
Steve Siani | e827a3a | 2019-07-09 15:53:57 -0400 | [diff] [blame] | 55 | <exclusions> |
| 56 | <exclusion> |
| 57 | <groupId>org.springframework.boot</groupId> |
| 58 | <artifactId>spring-boot-starter-logging</artifactId> |
| 59 | </exclusion> |
| 60 | </exclusions> |
Alexis de Talhouët | e4a1f83 | 2019-03-04 21:37:27 -0500 | [diff] [blame] | 61 | </dependency> |
| 62 | |
Brinda Santh | 91b3a64 | 2020-03-06 13:04:37 -0500 | [diff] [blame] | 63 | <!-- Error Catalog Services --> |
| 64 | <dependency> |
Dan Timoney | f946eae | 2020-03-17 08:34:04 -0400 | [diff] [blame] | 65 | <groupId>org.onap.ccsdk.cds.error.catalog</groupId> |
Brinda Santh | 91b3a64 | 2020-03-06 13:04:37 -0500 | [diff] [blame] | 66 | <artifactId>error-catalog-services</artifactId> |
| 67 | </dependency> |
| 68 | |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 69 | <!-- North Bound - Modules --> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 70 | <dependency> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 71 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> |
Brinda Santh | 8d3f825 | 2019-08-01 11:25:14 -0400 | [diff] [blame] | 72 | <artifactId>designer-api</artifactId> |
| 73 | </dependency> |
| 74 | <dependency> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 75 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 76 | <artifactId>resource-api</artifactId> |
| 77 | </dependency> |
| 78 | <dependency> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 79 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> |
Brinda Santh | 8d3f825 | 2019-08-01 11:25:14 -0400 | [diff] [blame] | 80 | <artifactId>selfservice-api</artifactId> |
| 81 | </dependency> |
Serge Simard | 34c4246 | 2019-08-08 10:55:57 -0400 | [diff] [blame] | 82 | <dependency> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 83 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> |
Serge Simard | 34c4246 | 2019-08-08 10:55:57 -0400 | [diff] [blame] | 84 | <artifactId>configs-api</artifactId> |
| 85 | </dependency> |
Singal, Kapil (ks220y) | 341db21 | 2019-11-22 18:06:08 -0500 | [diff] [blame] | 86 | <dependency> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 87 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> |
Shaaban Ebrahim | bf30532 | 2019-09-10 18:12:32 +0200 | [diff] [blame] | 88 | <artifactId>health-api</artifactId> |
| 89 | </dependency> |
Shaaban Ebrahim | 843d1f7 | 2019-10-24 12:37:21 +0200 | [diff] [blame] | 90 | <dependency> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 91 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> |
Shaaban Ebrahim | 843d1f7 | 2019-10-24 12:37:21 +0200 | [diff] [blame] | 92 | <artifactId>health-api-common</artifactId> |
Shaaban Ebrahim | 843d1f7 | 2019-10-24 12:37:21 +0200 | [diff] [blame] | 93 | </dependency> |
Shaaban Ebrahim | bf30532 | 2019-09-10 18:12:32 +0200 | [diff] [blame] | 94 | |
Brinda Santh | 8d3f825 | 2019-08-01 11:25:14 -0400 | [diff] [blame] | 95 | <!-- Functions --> |
| 96 | <dependency> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 97 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId> |
Alexis de Talhouët | 7aa5df8 | 2019-02-11 17:23:48 -0500 | [diff] [blame] | 98 | <artifactId>python-executor</artifactId> |
| 99 | </dependency> |
| 100 | <dependency> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 101 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId> |
Huang Cheng | fdfeef7 | 2020-02-04 03:53:15 +0000 | [diff] [blame] | 102 | <artifactId>restful-executor</artifactId> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId> |
Serge Simard | a3d9ac8 | 2019-05-17 06:39:58 -0400 | [diff] [blame] | 106 | <artifactId>ansible-awx-executor</artifactId> |
| 107 | </dependency> |
| 108 | <dependency> |
| 109 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId> |
Alexis de Talhouët | c55160e | 2019-02-12 23:05:01 -0500 | [diff] [blame] | 110 | <artifactId>netconf-executor</artifactId> |
| 111 | </dependency> |
| 112 | <dependency> |
Alexis de Talhouët | c90edac | 2019-03-25 13:04:18 -0400 | [diff] [blame] | 113 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId> |
ottero | 9d33456 | 2019-03-11 14:03:09 +0000 | [diff] [blame] | 114 | <artifactId>restconf-executor</artifactId> |
| 115 | </dependency> |
| 116 | <dependency> |
Brinda Santh | 145662f | 2019-05-16 12:37:55 -0400 | [diff] [blame] | 117 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId> |
| 118 | <artifactId>cli-executor</artifactId> |
| 119 | </dependency> |
Serge Simard | 34c4246 | 2019-08-08 10:55:57 -0400 | [diff] [blame] | 120 | <dependency> |
| 121 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId> |
| 122 | <artifactId>config-snapshots</artifactId> |
| 123 | </dependency> |
Brinda Santh | afbc152 | 2018-08-23 23:34:05 -0400 | [diff] [blame] | 124 | <dependency> |
Marek Szwałkiewicz | 836be77 | 2020-09-02 12:48:47 +0000 | [diff] [blame] | 125 | <groupId>org.onap.ccsdk.cds.blueprintsprocessor.functions</groupId> |
Grzegorz Wielgosinski | efe9319 | 2021-02-03 12:56:59 +0100 | [diff] [blame] | 126 | <artifactId>k8s-connection-plugin</artifactId> |
Marek Szwałkiewicz | 836be77 | 2020-09-02 12:48:47 +0000 | [diff] [blame] | 127 | </dependency> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 128 | |
| 129 | <!-- Test Dependencies --> |
Marek Szwałkiewicz | 836be77 | 2020-09-02 12:48:47 +0000 | [diff] [blame] | 130 | <dependency> |
Muthuramalingam, Brinda Santh(bs2796) | 99b2042 | 2018-12-06 16:46:19 -0500 | [diff] [blame] | 131 | <groupId>com.h2database</groupId> |
| 132 | <artifactId>h2</artifactId> |
| 133 | </dependency> |
| 134 | <dependency> |
Brinda Santh | afbc152 | 2018-08-23 23:34:05 -0400 | [diff] [blame] | 135 | <groupId>org.powermock</groupId> |
| 136 | <artifactId>powermock-api-mockito2</artifactId> |
| 137 | <scope>test</scope> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>org.springframework.boot</groupId> |
| 141 | <artifactId>spring-boot-starter-test</artifactId> |
| 142 | <scope>test</scope> |
| 143 | </dependency> |
| 144 | <dependency> |
| 145 | <groupId>org.jetbrains.kotlin</groupId> |
Muthuramalingam, Brinda Santh(bs2796) | c6ffd3c | 2018-11-10 11:54:05 -0500 | [diff] [blame] | 146 | <artifactId>kotlin-test-junit</artifactId> |
Brinda Santh | afbc152 | 2018-08-23 23:34:05 -0400 | [diff] [blame] | 147 | <scope>test</scope> |
| 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>io.projectreactor</groupId> |
| 151 | <artifactId>reactor-test</artifactId> |
| 152 | <scope>test</scope> |
| 153 | </dependency> |
Singal, Kapil (ks220y) | 8de37f9 | 2020-09-11 13:58:42 -0400 | [diff] [blame] | 154 | |
ebo | 3d96209 | 2019-09-30 13:23:43 +0100 | [diff] [blame] | 155 | <!-- BEGIN UAT --> |
| 156 | <dependency> |
| 157 | <groupId>org.skyscreamer</groupId> |
| 158 | <artifactId>jsonassert</artifactId> |
| 159 | </dependency> |
Eliezio Oliveira | 1e7e4a5 | 2019-07-31 11:50:26 +0100 | [diff] [blame] | 160 | <dependency> |
| 161 | <groupId>org.yaml</groupId> |
| 162 | <artifactId>snakeyaml</artifactId> |
Eliezio Oliveira | 1e7e4a5 | 2019-07-31 11:50:26 +0100 | [diff] [blame] | 163 | </dependency> |
| 164 | <dependency> |
| 165 | <groupId>com.nhaarman.mockitokotlin2</groupId> |
| 166 | <artifactId>mockito-kotlin</artifactId> |
ebo | f2003ee | 2020-03-04 14:17:57 +0000 | [diff] [blame] | 167 | <!-- It's unusual but 'compile' here is the right scope since mockito is being used at runtime by |
| 168 | the UatServices (/api/v1/uat/spy and /api/v1/uat/verify endpoints) --> |
| 169 | <scope>compile</scope> |
Eliezio Oliveira | 1e7e4a5 | 2019-07-31 11:50:26 +0100 | [diff] [blame] | 170 | </dependency> |
| 171 | <dependency> |
ebo | ff445e6 | 2019-08-16 13:18:47 +0000 | [diff] [blame] | 172 | <groupId>com.schibsted.spt.data</groupId> |
| 173 | <artifactId>jslt</artifactId> |
ebo | 3d96209 | 2019-09-30 13:23:43 +0100 | [diff] [blame] | 174 | </dependency> |
| 175 | <dependency> |
| 176 | <groupId>org.apache.httpcomponents</groupId> |
| 177 | <artifactId>httpclient</artifactId> |
| 178 | <version>${apache.httpcomponents.client.version}</version> |
| 179 | </dependency> |
| 180 | <dependency> |
| 181 | <groupId>org.apache.httpcomponents</groupId> |
| 182 | <artifactId>httpmime</artifactId> |
| 183 | <version>${apache.httpcomponents.client.version}</version> |
| 184 | </dependency> |
| 185 | <dependency> |
| 186 | <groupId>com.github.tomakehurst</groupId> |
| 187 | <artifactId>wiremock-jre8</artifactId> |
| 188 | <version>2.25.0</version> |
ebo | ff445e6 | 2019-08-16 13:18:47 +0000 | [diff] [blame] | 189 | <scope>test</scope> |
| 190 | </dependency> |
ebo | 3d96209 | 2019-09-30 13:23:43 +0100 | [diff] [blame] | 191 | <!-- END UAT --> |
ebo | ff445e6 | 2019-08-16 13:18:47 +0000 | [diff] [blame] | 192 | <dependency> |
Eliezio Oliveira | 1e7e4a5 | 2019-07-31 11:50:26 +0100 | [diff] [blame] | 193 | <groupId>ch.qos.logback</groupId> |
| 194 | <artifactId>logback-classic</artifactId> |
Eliezio Oliveira | 1e7e4a5 | 2019-07-31 11:50:26 +0100 | [diff] [blame] | 195 | </dependency> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 196 | </dependencies> |
SINGAL, KAPIL (ks220y) | 24f39fd | 2019-09-17 16:36:59 +0000 | [diff] [blame] | 197 | |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 198 | <build> |
Steve Alphonse Siani | a5f9b6f | 2019-01-21 11:55:48 -0500 | [diff] [blame] | 199 | <resources> |
| 200 | <resource> |
| 201 | <!--config and resource files --> |
| 202 | <directory>${basedir}/etc</directory> |
| 203 | <targetPath>${basedir}/target/etc</targetPath> |
| 204 | <filtering>true</filtering> |
| 205 | <includes> |
| 206 | <include>**/*</include> |
| 207 | </includes> |
| 208 | </resource> |
| 209 | <resource> |
| 210 | <!--config and resource files --> |
| 211 | <directory>${basedir}/src/main/resources</directory> |
| 212 | <targetPath>${basedir}/target/src/main/resources</targetPath> |
| 213 | <filtering>true</filtering> |
| 214 | <includes> |
| 215 | <include>**/*</include> |
| 216 | </includes> |
| 217 | </resource> |
| 218 | <resource> |
| 219 | <directory>src/main/resources</directory> |
| 220 | <includes> |
| 221 | <include>**/*</include> |
| 222 | </includes> |
| 223 | <filtering>true</filtering> |
| 224 | </resource> |
| 225 | </resources> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 226 | <plugins> |
| 227 | <plugin> |
Oleg Mitsura | 8c23129 | 2020-08-20 09:47:26 -0400 | [diff] [blame] | 228 | <groupId>org.apache.maven.plugins</groupId> |
| 229 | <artifactId>maven-surefire-plugin</artifactId> |
| 230 | <version>${maven-surefire-plugin.version}</version> |
| 231 | <configuration> |
| 232 | <!-- Sets the VM argument line used when unit tests are run. --> |
| 233 | <argLine>-Xmx1024m -XX:MaxPermSize=256m ${surefireArgLine}</argLine> |
| 234 | <!-- Excludes integration tests when unit tests are run. --> |
| 235 | <excludes> |
| 236 | <exclude>**/IT*.java</exclude> |
| 237 | </excludes> |
| 238 | <reuseForks>false</reuseForks> |
| 239 | <forkCount>1</forkCount> |
| 240 | </configuration> |
| 241 | </plugin> |
| 242 | <plugin> |
Steve Alphonse Siani | a5f9b6f | 2019-01-21 11:55:48 -0500 | [diff] [blame] | 243 | <artifactId>maven-resources-plugin</artifactId> |
| 244 | <version>2.6</version> |
| 245 | <executions> |
| 246 | <execution> |
| 247 | <id>copy-dockerfile</id> |
| 248 | <goals> |
| 249 | <goal>copy-resources</goal> |
| 250 | </goals><!-- here the phase you need --> |
| 251 | <phase>validate</phase> |
| 252 | <configuration> |
| 253 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
| 254 | <resources> |
| 255 | <resource> |
| 256 | <directory>src/main/docker</directory> |
| 257 | <includes> |
| 258 | <include>*</include> |
| 259 | </includes> |
| 260 | <filtering>true</filtering> |
| 261 | </resource> |
| 262 | </resources> |
| 263 | </configuration> |
| 264 | </execution> |
| 265 | </executions> |
| 266 | </plugin> |
| 267 | <plugin> |
| 268 | <groupId>org.apache.maven.plugins</groupId> |
| 269 | <artifactId>maven-antrun-plugin</artifactId> |
| 270 | <executions> |
| 271 | <execution> |
| 272 | <id>ant-test</id> |
| 273 | <phase>package</phase> |
| 274 | <configuration> |
| 275 | <tasks> |
| 276 | <fixcrlf srcdir="${basedir}" eol="unix" includes="**/*.sh, **/*.source"/> |
| 277 | </tasks> |
| 278 | </configuration> |
| 279 | <goals> |
| 280 | <goal>run</goal> |
| 281 | </goals> |
| 282 | </execution> |
| 283 | </executions> |
| 284 | </plugin> |
Brinda Santh | 6527962 | 2019-09-06 14:37:04 -0400 | [diff] [blame] | 285 | <plugin><!--build the final artifact for docker deployment --> |
| 286 | <artifactId>maven-assembly-plugin</artifactId> |
| 287 | <version>3.1.0</version> |
| 288 | <configuration> |
| 289 | <!-- <skipAssembly>${skip.assembly}</skipAssembly> --> |
| 290 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
| 291 | <descriptors> |
| 292 | <descriptor>src/main/docker/distribution.xml</descriptor> |
| 293 | </descriptors> |
| 294 | <tarLongFileMode>posix</tarLongFileMode> |
| 295 | </configuration> |
| 296 | <executions> |
| 297 | <execution> |
| 298 | <id>${assembly.id}</id> |
| 299 | <phase>package</phase> |
| 300 | <goals> |
| 301 | <goal>single</goal> |
| 302 | </goals> |
| 303 | </execution> |
| 304 | </executions> |
| 305 | </plugin> |
| 306 | <plugin> |
| 307 | <groupId>org.codehaus.groovy.maven</groupId> |
| 308 | <artifactId>gmaven-plugin</artifactId> |
| 309 | <version>1.0</version> |
| 310 | <executions> |
| 311 | <execution> |
| 312 | <phase>validate</phase> |
| 313 | <goals> |
| 314 | <goal>execute</goal> |
| 315 | </goals> |
| 316 | <configuration> |
| 317 | <source>${basedir}/../../../TagVersion.groovy</source> |
| 318 | </configuration> |
| 319 | </execution> |
| 320 | </executions> |
| 321 | </plugin> |
Steve Alphonse Siani | a5f9b6f | 2019-01-21 11:55:48 -0500 | [diff] [blame] | 322 | <plugin> |
ebo | 949fed2 | 2020-03-07 13:46:41 +0000 | [diff] [blame] | 323 | <groupId>pl.project13.maven</groupId> |
| 324 | <artifactId>git-commit-id-plugin</artifactId> |
| 325 | </plugin> |
JakobKrieg | 2675aa7 | 2020-12-01 11:03:14 +0100 | [diff] [blame] | 326 | <plugin> |
| 327 | <groupId>com.github.kongchen</groupId> |
| 328 | <artifactId>swagger-maven-plugin</artifactId> |
| 329 | <version>3.1.8</version> |
| 330 | <configuration> |
| 331 | <apiSources> |
| 332 | <apiSource> |
| 333 | <springmvc>true</springmvc> |
| 334 | <locations> |
JakobKrieg | a4b721c | 2020-12-08 19:04:52 +0100 | [diff] [blame] | 335 | <location>org.onap.ccsdk.cds.blueprintsprocessor.designer.api.BlueprintModelController</location> |
Piotr Stanior | f38e495 | 2020-12-15 10:13:34 +0100 | [diff] [blame] | 336 | <location>org.onap.ccsdk.cds.blueprintsprocessor.designer.api.ResourceDictionaryController</location> |
Piotr Stanior | 325ebe9 | 2021-01-08 14:03:30 +0100 | [diff] [blame] | 337 | <location>org.onap.ccsdk.cds.blueprintsprocessor.designer.api.ModelTypeController</location> |
JakobKrieg | 2675aa7 | 2020-12-01 11:03:14 +0100 | [diff] [blame] | 338 | <location>org.onap.ccsdk.cds.blueprintsprocessor.resource.api</location> |
| 339 | <location>org.onap.ccsdk.cds.blueprintsprocessor.configs.api</location> |
Piotr Stanior | 1080115 | 2020-12-09 09:36:03 +0100 | [diff] [blame] | 340 | <!-- This location is not implemented yet |
JakobKrieg | 2675aa7 | 2020-12-01 11:03:14 +0100 | [diff] [blame] | 341 | <location>org.onap.ccsdk.cds.blueprintsprocessor.healthapi</location> |
JakobKrieg | a4b721c | 2020-12-08 19:04:52 +0100 | [diff] [blame] | 342 | --> |
JakobKrieg | 2675aa7 | 2020-12-01 11:03:14 +0100 | [diff] [blame] | 343 | </locations> |
| 344 | <schemes> |
| 345 | <scheme>http</scheme> |
| 346 | </schemes> |
| 347 | <host>localhost:8080</host> |
| 348 | <info> |
| 349 | <title>CDS Blueprint Processor API Reference</title> |
| 350 | <version>v1</version> |
| 351 | <description> |
| 352 | Shows all resources and endpoints which CDS BP processor currently provides with sample requests/responses, parameter description and other information. |
| 353 | </description> |
| 354 | <termsOfService> |
| 355 | https://www.onap.org/ |
| 356 | </termsOfService> |
| 357 | <contact> |
| 358 | <email>onap-discuss@lists.onap.org</email> |
| 359 | <name>ONAP Community</name> |
| 360 | <url>https://www.onap.org/</url> |
| 361 | </contact> |
| 362 | <license> |
| 363 | <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> |
| 364 | <name>Apache 2.0</name> |
| 365 | </license> |
| 366 | </info> |
| 367 | <securityDefinitions> |
| 368 | <securityDefinition> |
| 369 | <name>Basic Auth</name> |
| 370 | <type>basic</type> |
| 371 | </securityDefinition> |
| 372 | </securityDefinitions> |
JakobKrieg | 76bf2a5 | 2020-12-09 09:09:46 +0100 | [diff] [blame] | 373 | <outputFormats>json</outputFormats> |
JakobKrieg | 2f07722 | 2020-12-02 17:41:55 +0100 | [diff] [blame] | 374 | <swaggerDirectory>${basedir}/../../../docs/api-reference/media</swaggerDirectory> |
JakobKrieg | a4b721c | 2020-12-08 19:04:52 +0100 | [diff] [blame] | 375 | <swaggerFileName>cds-bp-processor-api-swagger</swaggerFileName> |
JakobKrieg | 2675aa7 | 2020-12-01 11:03:14 +0100 | [diff] [blame] | 376 | <jsonExampleValues>true</jsonExampleValues> |
| 377 | <operationIdFormat>{{className}}_{{methodName}}_{{httpMethod}}.{{packageName}}</operationIdFormat> |
| 378 | </apiSource> |
| 379 | </apiSources> |
| 380 | </configuration> |
| 381 | <executions> |
| 382 | <execution> |
| 383 | <phase>compile</phase> |
| 384 | <goals> |
| 385 | <goal>generate</goal> |
| 386 | </goals> |
| 387 | </execution> |
| 388 | </executions> |
| 389 | </plugin> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 390 | </plugins> |
| 391 | </build> |
Brinda Santh | 6527962 | 2019-09-06 14:37:04 -0400 | [diff] [blame] | 392 | |
| 393 | <profiles> |
| 394 | <profile> |
| 395 | <id>docker</id> |
| 396 | <build> |
| 397 | <plugins> |
| 398 | <plugin> |
| 399 | <groupId>io.fabric8</groupId> |
| 400 | <artifactId>docker-maven-plugin</artifactId> |
Singal, Kapil (ks220y) | fbbc9bc | 2020-09-16 10:49:28 -0400 | [diff] [blame] | 401 | <version>0.34.0</version> |
Brinda Santh | 6527962 | 2019-09-06 14:37:04 -0400 | [diff] [blame] | 402 | <inherited>false</inherited> |
| 403 | <configuration> |
| 404 | <images> |
| 405 | <image> |
| 406 | <name>${image.name}</name> |
| 407 | <build> |
| 408 | <cleanup>try</cleanup> |
Singal, Kapil (ks220y) | 11687d2 | 2021-03-19 15:08:22 -0400 | [diff] [blame] | 409 | <noCache>true</noCache> |
Brinda Santh | 6527962 | 2019-09-06 14:37:04 -0400 | [diff] [blame] | 410 | <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir> |
| 411 | <tags> |
| 412 | <tag>${project.docker.latestminortag.version}</tag> |
| 413 | <tag>${project.docker.latestfulltag.version}</tag> |
| 414 | <tag>${project.docker.latesttagtimestamp.version}</tag> |
| 415 | </tags> |
| 416 | </build> |
| 417 | </image> |
| 418 | </images> |
Singal, Kapil (ks220y) | fbbc9bc | 2020-09-16 10:49:28 -0400 | [diff] [blame] | 419 | <verbose>${docker.verbose}</verbose> |
| 420 | <skipPush>${docker.skip.push}</skipPush> |
Brinda Santh | 6527962 | 2019-09-06 14:37:04 -0400 | [diff] [blame] | 421 | </configuration> |
| 422 | <executions> |
| 423 | <execution> |
Singal, Kapil (ks220y) | fbbc9bc | 2020-09-16 10:49:28 -0400 | [diff] [blame] | 424 | <id>build-push-images</id> |
Brinda Santh | 6527962 | 2019-09-06 14:37:04 -0400 | [diff] [blame] | 425 | <goals> |
| 426 | <goal>build</goal> |
| 427 | <goal>push</goal> |
| 428 | </goals> |
| 429 | </execution> |
| 430 | </executions> |
| 431 | </plugin> |
| 432 | </plugins> |
| 433 | </build> |
| 434 | </profile> |
| 435 | </profiles> |
Muthuramalingam, Brinda Santh(bs2796) | 4b3c8a0 | 2018-08-15 21:31:10 +0000 | [diff] [blame] | 436 | </project> |