diff options
author | Shadi Haidar <sh1986@att.com> | 2018-10-21 14:51:22 -0400 |
---|---|---|
committer | Haidar, Shadi (sh1986) <sh1986@att.com> | 2018-11-07 09:25:50 -0500 |
commit | edb7b340c2f055af88e1ff9a4c7dfc0d51ac9b77 (patch) | |
tree | d13dc8e4dad93eee71fab752b299497acfbeca1f /src/gen/java/io/swagger/api/DcaeServiceTypesApi.java | |
parent | e09d200eaf5a3b36652433f3b8581192d7e0b52b (diff) |
xAdd application/component.
Change-Id: Ib60ef8f3e64aa03dfa49b7c542ac7bae1e25175f
Issue-ID: DCAEGEN2-879
Signed-off-by: Shadi Haidar <sh1986@att.com>
Signed-off-by: Haidar, Shadi (sh1986) <sh1986@att.com>
Diffstat (limited to 'src/gen/java/io/swagger/api/DcaeServiceTypesApi.java')
-rw-r--r-- | src/gen/java/io/swagger/api/DcaeServiceTypesApi.java | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/src/gen/java/io/swagger/api/DcaeServiceTypesApi.java b/src/gen/java/io/swagger/api/DcaeServiceTypesApi.java index 72f1f63..5ff9eb3 100644 --- a/src/gen/java/io/swagger/api/DcaeServiceTypesApi.java +++ b/src/gen/java/io/swagger/api/DcaeServiceTypesApi.java @@ -45,7 +45,7 @@ public class DcaeServiceTypesApi { public static Link buildLinkForGet(UriInfo uriInfo, String rel, String typeName, Boolean onlyLatest, Boolean onlyActive, String vnfType, String serviceId, String serviceLocation, String asdcServiceId, - String asdcResourceId, Integer offset) { + String asdcResourceId, Integer offset, String application, String component, String owner) { UriBuilder ub = uriInfo.getBaseUriBuilder().path(DcaeServiceTypesApi.class) .path(DcaeServiceTypesApi.class, "dcaeServiceTypesGet"); @@ -76,6 +76,15 @@ public class DcaeServiceTypesApi { if (offset != null) { ub.queryParam("offset", offset); } + if (application != null) { + ub.queryParam("application", application); + } + if (component != null) { + ub.queryParam("component", component); + } + if (owner != null) { + ub.queryParam("owner", owner); + } Link.Builder lb = Link.fromUri(ub.build()); lb.rel(rel); @@ -90,7 +99,7 @@ public class DcaeServiceTypesApi { @io.swagger.annotations.ApiResponses(value = { @io.swagger.annotations.ApiResponse(code = 200, message = "List of `DCAEServiceType` objects", response = InlineResponse200.class)}) public Response dcaeServiceTypesGet( - @ApiParam(value = "Filter by service type name") @QueryParam("typeName") String typeName, + @ApiParam(value = "Filter by service type name. Wildcards matches with asterick(s) allowed.") @QueryParam("typeName") String typeName, @ApiParam(value = "If set to true, query returns just the latest versions of DCAE service types. If set to false, then all versions are returned. Default is true") @DefaultValue("true") @QueryParam("onlyLatest") Boolean onlyLatest, @ApiParam(value = "If set to true, query returns only *active* DCAE service types. If set to false, then all DCAE service types are returned. Default is true") @@ -106,10 +115,14 @@ public class DcaeServiceTypesApi { @ApiParam(value = "Filter by associated asdc design resource id. Setting this to `NONE` will return instances that have asdc resource id set to null") @QueryParam("asdcResourceId") String asdcResourceId, @ApiParam(value = "Query resultset offset used for pagination (zero-based)") @QueryParam("offset") Integer offset, - @Context SecurityContext securityContext) + @Context SecurityContext securityContext, + @ApiParam(value = "Filter by associated application.") @QueryParam("application") String application, + @ApiParam(value = "Filter by associated component or sub-application module.") @QueryParam("component") String component, + @ApiParam(value = "Filter by associated owner.") @QueryParam("owner") String owner + ) throws NotFoundException { return delegate.dcaeServiceTypesGet(typeName, onlyLatest, onlyActive, vnfType, serviceId, serviceLocation, - asdcServiceId, asdcResourceId, offset, uriInfo, securityContext); + asdcServiceId, asdcResourceId, offset, uriInfo, securityContext, application, component, owner); } public static Link buildLinkForGet(UriInfo uriInfo, String rel, String typeId) { |