aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-catalog-db-adapter
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@est.tech>2022-06-16 19:24:18 +0100
committerwaqas.ikram <waqas.ikram@est.tech>2022-06-16 19:24:21 +0100
commita63e25b6acc587e8640e5242dcac9dd0a92862c9 (patch)
tree4bb1df86c7ca95467ddd3d02b3a573062436a18d /adapters/mso-catalog-db-adapter
parent12161045e46f6edd422f265e509c1b21d4f4e07e (diff)
[SO] Fixing build issue
Change-Id: I559a9ff94bc077652336aa5abc80aef942d9cae9 Issue-ID: SO-3905 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'adapters/mso-catalog-db-adapter')
-rw-r--r--adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/ServiceRestImpl.java5
-rw-r--r--adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/VnfRestImpl.java10
2 files changed, 9 insertions, 6 deletions
diff --git a/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/ServiceRestImpl.java b/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/ServiceRestImpl.java
index 9663033c20..b8afcd80f2 100644
--- a/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/ServiceRestImpl.java
+++ b/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/ServiceRestImpl.java
@@ -69,8 +69,9 @@ public class ServiceRestImpl {
}
@GET
- @Operation(description = "Find Service Models", responses = @ApiResponse(
- content = @Content(array = @ArraySchema(schema = @Schema(implementation = Service.class)))))
+ @Operation(description = "Find Service Models",
+ responses = @ApiResponse(
+ content = @Content(array = @ArraySchema(schema = @Schema(implementation = Service.class)))))
@Produces({MediaType.APPLICATION_JSON})
@Transactional(readOnly = true)
public List<Service> queryServices(
diff --git a/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/VnfRestImpl.java b/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/VnfRestImpl.java
index 87526f7009..3a713e0f4a 100644
--- a/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/VnfRestImpl.java
+++ b/adapters/mso-catalog-db-adapter/src/main/java/org/onap/so/adapters/catalogdb/rest/VnfRestImpl.java
@@ -64,8 +64,9 @@ public class VnfRestImpl {
private VnfCustomizationRepository vnfCustRepo;
@GET
- @Operation(description = "Find a VNF model contained within a service", responses = @ApiResponse(
- content = @Content(array = @ArraySchema(schema = @Schema(implementation = Vnf.class)))))
+ @Operation(description = "Find a VNF model contained within a service",
+ responses = @ApiResponse(
+ content = @Content(array = @ArraySchema(schema = @Schema(implementation = Vnf.class)))))
@Path("/{modelCustomizationUUID}")
@Produces({MediaType.APPLICATION_JSON})
@Transactional(readOnly = true)
@@ -88,8 +89,9 @@ public class VnfRestImpl {
}
@PUT
- @Operation(description = "Update a VNF model contained within a service", responses = @ApiResponse(
- content = @Content(array = @ArraySchema(schema = @Schema(implementation = Vnf.class)))))
+ @Operation(description = "Update a VNF model contained within a service",
+ responses = @ApiResponse(
+ content = @Content(array = @ArraySchema(schema = @Schema(implementation = Vnf.class)))))
@Path("/{modelCustomizationUUID}")
@Produces({MediaType.APPLICATION_JSON})
@Transactional