|
|
|
@@ -62,7 +62,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
* failure the JsonResponseExceptionHandler is handling the
|
|
|
|
* failure the JsonResponseExceptionHandler is handling the
|
|
|
|
* response.
|
|
|
|
* response.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Operation(summary = "Return all Distribution Set Types", description = "Handles the GET request of retrieving all distribution set types. Required Permission: READ_REPOSITORY")
|
|
|
|
@Operation(summary = "Return all Distribution Set Types", description = "Handles the GET request of " +
|
|
|
|
|
|
|
|
"retrieving all distribution set types. Required Permission: READ_REPOSITORY")
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@@ -127,7 +128,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -160,7 +162,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -192,7 +195,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -276,7 +280,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -301,7 +306,9 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
* of SoftwareModuleType.
|
|
|
|
* of SoftwareModuleType.
|
|
|
|
* @return Unpaged list of module types and OK in case of success.
|
|
|
|
* @return Unpaged list of module types and OK in case of success.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Operation(summary = "Return single mandatory Software Module Type in a Distribution Set Type", description = "Handles the GET request of retrieving the single mandatory software module type in that distribution set type. Required Permission: READ_REPOSITORY")
|
|
|
|
@Operation(summary = "Return single mandatory Software Module Type in a Distribution Set Type",
|
|
|
|
|
|
|
|
description = "Handles the GET request of retrieving the single mandatory software module type in that " +
|
|
|
|
|
|
|
|
"distribution set type. Required Permission: READ_REPOSITORY")
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@@ -312,7 +319,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -338,7 +346,9 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
* of SoftwareModuleType.
|
|
|
|
* of SoftwareModuleType.
|
|
|
|
* @return Unpaged list of module types and OK in case of success.
|
|
|
|
* @return Unpaged list of module types and OK in case of success.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Operation(summary = "Return single optional Software Module Type in a Distribution Set Type", description = "Handles the GET request of retrieving the single optional software module type in that distribution set type. Required Permission: READ_REPOSITORY")
|
|
|
|
@Operation(summary = "Return single optional Software Module Type in a Distribution Set Type",
|
|
|
|
|
|
|
|
description = "Handles the GET request of retrieving the single optional software module type in that " +
|
|
|
|
|
|
|
|
"distribution set type. Required Permission: READ_REPOSITORY")
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@@ -349,7 +359,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -373,7 +384,9 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
* of the DistributionSetType.
|
|
|
|
* of the DistributionSetType.
|
|
|
|
* @return Unpaged list of module types and OK in case of success.
|
|
|
|
* @return Unpaged list of module types and OK in case of success.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Operation(summary = "Return optional Software Module Types in a Distribution Set Type", description = "Handles the GET request of retrieving the list of optional software module types in that distribution set type. Required Permission: READ_REPOSITORY")
|
|
|
|
@Operation(summary = "Return optional Software Module Types in a Distribution Set Type",
|
|
|
|
|
|
|
|
description = "Handles the GET request of retrieving the list of optional software module types in that " +
|
|
|
|
|
|
|
|
"distribution set type. Required Permission: READ_REPOSITORY")
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@@ -384,7 +397,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -410,7 +424,9 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return OK if the request was successful
|
|
|
|
* @return OK if the request was successful
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Operation(summary = "Delete a mandatory module from a Distribution Set Type", description = "Handles the DELETE request for removing a software module type from a single distribution set type. Required Permission: DELETE_REPOSITORY")
|
|
|
|
@Operation(summary = "Delete a mandatory module from a Distribution Set Type",
|
|
|
|
|
|
|
|
description = "Handles the DELETE request for removing a software module type from a single " +
|
|
|
|
|
|
|
|
"distribution set type. Required Permission: DELETE_REPOSITORY")
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@@ -421,7 +437,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -446,7 +463,10 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return OK if the request was successful
|
|
|
|
* @return OK if the request was successful
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Operation(summary = "Delete an optional module from a Distribution Set Type", description = "Handles DELETE request for removing an optional module from the distribution set type. Note that a DS type cannot be changed after it has been used by a DS. Required Permission: UPDATE_REPOSITORY and READ_REPOSITORY")
|
|
|
|
@Operation(summary = "Delete an optional module from a Distribution Set Type",
|
|
|
|
|
|
|
|
description = "Handles DELETE request for removing an optional module from the distribution set type. " +
|
|
|
|
|
|
|
|
"Note that a DS type cannot be changed after it has been used by a DS. " +
|
|
|
|
|
|
|
|
"Required Permission: UPDATE_REPOSITORY and READ_REPOSITORY")
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@@ -457,7 +477,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -482,7 +503,10 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return OK if the request was successful
|
|
|
|
* @return OK if the request was successful
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Operation(summary = "Add mandatory Software Module Type to a Distribution Set Type", description = "Handles the POST request for adding a mandatory software module type to a distribution set type.Note that a DS type cannot be changed after it has been used by a DS. Required Permission: UPDATE_REPOSITORY and READ_REPOSITORY")
|
|
|
|
@Operation(summary = "Add mandatory Software Module Type to a Distribution Set Type",
|
|
|
|
|
|
|
|
description = "Handles the POST request for adding a mandatory software module type to a " +
|
|
|
|
|
|
|
|
"distribution set type.Note that a DS type cannot be changed after it has been used by a DS. " +
|
|
|
|
|
|
|
|
"Required Permission: UPDATE_REPOSITORY and READ_REPOSITORY")
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@@ -493,7 +517,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -525,7 +550,10 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @return OK if the request was successful
|
|
|
|
* @return OK if the request was successful
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Operation(summary = "Add optional Software Module Type to a Distribution Set Type", description = "Handles the POST request for adding an optional software module type to a distribution set type.Note that a DS type cannot be changed after it has been used by a DS. Required Permission: UPDATE_REPOSITORY and READ_REPOSITORY")
|
|
|
|
@Operation(summary = "Add optional Software Module Type to a Distribution Set Type",
|
|
|
|
|
|
|
|
description = "Handles the POST request for adding an optional software module type to a " +
|
|
|
|
|
|
|
|
"distribution set type.Note that a DS type cannot be changed after it has been used by a DS. " +
|
|
|
|
|
|
|
|
"Required Permission: UPDATE_REPOSITORY and READ_REPOSITORY")
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "200", description = "Successfully retrieved"),
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@ApiResponse(responseCode = "400", description = "Bad Request - e.g. invalid parameters",
|
|
|
|
@@ -536,7 +564,8 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
description = "Insufficient permissions, entity is not allowed to be changed (i.e. read-only) or " +
|
|
|
|
"data volume restriction applies.",
|
|
|
|
"data volume restriction applies.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.", content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "404", description = "Distribution Set Type not found.",
|
|
|
|
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
@ApiResponse(responseCode = "405", description = "The http request method is not allowed on the resource.",
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
content = @Content(mediaType = "application/json", schema = @Schema(hidden = true))),
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@ApiResponse(responseCode = "406", description = "In case accept header is specified and not application/json.",
|
|
|
|
@@ -556,5 +585,4 @@ public interface MgmtDistributionSetTypeRestApi {
|
|
|
|
MediaType.APPLICATION_JSON_VALUE })
|
|
|
|
MediaType.APPLICATION_JSON_VALUE })
|
|
|
|
ResponseEntity<Void> addOptionalModule(@PathVariable("distributionSetTypeId") Long distributionSetTypeId,
|
|
|
|
ResponseEntity<Void> addOptionalModule(@PathVariable("distributionSetTypeId") Long distributionSetTypeId,
|
|
|
|
MgmtId smtId);
|
|
|
|
MgmtId smtId);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|