directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-commander git commit: change to version 2.0.0-RC1-SNAPSHOT
Date Tue, 11 Oct 2016 02:16:55 GMT
Repository: directory-fortress-commander
Updated Branches:
  refs/heads/master b247605a4 -> 8437be33e


change to version 2.0.0-RC1-SNAPSHOT


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/commit/8437be33
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/tree/8437be33
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/diff/8437be33

Branch: refs/heads/master
Commit: 8437be33e6152ac066e27702c121405c132301c1
Parents: b247605
Author: Shawn McKinney <smckinney@apache.org>
Authored: Mon Oct 10 20:55:32 2016 -0500
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Mon Oct 10 20:55:32 2016 -0500

----------------------------------------------------------------------
 pom.xml                                                     | 4 ++--
 src/main/resources/applicationContext.xml                   | 9 ++++++++-
 .../org/apache/directory/fortress/web/StartExamples.java    | 3 ++-
 3 files changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/8437be33/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ce3c50e..e0187de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,7 +30,7 @@
   <groupId>org.apache.directory.fortress</groupId>
   <artifactId>fortress-web</artifactId>
   <packaging>war</packaging>
-  <version>1.0.2-SNAPSHOT</version>
+  <version>2.0.0-RC1-SNAPSHOT</version>
   <name>Apache Fortress Web</name>
   <url>http://directory.apache.org/fortress/</url>
   <description>Fortress Web is an administrative UI that drives the APIs</description>
@@ -87,7 +87,7 @@
 
   <properties>
     <title>${project.name} ${project.version}</title>
-    <fortress.realm.version>1.0.2-SNAPSHOT</fortress.realm.version>
+    <fortress.realm.version>2.0.0-RC1-SNAPSHOT</fortress.realm.version>
     <wicket.version>7.4.0</wicket.version>
     <wicket.jquery.version>7.4.0</wicket.jquery.version>
     <wicket.kendo-ui.version>7.4.0</wicket.kendo-ui.version>

http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/8437be33/src/main/resources/applicationContext.xml
----------------------------------------------------------------------
diff --git a/src/main/resources/applicationContext.xml b/src/main/resources/applicationContext.xml
index a36449b..dbe15af 100644
--- a/src/main/resources/applicationContext.xml
+++ b/src/main/resources/applicationContext.xml
@@ -76,8 +76,15 @@
     </bean>
     <!-- TODO: after the realm 1.0.2 release pass the contextId here.  -->
     <bean id="j2eePolicyMgr" class="org.apache.directory.fortress.realm.J2eePolicyMgrFactory"
scope="prototype"
+          factory-method="createInstance">
+        <constructor-arg value="${contextId:HOME}"/>
+    </bean>
+    <!-- no longer used:
+    <bean id="j2eePolicyMgr" class="org.apache.directory.fortress.realm.J2eePolicyMgrFactory"
scope="prototype"
           factory-method="createInstance"/>
+    -->
 
+    <!-- This decl is to build uri for navigating to correct fortress-rest impl (iff rest
enabled in fortress.properties)  -->
     <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
         <property name="targetObject">
             <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
@@ -88,7 +95,7 @@
         <property name="targetMethod" value="putAll"/>
         <property name="arguments">
             <util:properties>
-                <prop key="version">1.0.1</prop>
+                <prop key="version">2.0.0-RC1-SNAPSHOT</prop>
             </util:properties>
         </property>
     </bean>

http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/8437be33/src/test/java/org/apache/directory/fortress/web/StartExamples.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/directory/fortress/web/StartExamples.java b/src/test/java/org/apache/directory/fortress/web/StartExamples.java
index bf8e2d3..a805978 100644
--- a/src/test/java/org/apache/directory/fortress/web/StartExamples.java
+++ b/src/test/java/org/apache/directory/fortress/web/StartExamples.java
@@ -51,7 +51,8 @@ public class StartExamples
 		Server server = new Server();
 		SocketConnector connector = new SocketConnector();
 
-        System.setProperty("version", "1.0.1");
+		// fortress-rest navigation (iff enabled in fortress.properties)
+        System.setProperty("version", "2.0.0-RC1-SNAPSHOT");
         System.setProperty( GlobalIds.IS_JETTY_SERVER, "true");
 
 		// Set some timeout options to make debugging easier.


Mime
View raw message