<parent>
<groupId>org.onap.so.adapters.so-cnf-adapter</groupId>
<artifactId>packages</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.adapters.so-cnf-adapter.packages</groupId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
<packaging>pom</packaging>
<artifactId>docker</artifactId>
<name>Docker Packaging</name>
<parent>
<groupId>org.onap.so.adapters.so-cnf-adapter</groupId>
<artifactId>so-cnf-adapter</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
</parent>
<artifactId>packages</artifactId>
<packaging>pom</packaging>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
<name>Packages</name>
<profiles>
</parent>
<groupId>org.onap.so.adapters.so-cnf-adapter</groupId>
<artifactId>so-cnf-adapter</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
<name>SO CNF Adapter</name>
<packaging>pom</packaging>
<parent>
<groupId>org.onap.so.adapters.so-cnf-adapter</groupId>
<artifactId>so-cnf-adapter</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
</parent>
<artifactId>so-cnf-adapter-application</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
<name>SO CNF Application Jar</name>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
import org.springframework.boot.autoconfigure.liquibase.LiquibaseAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.ComponentScan;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.web.client.RestTemplate;
@SpringBootApplication
-@ComponentScan(basePackages = {"org.onap.so.adapters.cnf", "org.onap.so.spring"})
@EnableAutoConfiguration(exclude = {LiquibaseAutoConfiguration.class, HibernateJpaAutoConfiguration.class,
DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class,
SecurityAutoConfiguration.class})
-@Configuration
public class MSOCnfApplication {
public static void main(String... args) {
SpringApplication.run(MSOCnfApplication.class, args);
}
-
- @Bean
- public RestTemplate restTemplate() {
- return new RestTemplate();
- }
}
--- /dev/null
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP - SO
+ * ================================================================================
+ * Copyright (C) 2025 Deutsche Telekom. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.so.adapters.cnf;
+
+import org.springframework.boot.web.client.RestTemplateBuilder;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.web.client.RestTemplate;
+
+@Configuration
+public class RestClientConfiguration {
+
+ @Bean
+ RestTemplate restTemplate(RestTemplateBuilder builder) {
+ return builder.build();
+ }
+}
<parent>
<groupId>org.onap.so.adapters.so-cnf-adapter</groupId>
<artifactId>so-cnf-adapter</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
</parent>
<artifactId>so-cnfm</artifactId>
<packaging>pom</packaging>
<parent>
<groupId>org.onap.so.adapters.so-cnf-adapter</groupId>
<artifactId>so-cnfm</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.adapters.so-cnf-adapter.so-cnfm.lcm</groupId>
<parent>
<groupId>org.onap.so.adapters.so-cnf-adapter.so-cnfm.lcm</groupId>
<artifactId>so-cnfm-lcm</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
</parent>
<artifactId>so-cnfm-lcm-api</artifactId>
<parent>
<groupId>org.onap.so.adapters.so-cnf-adapter.so-cnfm.lcm</groupId>
<artifactId>so-cnfm-lcm</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
</parent>
<artifactId>so-cnfm-lcm-application</artifactId>
<parent>
<groupId>org.onap.so.adapters.so-cnf-adapter.so-cnfm.lcm</groupId>
<artifactId>so-cnfm-lcm</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
</parent>
<artifactId>so-cnfm-lcm-bpmn-flows</artifactId>
<parent>
<groupId>org.onap.so.adapters.so-cnf-adapter.so-cnfm.lcm</groupId>
<artifactId>so-cnfm-lcm</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
</parent>
<artifactId>so-cnfm-lcm-database-service</artifactId>
<parent>
<groupId>org.onap.so.adapters.so-cnf-adapter.so-cnfm.lcm</groupId>
<artifactId>so-cnfm-lcm</artifactId>
- <version>1.12.1-SNAPSHOT</version>
+ <version>1.13.0-SNAPSHOT</version>
</parent>
<artifactId>so-cnfm-lcm-service</artifactId>
# because they are used in Jenkins, whose plug-in doesn't support..
major=1
-minor=12
-patch=3
+minor=13
+patch=0
base_version=${major}.${minor}.${patch}