You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/03/30 08:43:23 UTC
syncope git commit: [SYNCOPE-1289] missing files
Repository: syncope
Updated Branches:
refs/heads/master 7ba765884 -> ebd04afec
[SYNCOPE-1289] missing files
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/ebd04afe
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/ebd04afe
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/ebd04afe
Branch: refs/heads/master
Commit: ebd04afec4458ad1e79b8985d890611b31f27dff
Parents: 7ba7658
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Fri Mar 30 10:43:16 2018 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Fri Mar 30 10:43:16 2018 +0200
----------------------------------------------------------------------
.../rest/api/service/AccessTokenService.java | 24 ++++++++--------
.../rest/api/service/AnyObjectService.java | 29 ++++++++++----------
.../common/rest/api/service/AnyService.java | 28 +++++++++----------
.../rest/api/service/AnyTypeClassService.java | 8 +++---
.../common/rest/api/service/AnyTypeService.java | 8 +++---
.../rest/api/service/ApplicationService.java | 23 ++++++++--------
.../rest/api/service/ConfigurationService.java | 4 +--
.../api/service/ConnectorHistoryService.java | 4 +--
.../rest/api/service/ConnectorService.java | 8 +++---
.../common/rest/api/service/DomainService.java | 8 +++---
.../rest/api/service/DynRealmService.java | 8 +++---
.../common/rest/api/service/GroupService.java | 29 ++++++++++----------
.../rest/api/service/ImplementationService.java | 19 +++++++------
.../common/rest/api/service/LoggerService.java | 4 +--
.../rest/api/service/MailTemplateService.java | 8 +++---
.../rest/api/service/NotificationService.java | 8 +++---
.../common/rest/api/service/PolicyService.java | 8 +++---
.../common/rest/api/service/RealmService.java | 20 +++++++-------
.../api/service/RelationshipTypeService.java | 8 +++---
.../rest/api/service/RemediationService.java | 17 ++++++------
.../common/rest/api/service/ReportService.java | 8 +++---
.../rest/api/service/ReportTemplateService.java | 8 +++---
.../api/service/ResourceHistoryService.java | 4 +--
.../rest/api/service/ResourceService.java | 8 +++---
.../common/rest/api/service/RoleService.java | 8 +++---
.../common/rest/api/service/SchemaService.java | 8 +++---
.../api/service/SecurityQuestionService.java | 8 +++---
.../common/rest/api/service/SyncopeService.java | 4 +--
.../common/rest/api/service/TaskService.java | 8 +++---
.../rest/api/service/UserSelfService.java | 1 +
.../common/rest/api/service/UserService.java | 1 +
.../rest/api/service/UserWorkflowService.java | 4 +--
.../rest/api/service/WorkflowService.java | 4 +--
.../rest/api/service/CamelRouteService.java | 4 +--
.../rest/api/service/SAML2IdPService.java | 4 +--
.../common/rest/api/service/SAML2SPService.java | 4 +--
.../rest/api/service/SCIMConfService.java | 4 +--
37 files changed, 184 insertions(+), 179 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AccessTokenService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AccessTokenService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AccessTokenService.java
index ff137ab..e9ae07b 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AccessTokenService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AccessTokenService.java
@@ -60,10 +60,10 @@ public interface AccessTokenService extends JAXRSService {
@ApiResponse(responseCode = "204",
description = "JWT successfully generated", headers = {
@Header(name = RESTHeaders.TOKEN, schema =
- @Schema(type = "string"), description = "Generated JWT")
- , @Header(name = RESTHeaders.TOKEN_EXPIRE, schema =
- @Schema(type = "string"), description = "Expiration of the generated JWT") })
- , @ApiResponse(responseCode = "401", description = "Invalid username or password")
+ @Schema(type = "string"), description = "Generated JWT"),
+ @Header(name = RESTHeaders.TOKEN_EXPIRE, schema =
+ @Schema(type = "string"), description = "Expiration of the generated JWT") }),
+ @ApiResponse(responseCode = "401", description = "Invalid username or password")
})
@POST
@Path("login")
@@ -83,8 +83,8 @@ public interface AccessTokenService extends JAXRSService {
description = "JWT successfully refreshed", headers = {
@Header(name = RESTHeaders.TOKEN, schema =
@Schema(type = "string"),
- description = "Generated JWT")
- , @Header(name = RESTHeaders.TOKEN_EXPIRE, schema =
+ description = "Generated JWT"),
+ @Header(name = RESTHeaders.TOKEN_EXPIRE, schema =
@Schema(type = "string"),
description = "Expiration of the refreshed JWT") }))
@POST
@@ -110,9 +110,9 @@ public interface AccessTokenService extends JAXRSService {
* @param query query conditions
* @return paged list of existing access tokens matching the given query
*/
- @ApiOperation(value = "", authorizations = {
- @Authorization(value = "BasicAuthentication"),
- @Authorization(value = "Bearer") })
+ @Operation(security = {
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@GET
@Consumes({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
@Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
@@ -123,9 +123,9 @@ public interface AccessTokenService extends JAXRSService {
*
* @param key access token key
*/
- @ApiOperation(value = "", authorizations = {
- @Authorization(value = "BasicAuthentication"),
- @Authorization(value = "Bearer") })
+ @Operation(security = {
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@ApiResponses(
@ApiResponse(responseCode = "204", description = "Operation was successful"))
@DELETE
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyObjectService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyObjectService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyObjectService.java
index b746403..5f1d10a 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyObjectService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyObjectService.java
@@ -38,6 +38,7 @@ import javax.ws.rs.Produces;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
+import org.apache.syncope.common.lib.SyncopeConstants;
import org.apache.syncope.common.lib.patch.AnyObjectPatch;
import org.apache.syncope.common.lib.to.AnyObjectTO;
import org.apache.syncope.common.lib.to.PagedResult;
@@ -50,8 +51,8 @@ import org.apache.syncope.common.rest.api.beans.AnyQuery;
*/
@Tag(name = "AnyObjects")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("anyObjects")
public interface AnyObjectService extends AnyService<AnyObjectTO> {
@@ -95,11 +96,11 @@ public interface AnyObjectService extends AnyService<AnyObjectTO> {
@Schema(implementation = ProvisioningResult.class)), headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "UUID generated for the any object created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "UUID generated for the any object created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
- description = "URL of the any object created")
- , @Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
+ description = "URL of the any object created"),
+ @Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
description = "Allows the server to inform the "
+ "client about the fact that a specified preference was applied") }))
@@ -133,14 +134,14 @@ public interface AnyObjectService extends AnyService<AnyObjectTO> {
description = "Any object successfully updated enriched with propagation status information, as Entity",
content =
@Content(schema =
- @Schema(implementation = ProvisioningResult.class)))
- , @ApiResponse(responseCode = "204",
+ @Schema(implementation = ProvisioningResult.class))),
+ @ApiResponse(responseCode = "204",
description = "No content if 'Prefer: return-no-content' was specified", headers =
@Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
description = "Allows the server to inform the "
- + "client about the fact that a specified preference was applied"))
- , @ApiResponse(responseCode = "412",
+ + "client about the fact that a specified preference was applied")),
+ @ApiResponse(responseCode = "412",
description = "The ETag value provided via the 'If-Match' header does not match the latest modification"
+ " date of the entity") })
@PATCH
@@ -174,14 +175,14 @@ public interface AnyObjectService extends AnyService<AnyObjectTO> {
description = "Any object successfully updated enriched with propagation status information, as Entity",
content =
@Content(schema =
- @Schema(implementation = ProvisioningResult.class)))
- , @ApiResponse(responseCode = "204",
+ @Schema(implementation = ProvisioningResult.class))),
+ @ApiResponse(responseCode = "204",
description = "No content if 'Prefer: return-no-content' was specified", headers =
@Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
description = "Allows the server to inform the "
- + "client about the fact that a specified preference was applied"))
- , @ApiResponse(responseCode = "412",
+ + "client about the fact that a specified preference was applied")),
+ @ApiResponse(responseCode = "412",
description = "The ETag value provided via the 'If-Match' header does not match the latest modification"
+ " date of the entity") })
@PUT
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyService.java
index 47dcdb5..22e2ba9 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyService.java
@@ -168,14 +168,14 @@ public interface AnyService<TO extends AnyTO> extends JAXRSService {
description = "User, Group or Any Object successfully deleted enriched with propagation status "
+ "information, as Entity", content =
@Content(schema =
- @Schema(implementation = ProvisioningResult.class)))
- , @ApiResponse(responseCode = "204",
+ @Schema(implementation = ProvisioningResult.class))),
+ @ApiResponse(responseCode = "204",
description = "No content if 'Prefer: return-no-content' was specified", headers =
@Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
description = "Allows the server to inform the "
- + "client about the fact that a specified preference was applied"))
- , @ApiResponse(responseCode = "412",
+ + "client about the fact that a specified preference was applied")),
+ @ApiResponse(responseCode = "412",
description = "The ETag value provided via the 'If-Match' header does not match the latest modification"
+ " date of the entity") })
@DELETE
@@ -207,14 +207,14 @@ public interface AnyService<TO extends AnyTO> extends JAXRSService {
@ApiResponse(responseCode = "200",
description = "Bulk action result", content =
@Content(schema =
- @Schema(implementation = BulkActionResult.class)))
- , @ApiResponse(responseCode = "204",
+ @Schema(implementation = BulkActionResult.class))),
+ @ApiResponse(responseCode = "204",
description = "No content if 'Prefer: return-no-content' was specified", headers =
@Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
description = "Allows the server to inform the "
- + "client about the fact that a specified preference was applied"))
- , @ApiResponse(responseCode = "412",
+ + "client about the fact that a specified preference was applied")),
+ @ApiResponse(responseCode = "412",
description = "The ETag value provided via the 'If-Match' header does not match the latest modification"
+ " date of the entity") })
@POST
@@ -247,14 +247,14 @@ public interface AnyService<TO extends AnyTO> extends JAXRSService {
@ApiResponse(responseCode = "200",
description = "Bulk action result", content =
@Content(schema =
- @Schema(implementation = BulkActionResult.class)))
- , @ApiResponse(responseCode = "204",
+ @Schema(implementation = BulkActionResult.class))),
+ @ApiResponse(responseCode = "204",
description = "No content if 'Prefer: return-no-content' was specified", headers =
@Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
description = "Allows the server to inform the "
- + "client about the fact that a specified preference was applied"))
- , @ApiResponse(responseCode = "412",
+ + "client about the fact that a specified preference was applied")),
+ @ApiResponse(responseCode = "412",
description = "The ETag value provided via the 'If-Match' header does not match the latest modification"
+ " date of the entity") })
@POST
@@ -282,8 +282,8 @@ public interface AnyService<TO extends AnyTO> extends JAXRSService {
@ApiResponse(responseCode = "200",
description = "Bulk action result", content =
@Content(schema =
- @Schema(implementation = BulkActionResult.class)))
- , @ApiResponse(responseCode = "204",
+ @Schema(implementation = BulkActionResult.class))),
+ @ApiResponse(responseCode = "204",
description = "No content if 'Prefer: return-no-content' was specified", headers =
@Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyTypeClassService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyTypeClassService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyTypeClassService.java
index 08a0954..e025f94 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyTypeClassService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyTypeClassService.java
@@ -47,8 +47,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "AnyTypeClasses")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("anyTypeClasses")
public interface AnyTypeClassService extends JAXRSService {
@@ -83,8 +83,8 @@ public interface AnyTypeClassService extends JAXRSService {
description = "AnyTypeClass successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "Key value for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyTypeService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyTypeService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyTypeService.java
index 8959c38..9541293 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyTypeService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/AnyTypeService.java
@@ -47,8 +47,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "AnyTypes")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("anyTypes")
public interface AnyTypeService extends JAXRSService {
@@ -83,8 +83,8 @@ public interface AnyTypeService extends JAXRSService {
description = "AnyType successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "Key value for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ApplicationService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ApplicationService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ApplicationService.java
index 5f3c893..b48e82b 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ApplicationService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ApplicationService.java
@@ -38,6 +38,7 @@ import javax.ws.rs.Produces;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
+import org.apache.syncope.common.lib.SyncopeConstants;
import org.apache.syncope.common.lib.to.ApplicationTO;
import org.apache.syncope.common.lib.to.PrivilegeTO;
import org.apache.syncope.common.rest.api.RESTHeaders;
@@ -47,8 +48,7 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "Applications")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- ,
+ @SecurityRequirement(name = "BasicAuthentication"),
@SecurityRequirement(name = "Bearer") })
@Path("applications")
public interface ApplicationService extends JAXRSService {
@@ -59,7 +59,7 @@ public interface ApplicationService extends JAXRSService {
* @return list of all applications.
*/
@GET
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
List<ApplicationTO> list();
/**
@@ -70,7 +70,7 @@ public interface ApplicationService extends JAXRSService {
*/
@GET
@Path("{key}")
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
ApplicationTO read(@NotNull @PathParam("key") String key);
/**
@@ -81,7 +81,7 @@ public interface ApplicationService extends JAXRSService {
*/
@GET
@Path("privileges/{key}")
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
PrivilegeTO readPrivilege(@NotNull @PathParam("key") String key);
/**
@@ -95,14 +95,13 @@ public interface ApplicationService extends JAXRSService {
description = "Application successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- ,
+ description = "Key value for the entity created"),
@Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
- @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Consumes({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
Response create(@NotNull ApplicationTO applicationTO);
/**
@@ -114,8 +113,8 @@ public interface ApplicationService extends JAXRSService {
@ApiResponse(responseCode = "204", description = "Operation was successful"))
@PUT
@Path("{key}")
- @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Consumes({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
void update(@NotNull ApplicationTO applicationTO);
/**
@@ -127,6 +126,6 @@ public interface ApplicationService extends JAXRSService {
@ApiResponse(responseCode = "204", description = "Operation was successful"))
@DELETE
@Path("{key}")
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
void delete(@NotNull @PathParam("key") String key);
}
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConfigurationService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConfigurationService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConfigurationService.java
index d449aaa..f07928a 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConfigurationService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConfigurationService.java
@@ -42,8 +42,8 @@ import org.apache.syncope.common.lib.to.AttrTO;
*/
@Tag(name = "Configuration")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("configurations")
public interface ConfigurationService extends JAXRSService {
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConnectorHistoryService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConnectorHistoryService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConnectorHistoryService.java
index 465ce63..76d4641 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConnectorHistoryService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConnectorHistoryService.java
@@ -40,8 +40,8 @@ import org.apache.syncope.common.lib.to.ConnInstanceHistoryConfTO;
*/
@Tag(name = "ConnectorHistory")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("connectorsHistory")
public interface ConnectorHistoryService extends JAXRSService {
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConnectorService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConnectorService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConnectorService.java
index 087020a..8c5f88f 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConnectorService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ConnectorService.java
@@ -51,8 +51,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "Connectors")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("connectors")
public interface ConnectorService extends JAXRSService {
@@ -134,8 +134,8 @@ public interface ConnectorService extends JAXRSService {
description = "ConnInstance successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "UUID generated for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "UUID generated for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/DomainService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/DomainService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/DomainService.java
index 744bf1a..2efcb11 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/DomainService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/DomainService.java
@@ -47,8 +47,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "Domains")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("domains")
public interface DomainService extends JAXRSService {
@@ -83,8 +83,8 @@ public interface DomainService extends JAXRSService {
description = "Domain successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "Key value for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/DynRealmService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/DynRealmService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/DynRealmService.java
index 61b90fe..8174606 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/DynRealmService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/DynRealmService.java
@@ -47,8 +47,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "DynamicRealms")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("dynRealms")
public interface DynRealmService extends JAXRSService {
@@ -83,8 +83,8 @@ public interface DynRealmService extends JAXRSService {
description = "DynRealm successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "Key value for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/GroupService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/GroupService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/GroupService.java
index 487ab68..6e5cfd1 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/GroupService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/GroupService.java
@@ -41,6 +41,7 @@ import javax.ws.rs.Produces;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
+import org.apache.syncope.common.lib.SyncopeConstants;
import org.apache.syncope.common.lib.patch.GroupPatch;
import org.apache.syncope.common.lib.to.ExecTO;
import org.apache.syncope.common.lib.to.GroupTO;
@@ -55,8 +56,8 @@ import org.apache.syncope.common.rest.api.beans.AnyQuery;
*/
@Tag(name = "Groups")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("groups")
public interface GroupService extends AnyService<GroupTO> {
@@ -99,11 +100,11 @@ public interface GroupService extends AnyService<GroupTO> {
@Schema(implementation = ProvisioningResult.class)), headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "UUID generated for the group created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "UUID generated for the group created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
- description = "URL of the group created")
- , @Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
+ description = "URL of the group created"),
+ @Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
description = "Allows the server to inform the "
+ "client about the fact that a specified preference was applied") }))
@@ -137,14 +138,14 @@ public interface GroupService extends AnyService<GroupTO> {
description = "Group successfully updated enriched with propagation status information, as Entity",
content =
@Content(schema =
- @Schema(implementation = ProvisioningResult.class)))
- , @ApiResponse(responseCode = "204",
+ @Schema(implementation = ProvisioningResult.class))),
+ @ApiResponse(responseCode = "204",
description = "No content if 'Prefer: return-no-content' was specified", headers =
@Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
description = "Allows the server to inform the "
- + "client about the fact that a specified preference was applied"))
- , @ApiResponse(responseCode = "412",
+ + "client about the fact that a specified preference was applied")),
+ @ApiResponse(responseCode = "412",
description = "The ETag value provided via the 'If-Match' header does not match the latest modification"
+ " date of the entity") })
@PATCH
@@ -178,14 +179,14 @@ public interface GroupService extends AnyService<GroupTO> {
description = "Group successfully updated enriched with propagation status information, as Entity",
content =
@Content(schema =
- @Schema(implementation = ProvisioningResult.class)))
- , @ApiResponse(responseCode = "204",
+ @Schema(implementation = ProvisioningResult.class))),
+ @ApiResponse(responseCode = "204",
description = "No content if 'Prefer: return-no-content' was specified", headers =
@Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
description = "Allows the server to inform the "
- + "client about the fact that a specified preference was applied"))
- , @ApiResponse(responseCode = "412",
+ + "client about the fact that a specified preference was applied")),
+ @ApiResponse(responseCode = "412",
description = "The ETag value provided via the 'If-Match' header does not match the latest modification"
+ " date of the entity") })
@PUT
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
index cf6352e..3c87575 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ImplementationService.java
@@ -33,6 +33,7 @@ import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
+import org.apache.syncope.common.lib.SyncopeConstants;
import org.apache.syncope.common.lib.to.ImplementationTO;
import org.apache.syncope.common.lib.types.ImplementationType;
@@ -41,8 +42,8 @@ import org.apache.syncope.common.lib.types.ImplementationType;
*/
@Tag(name = "Implementations")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("implementations")
public interface ImplementationService extends JAXRSService {
@@ -54,7 +55,7 @@ public interface ImplementationService extends JAXRSService {
*/
@GET
@Path("{type}")
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
List<ImplementationTO> list(@NotNull @PathParam("type") ImplementationType type);
/**
@@ -66,7 +67,7 @@ public interface ImplementationService extends JAXRSService {
*/
@GET
@Path("{type}/{key}")
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
ImplementationTO read(@NotNull @PathParam("type") ImplementationType type, @NotNull @PathParam("key") String key);
/**
@@ -77,8 +78,8 @@ public interface ImplementationService extends JAXRSService {
*/
@POST
@Path("{type}/{key}")
- @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Consumes({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
Response create(@NotNull ImplementationTO implementationTO);
/**
@@ -89,8 +90,8 @@ public interface ImplementationService extends JAXRSService {
*/
@PUT
@Path("{type}/{key}")
- @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Consumes({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
Response update(@NotNull ImplementationTO implementationTO);
/**
@@ -102,7 +103,7 @@ public interface ImplementationService extends JAXRSService {
*/
@DELETE
@Path("{type}/{key}")
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
Response delete(@NotNull @PathParam("type") ImplementationType type, @NotNull @PathParam("key") String key);
}
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/LoggerService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/LoggerService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/LoggerService.java
index d465fe0..d1f02ac 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/LoggerService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/LoggerService.java
@@ -45,8 +45,8 @@ import org.apache.syncope.common.lib.types.LoggerType;
*/
@Tag(name = "Loggers")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("loggers")
public interface LoggerService extends JAXRSService {
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/MailTemplateService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/MailTemplateService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/MailTemplateService.java
index ce90335..4a8795a 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/MailTemplateService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/MailTemplateService.java
@@ -49,8 +49,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "MailTemplates")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("mailTemplates")
public interface MailTemplateService extends JAXRSService {
@@ -74,8 +74,8 @@ public interface MailTemplateService extends JAXRSService {
description = "MailTemplate successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "Key value for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/NotificationService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/NotificationService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/NotificationService.java
index f5c4aea..b20929b 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/NotificationService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/NotificationService.java
@@ -50,8 +50,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "Notifications")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("notifications")
public interface NotificationService extends JAXRSService {
@@ -86,8 +86,8 @@ public interface NotificationService extends JAXRSService {
description = "Notification successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "UUID generated for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "UUID generated for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/PolicyService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/PolicyService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/PolicyService.java
index 6cbda50..3fb707c 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/PolicyService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/PolicyService.java
@@ -48,8 +48,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "Policies")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("policies")
public interface PolicyService extends JAXRSService {
@@ -90,8 +90,8 @@ public interface PolicyService extends JAXRSService {
description = "Policy successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "UUID generated for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "UUID generated for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RealmService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RealmService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RealmService.java
index becde0f..42afcfe 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RealmService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RealmService.java
@@ -51,8 +51,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "Realms")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("realms")
public interface RealmService extends JAXRSService {
@@ -102,11 +102,11 @@ public interface RealmService extends JAXRSService {
@Schema(implementation = ProvisioningResult.class)), headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "UUID generated for the realm created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "UUID generated for the realm created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
- description = "URL of the realm created")
- , @Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
+ description = "URL of the realm created"),
+ @Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
description = "Allows the server to inform the "
+ "client about the fact that a specified preference was applied") }))
@@ -136,8 +136,8 @@ public interface RealmService extends JAXRSService {
description = "Realm successfully updated enriched with propagation status information, as Entity",
content =
@Content(schema =
- @Schema(implementation = ProvisioningResult.class)))
- , @ApiResponse(responseCode = "204",
+ @Schema(implementation = ProvisioningResult.class))),
+ @ApiResponse(responseCode = "204",
description = "No content if 'Prefer: return-no-content' was specified", headers =
@Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
@@ -169,8 +169,8 @@ public interface RealmService extends JAXRSService {
description = "Realm successfully deleted enriched with propagation status information, as Entity",
content =
@Content(schema =
- @Schema(implementation = ProvisioningResult.class)))
- , @ApiResponse(responseCode = "204",
+ @Schema(implementation = ProvisioningResult.class))),
+ @ApiResponse(responseCode = "204",
description = "No content if 'Prefer: return-no-content' was specified", headers =
@Header(name = RESTHeaders.PREFERENCE_APPLIED, schema =
@Schema(type = "string"),
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RelationshipTypeService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RelationshipTypeService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RelationshipTypeService.java
index 33de6b2..8ce456b 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RelationshipTypeService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RelationshipTypeService.java
@@ -47,8 +47,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "RelationshipTypes")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("relationshipTypes")
public interface RelationshipTypeService extends JAXRSService {
@@ -83,8 +83,8 @@ public interface RelationshipTypeService extends JAXRSService {
description = "RelationshipType successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "Key value for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RemediationService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RemediationService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RemediationService.java
index 936eca5..2d38556 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RemediationService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RemediationService.java
@@ -41,6 +41,7 @@ import javax.ws.rs.Produces;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
+import org.apache.syncope.common.lib.SyncopeConstants;
import org.apache.syncope.common.lib.patch.AnyPatch;
import org.apache.syncope.common.lib.to.AnyTO;
import org.apache.syncope.common.lib.to.ProvisioningResult;
@@ -63,7 +64,7 @@ public interface RemediationService extends JAXRSService {
* @return list of all remediations.
*/
@GET
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
List<RemediationTO> list();
/**
@@ -74,7 +75,7 @@ public interface RemediationService extends JAXRSService {
*/
@GET
@Path("{key}")
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
RemediationTO read(@NotNull @PathParam("key") String key);
/**
@@ -85,7 +86,7 @@ public interface RemediationService extends JAXRSService {
*/
@DELETE
@Path("{key}")
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
Response delete(@NotNull @PathParam("key") String key);
/**
@@ -124,8 +125,8 @@ public interface RemediationService extends JAXRSService {
+ "client about the fact that a specified preference was applied") }))
@POST
@Path("{key}")
- @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Consumes({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
Response remedy(@NotNull @PathParam("key") String key, @NotNull AnyTO anyTO);
/**
@@ -166,8 +167,8 @@ public interface RemediationService extends JAXRSService {
+ " date of the entity") })
@PATCH
@Path("{key}")
- @Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Consumes({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
Response remedy(@NotNull @PathParam("key") String key, @NotNull AnyPatch anyPatch);
/**
@@ -208,6 +209,6 @@ public interface RemediationService extends JAXRSService {
+ " date of the entity") })
@DELETE
@Path("{key}/{anyKey}")
- @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
+ @Produces({ MediaType.APPLICATION_JSON, SyncopeConstants.APPLICATION_YAML, MediaType.APPLICATION_XML })
Response remedy(@NotNull @PathParam("key") String key, @NotNull String anyKey);
}
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ReportService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ReportService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ReportService.java
index e276541..f405f8c 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ReportService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ReportService.java
@@ -49,8 +49,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "Reports")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("reports")
public interface ReportService extends ExecutableService {
@@ -85,8 +85,8 @@ public interface ReportService extends ExecutableService {
description = "Report successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "UUID generated for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "UUID generated for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ReportTemplateService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ReportTemplateService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ReportTemplateService.java
index e69f46f..1188e27 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ReportTemplateService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ReportTemplateService.java
@@ -49,8 +49,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "ReportTemplates")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("reportTemplates")
public interface ReportTemplateService extends JAXRSService {
@@ -74,8 +74,8 @@ public interface ReportTemplateService extends JAXRSService {
description = "ReportTemplate successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "Key value for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ResourceHistoryService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ResourceHistoryService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ResourceHistoryService.java
index 9785bb0..fed99ed 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ResourceHistoryService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ResourceHistoryService.java
@@ -40,8 +40,8 @@ import org.apache.syncope.common.lib.to.ResourceHistoryConfTO;
*/
@Tag(name = "ResourceHistory")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("resourcesHistory")
public interface ResourceHistoryService extends JAXRSService {
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ResourceService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ResourceService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ResourceService.java
index 0caa400..57290f1 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ResourceService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/ResourceService.java
@@ -53,8 +53,8 @@ import org.apache.syncope.common.rest.api.beans.ConnObjectTOListQuery;
*/
@Tag(name = "Resources")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("resources")
public interface ResourceService extends JAXRSService {
@@ -122,8 +122,8 @@ public interface ResourceService extends JAXRSService {
description = "Resource successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "Key value for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RoleService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RoleService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RoleService.java
index 24a6167..7e1deb4 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RoleService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/RoleService.java
@@ -48,8 +48,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "Roles")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("roles")
public interface RoleService extends JAXRSService {
@@ -84,8 +84,8 @@ public interface RoleService extends JAXRSService {
description = "Role successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "Key value for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SchemaService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SchemaService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SchemaService.java
index 4d5c67b..b726a80 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SchemaService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SchemaService.java
@@ -50,8 +50,8 @@ import org.apache.syncope.common.rest.api.beans.SchemaQuery;
*/
@Tag(name = "Schemas")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("schemas")
public interface SchemaService extends JAXRSService {
@@ -94,8 +94,8 @@ public interface SchemaService extends JAXRSService {
description = "Schema successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "Key value for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "Key value for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SecurityQuestionService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SecurityQuestionService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SecurityQuestionService.java
index 92e138b..0102e13 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SecurityQuestionService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SecurityQuestionService.java
@@ -47,8 +47,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "SecurityQuestions")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("securityQuestions")
public interface SecurityQuestionService extends JAXRSService {
@@ -83,8 +83,8 @@ public interface SecurityQuestionService extends JAXRSService {
description = "SecurityQuestion successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "UUID generated for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "UUID generated for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SyncopeService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SyncopeService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SyncopeService.java
index a37fdb3..c5e2a67 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SyncopeService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SyncopeService.java
@@ -44,8 +44,8 @@ import org.apache.syncope.common.lib.to.TypeExtensionTO;
*/
@Tag(name = "Syncope")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("")
public interface SyncopeService extends JAXRSService {
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/TaskService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/TaskService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/TaskService.java
index 810aecb..2228bca 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/TaskService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/TaskService.java
@@ -55,8 +55,8 @@ import org.apache.syncope.common.rest.api.beans.TaskQuery;
*/
@Tag(name = "Tasks")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("tasks")
public interface TaskService extends ExecutableService {
@@ -101,8 +101,8 @@ public interface TaskService extends ExecutableService {
description = "Task successfully created", headers = {
@Header(name = RESTHeaders.RESOURCE_KEY, schema =
@Schema(type = "string"),
- description = "UUID generated for the entity created")
- , @Header(name = HttpHeaders.LOCATION, schema =
+ description = "UUID generated for the entity created"),
+ @Header(name = HttpHeaders.LOCATION, schema =
@Schema(type = "string"),
description = "URL of the entity created") }))
@POST
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserSelfService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserSelfService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserSelfService.java
index b261486..d7dd6af 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserSelfService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserSelfService.java
@@ -42,6 +42,7 @@ import javax.ws.rs.QueryParam;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
+import org.apache.syncope.common.lib.SyncopeConstants;
import org.apache.syncope.common.lib.patch.StatusPatch;
import org.apache.syncope.common.lib.patch.UserPatch;
import org.apache.syncope.common.lib.to.ProvisioningResult;
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserService.java
index db60d7a..666780e 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserService.java
@@ -40,6 +40,7 @@ import javax.ws.rs.QueryParam;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
+import org.apache.syncope.common.lib.SyncopeConstants;
import org.apache.syncope.common.lib.patch.StatusPatch;
import org.apache.syncope.common.lib.patch.UserPatch;
import org.apache.syncope.common.lib.to.PagedResult;
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserWorkflowService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserWorkflowService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserWorkflowService.java
index 808d710..a9fb842 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserWorkflowService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/UserWorkflowService.java
@@ -39,8 +39,8 @@ import org.apache.syncope.common.lib.to.WorkflowFormTO;
*/
@Tag(name = "UserWorkflow")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("userworkflow")
public interface UserWorkflowService extends JAXRSService {
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/WorkflowService.java
----------------------------------------------------------------------
diff --git a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/WorkflowService.java b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/WorkflowService.java
index 6500e41..92d026f 100644
--- a/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/WorkflowService.java
+++ b/common/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/WorkflowService.java
@@ -43,8 +43,8 @@ import org.apache.syncope.common.rest.api.RESTHeaders;
*/
@Tag(name = "Workflow")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("workflows")
public interface WorkflowService extends JAXRSService {
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/ext/camel/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/CamelRouteService.java
----------------------------------------------------------------------
diff --git a/ext/camel/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/CamelRouteService.java b/ext/camel/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/CamelRouteService.java
index 2bf15f3..2a46118 100644
--- a/ext/camel/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/CamelRouteService.java
+++ b/ext/camel/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/CamelRouteService.java
@@ -43,8 +43,8 @@ import org.apache.syncope.common.lib.types.AnyTypeKind;
*/
@Tag(name = "CamelRoutes")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("camelRoutes")
public interface CamelRouteService extends JAXRSService {
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/ext/saml2sp/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SAML2IdPService.java
----------------------------------------------------------------------
diff --git a/ext/saml2sp/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SAML2IdPService.java b/ext/saml2sp/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SAML2IdPService.java
index e7c4850..6e16b05 100644
--- a/ext/saml2sp/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SAML2IdPService.java
+++ b/ext/saml2sp/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SAML2IdPService.java
@@ -45,8 +45,8 @@ import org.apache.syncope.common.lib.to.SAML2IdPTO;
*/
@Tag(name = "SAML2IdP")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("saml2sp/identityProviders")
public interface SAML2IdPService extends JAXRSService {
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/ext/saml2sp/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SAML2SPService.java
----------------------------------------------------------------------
diff --git a/ext/saml2sp/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SAML2SPService.java b/ext/saml2sp/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SAML2SPService.java
index c54a339..23148cd 100644
--- a/ext/saml2sp/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SAML2SPService.java
+++ b/ext/saml2sp/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SAML2SPService.java
@@ -41,8 +41,8 @@ import org.apache.syncope.common.lib.to.SAML2ReceivedResponseTO;
*/
@Tag(name = "SAML2SP")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("saml2sp/serviceProvider")
public interface SAML2SPService extends JAXRSService {
http://git-wip-us.apache.org/repos/asf/syncope/blob/ebd04afe/ext/scimv2/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SCIMConfService.java
----------------------------------------------------------------------
diff --git a/ext/scimv2/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SCIMConfService.java b/ext/scimv2/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SCIMConfService.java
index 5e3e4ec..f0aaa24 100644
--- a/ext/scimv2/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SCIMConfService.java
+++ b/ext/scimv2/rest-api/src/main/java/org/apache/syncope/common/rest/api/service/SCIMConfService.java
@@ -38,8 +38,8 @@ import org.apache.syncope.common.lib.scim.SCIMConf;
*/
@Tag(name = "SCIMConf")
@SecurityRequirements({
- @SecurityRequirement(name = "BasicAuthentication")
- , @SecurityRequirement(name = "Bearer") })
+ @SecurityRequirement(name = "BasicAuthentication"),
+ @SecurityRequirement(name = "Bearer") })
@Path("scimv2conf")
public interface SCIMConfService extends JAXRSService {