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 2020/03/27 11:48:03 UTC

[syncope] branch 2_1_X updated (9da6aee -> fbc63e4)

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a change to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git.


    from 9da6aee  Enhancing group search for user edit
     new 3930362  [SYNCOPE-1540] Skip exporting SYNCOPE_AUDIT table
     new fbc63e4  [SYNCOPE-1514] Reporting CLI deprecation

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../core/persistence/jpa/content/XMLContentExporter.java  |  3 ++-
 src/main/asciidoc/getting-started/obtain.adoc             | 15 +++++++++++++--
 .../reference-guide/architecture/architecture.adoc        | 11 +++++++++++
 3 files changed, 26 insertions(+), 3 deletions(-)


[syncope] 02/02: [SYNCOPE-1514] Reporting CLI deprecation

Posted by il...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit fbc63e4d765db066a096e5dd0eb5d79f331b8966
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Mar 27 12:45:42 2020 +0100

    [SYNCOPE-1514] Reporting CLI deprecation
---
 src/main/asciidoc/getting-started/obtain.adoc             | 15 +++++++++++++--
 .../reference-guide/architecture/architecture.adoc        | 11 +++++++++++
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/src/main/asciidoc/getting-started/obtain.adoc b/src/main/asciidoc/getting-started/obtain.adoc
index 6bae992..014eb6c 100644
--- a/src/main/asciidoc/getting-started/obtain.adoc
+++ b/src/main/asciidoc/getting-started/obtain.adoc
@@ -726,11 +726,22 @@ You can configure any LDAP client (such as http://jxplorer.org/[JXplorer^], for
 The command-line interface (CLI) client is an utility tool meant for interacting with Apache Syncope deployments from
 shell scripts.
 
+[WARNING]
+.Deprecation
+====
+Syncope 2.1 is the last major version providing CLI.
+
+As an alternative you can consider using the popular http://curl.haxx.se/[curl^] tool to invoke the
+Syncope Core REST API services. +
+For reference, the Swagger UI extension, when enabled, will provide for each request the corresponding `curl` command
+with all parameters.
+====
+
 Once downloaded and uncompressed, you will find a `lib` directory and two scripts: `syncopeadm.sh` and `syncopeadm.bat`,
 which will be used depending on the operating system.
 
-The installation process creates `cli.properties`, which contains all the required information to invoke the Apache 
-Syncope REST API services.
+The installation process creates `cli.properties`, which contains all the required information to invoke the 
+Syncope Core REST API services.
 The file content looks like the following:
 
 ....
diff --git a/src/main/asciidoc/reference-guide/architecture/architecture.adoc b/src/main/asciidoc/reference-guide/architecture/architecture.adoc
index 64611a9..e7255f7 100644
--- a/src/main/asciidoc/reference-guide/architecture/architecture.adoc
+++ b/src/main/asciidoc/reference-guide/architecture/architecture.adoc
@@ -200,6 +200,17 @@ The communication between CLI and Core is exclusively REST-based.
 
 More details are available in the dedicated <<cli,usage>> section.
 
+[WARNING]
+.Deprecation
+====
+Syncope 2.1 is the last major version providing CLI.
+
+As an alternative you can consider using the popular http://curl.haxx.se/[curl^] tool to invoke the
+Syncope Core REST API services. +
+For reference, the Swagger UI extension, when enabled, will provide for each request the corresponding `curl` command
+with all parameters.
+====
+
 === Third Party Applications
 
 Third-party applications are provided full access to IdM services by leveraging the REST interface, either via the 


[syncope] 01/02: [SYNCOPE-1540] Skip exporting SYNCOPE_AUDIT table

Posted by il...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit 3930362365a97587cbce608eac3baa0ca02767d7
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Mar 27 12:45:20 2020 +0100

    [SYNCOPE-1540] Skip exporting SYNCOPE_AUDIT table
---
 .../syncope/core/persistence/jpa/content/XMLContentExporter.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/content/XMLContentExporter.java b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/content/XMLContentExporter.java
index f70cbbf..fb08734 100644
--- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/content/XMLContentExporter.java
+++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/content/XMLContentExporter.java
@@ -72,6 +72,7 @@ import org.apache.commons.lang3.StringUtils;
 import org.apache.commons.lang3.tuple.Pair;
 import org.apache.syncope.core.provisioning.api.utils.FormatUtils;
 import org.apache.syncope.core.persistence.api.content.ContentExporter;
+import org.apache.syncope.core.persistence.api.dao.LoggerDAO;
 import org.apache.syncope.core.persistence.api.dao.RealmDAO;
 import org.apache.syncope.core.persistence.jpa.entity.JPAAccessToken;
 import org.apache.syncope.core.persistence.jpa.entity.JPARealm;
@@ -104,7 +105,7 @@ import org.xml.sax.helpers.AttributesImpl;
 public class XMLContentExporter extends AbstractContentDealer implements ContentExporter {
 
     protected static final Set<String> TABLE_PREFIXES_TO_BE_EXCLUDED = new HashSet<>(Arrays.asList(new String[] {
-        "QRTZ_", "LOGGING", JPAReportExec.TABLE, JPATaskExec.TABLE,
+        "QRTZ_", "LOGGING", LoggerDAO.AUDIT_TABLE, JPAReportExec.TABLE, JPATaskExec.TABLE,
         JPAUser.TABLE, JPAUPlainAttr.TABLE, JPAUPlainAttrValue.TABLE, JPAUPlainAttrUniqueValue.TABLE,
         JPAURelationship.TABLE, JPAUMembership.TABLE,
         JPAAnyObject.TABLE, JPAAPlainAttr.TABLE, JPAAPlainAttrValue.TABLE, JPAAPlainAttrUniqueValue.TABLE,