[SYNCOPE-1371] Fixing LOGIC_ACTIONS and PUSH_ACTIONS

Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/b8d40101
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/b8d40101
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/b8d40101

Branch: refs/heads/master
Commit: b8d40101e6b7db1e52c1fe60fae1cca5bfefbbc3
Parents: 65cc089
Author: Francesco Chicchiriccò <[email protected]>
Authored: Thu Sep 13 13:18:33 2018 +0200
Committer: Francesco Chicchiriccò <[email protected]>
Committed: Thu Sep 13 13:18:47 2018 +0200

----------------------------------------------------------------------
 .../java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/b8d40101/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
----------------------------------------------------------------------
diff --git 
a/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
 
b/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
index 1fe72b4..ccbf6e6 100644
--- 
a/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
+++ 
b/core/upgrade/src/main/java/org/apache/syncope/core/upgrade/GenerateUpgradeSQL.java
@@ -310,7 +310,7 @@ public final class GenerateUpgradeSQL {
                     String actionClassName = rs.getString(1);
                     OUT.write("INSERT INTO Implementation(id,type,engine,body) 
VALUES("
                             + "'" + actionClassName + "',"
-                            + "'PULL_ACTIONS',"
+                            + "'PUSH_ACTIONS',"
                             + "'JAVA',"
                             + "'" + actionClassName + "');\n");
                 }
@@ -366,7 +366,7 @@ public final class GenerateUpgradeSQL {
                     String actionClassName = rs.getString(1);
                     OUT.write("INSERT INTO Implementation(id,type,engine,body) 
VALUES("
                             + "'" + actionClassName + "',"
-                            + "'PULL_ACTIONS',"
+                            + "'LOGIC_ACTIONS',"
                             + "'JAVA',"
                             + "'" + actionClassName + "');\n");
                 }

Reply via email to