<serverPort>9517</serverPort>
<sslport>8000</sslport>
<nexusproxy>https://nexus.onap.org</nexusproxy>
- <camel-spring-boot.version>2.22.5</camel-spring-boot.version>
+ <camel-spring-boot.version>2.21.1</camel-spring-boot.version>
<config-home>${basedir}/</config-home>
<version.aai-schema>1.6.6</version.aai-schema>
<sitePath>/content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version}</sitePath>
<nexusproxy>https://nexus.onap.org</nexusproxy>
- <spring.boot.version>2.0.9.RELEASE</spring.boot.version>
+ <spring.boot.version>1.5.21.RELEASE</spring.boot.version>
<shemaUnpackVersion>onap</shemaUnpackVersion>
<!-- docker related properties -->
<docker.image.name>sparky-be</docker.image.name>
<scope>import</scope>
</dependency>
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>1.2.3</version>
+ </dependency>
+
</dependencies>
</dependencyManagement>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
- <version>20250107</version>
+ <scope>provided</scope>
</dependency>
<dependency>
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Profile;
import org.springframework.core.env.Environment;
-import org.springframework.web.bind.annotation.GetMapping;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest;
* @return the response
*/
- @PostMapping("/proxy/**")
+ @RequestMapping(value = "/proxy/**", method = {RequestMethod.POST})
public String postProxy(HttpServletRequest request, HttpServletResponse response){
OperationResult or = null;
String results = "";
* @throws Exception
*/
- @PutMapping("/proxy/**")
+ @RequestMapping(value = "/proxy/**", method = {RequestMethod.PUT})
public String putProxy(HttpServletRequest request, HttpServletResponse response){
OperationResult or = null;
String results = "";
* @return the response
*/
- @GetMapping("/proxy/**")
+ @RequestMapping(value = "/proxy/**", method = {RequestMethod.GET})
public String getProxy(HttpServletRequest request, HttpServletResponse response){
OperationResult or = null;
String results = "";
* @return the response
*/
- @PostMapping("/aai/v*/bulk/single-transaction")
+ @RequestMapping(value = "/aai/v*/bulk/single-transaction", method = {RequestMethod.POST})
public String bulkSingleTransaction(HttpServletRequest request, HttpServletResponse response){
String uid = "testuid";
if(this.isPortalEnabled()) {
*/
package org.onap.aai.sparky.aai;
-import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
public FrontEndLayoutApi() {
}
- @GetMapping("/layouts")
+ @RequestMapping(value = "/layouts", method = {RequestMethod.GET})
@ResponseBody
public String getLayouts() {
import java.util.LinkedHashMap;
import java.util.Map;
-import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.lang.StringUtils;
import org.eclipse.jetty.util.security.Password;
import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;
@Value("${schema.ingest.file}") String schemaIngestFileLocation;
@Test
- public void thatFilterAggregationWorks() throws RestClientException, JsonProcessingException {
+ public void someTest() throws RestClientException, JsonProcessingException {
when(searchServiceAdapter.doPost(Mockito.any(), Mockito.any())).thenReturn(operationResult);
when(operationResult.wasSuccessful()).thenReturn(true);
<serverPort>9517</serverPort>
<sslport>8000</sslport>
<nexusproxy>https://nexus.onap.org</nexusproxy>
- <camel-spring-boot.version>2.22.5</camel-spring-boot.version>
+ <camel-spring-boot.version>2.21.1</camel-spring-boot.version>
<config-home>${basedir}/</config-home>
<version.aai.aai-schema-ingest>1.4.1</version.aai.aai-schema-ingest>
<version.aai-schema>1.12.5</version.aai-schema>
<sitePath>/content/sites/site/org/onap/aai/sparky-be/${project.artifactId}/${project.version}</sitePath>
<onap.nexus.url>https://neexus.onap.org</onap.nexus.url>
<jacoco.line.coverage.limit>0.53</jacoco.line.coverage.limit>
- <spring.boot.version>2.0.9.RELEASE</spring.boot.version>
+ <spring.boot.version>1.5.22.RELEASE</spring.boot.version>
</properties>
<dependencyManagement>
<type>pom</type>
<scope>import</scope>
</dependency>
+
+ <dependency>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ <version>1.2.3</version>
+ </dependency>
</dependencies>
</dependencyManagement>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
- <version>20250107</version>
+ <scope>provided</scope>
</dependency>
<dependency>