directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject [27/50] git commit: FC-141 - RC38 Release
Date Mon, 20 Oct 2014 23:06:44 GMT
FC-141 - RC38 Release


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/8b569fc5
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/8b569fc5
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/8b569fc5

Branch: refs/heads/master
Commit: 8b569fc5089fe4d836ac6ad8d4de76aced9f8ef9
Parents: cae517f
Author: Shawn McKinney <shawn.mckinney@jts.us>
Authored: Sat Jul 5 13:20:08 2014 -0500
Committer: Shawn McKinney <shawn.mckinney@jts.us>
Committed: Sat Jul 5 13:20:08 2014 -0500

----------------------------------------------------------------------
 README.txt       | 71 +++++++++++++++++++++++++++++++--------------------
 build.properties | 10 ++++----
 build.xml        |  2 +-
 ivy.xml          | 24 +++++++++--------
 pom.xml          |  6 ++---
 5 files changed, 65 insertions(+), 48 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/8b569fc5/README.txt
----------------------------------------------------------------------
diff --git a/README.txt b/README.txt
index b47aef8..a02de53 100755
--- a/README.txt
+++ b/README.txt
@@ -15,7 +15,7 @@ ________________________________________________________________________________
 ###################################################################################
 README for Fortress Identity and Access Management SDK
 Version 1.0-RC37
-last updated: July 3, 2014
+last updated: July 4, 2014
 
 This document provides instructions to download, compile, test and use the
 Fortress IAM with OpenLDAP server.  If you don't already have OpenLDAP installed,
@@ -25,20 +25,22 @@ ________________________________________________________________________________
 # SECTION 0:  Prerequisites for Fortress SDK installation and use with LDAP server
 ###################################################################################
 1. Internet access to retrieve source code from OpenLDAP GIT and binary dependencies from
online Maven repo.
-
-Fortress uses Apache Ant for installation and management of its operations.  Ordinarily the
target environment
-would have access to the Internet to pull down its dependencies from Maven but may run without
outside connection iff:
-
-a. The binary dependencies are already present in FORTRESS_HOME/lib folder.  For list of
dependencies goto ivy.xml file.
-b. Local mode has been enabled on target machine.  This can be done by adding the following
entry to your build.properties file:
+Fortress installation procedures use Apache Ant & Ivy.  Ivy pulls external dependencies
from Maven repositories.
+These ant targets need external access to the Internet to pull down dependencies but may
run without external connection IFF:
+a. The necessary binary jars are already present and loaded into FORTRESS_HOME/lib folder.
 For list of dependency jars check out the ivy.xml file.
+b. Local mode has been enabled in target runtime env.  This can be done by adding the following
to build.properties file:
 
 local.mode=true
 
+More prereqs:
+
 2. Java SDK Version 7 or beyond installed to target environment
+
 3. Apache Ant 1.8 or beyond installed to target environment
+
 4. OpenLDAP installed to target system.  (options follow in section 1).
 
-Note:  Fortress SDK is LDAPv3 compliant and works with other directory servers, especially
ApacheDS:
+Note:  Fortress is LDAPv3 compliant and works with other directory servers, especially ApacheDS:
 README-QUICKSTART-APACHEDS.html.
 
 5. GIT installed to target environment. (Fortress developers only)
@@ -91,7 +93,7 @@ This will pull down source code from GIT and load into
 the directory from which it ran, hereafter called 'FORTRESS_HOME'.
 ___________________________________________________________________________________
 ###################################################################################
-# SECTION 3. Instructions to build openldap-fortress-core software distribution packages
+# SECTION 3. Instructions to build openldap-fortress-core software distribution packages
using 'dist' target.
 ###################################################################################
 
 NOTE: The Fortress build.xml may run without connection to Internet iff:
@@ -126,7 +128,7 @@ c. Follow the steps I, II & III contained within README-QUICKSTART.html,
or READ
 d. Proceed to SECTION 8 in this document for integration testing Fortress & OpenLDAP
on your target platform.
 ___________________________________________________________________________________
 ###################################################################################
-# SECTION 5. Instructions to configure openldap-fortress-core SDK for target system
+# SECTION 5. Instructions to configure openldap-fortress-core SDK for target system using
build.properties file.
 ###################################################################################
 
 - This must be done when OpenLDAP is not installed with the Fortress QUICKSTART package.
@@ -214,7 +216,7 @@ slapd.install=rpm -Uvv symas-openldap-gold.i386-2.4.25.110424.rpm
 
 ___________________________________________________________________________________
 ###################################################################################
-# SECTION 6. Instructions for using pre-existing or native OpenLDAP installation.
+# SECTION 6. Instructions for using pre-existing or native OpenLDAP installation using 'load-slapd'
target.
 ###################################################################################
 
 a. Install OpenLDAP using your existing package management system.
@@ -352,7 +354,7 @@ m. Skip to SECTION 8 to regression test Fortress and OpenLDAP
 
 ___________________________________________________________________________________
 ###################################################################################
-# SECTION 7. Instructions for Symas installation of OpenLDAP
+# SECTION 7. Instructions for Symas installation of OpenLDAP - using 'init-slapd' target
 ###################################################################################
 
 a. Go to Symas.com downloads section.
@@ -403,23 +405,31 @@ if not sudo you must run as user that has priv to modify folders in
/var and /op
 
 _______________________________________________________________________________
 ###############################################################################
-# SECTION 8. Instructions to test openldap-fortress-core using regression tests
+# SECTION 8. Instructions to fully regression test openldap-fortress-core using 'test-full'
target
 ###############################################################################
 
 a. from FORTRESS_HOME enter the following command:
 
 >$ANT_HOME/bin/ant test-full
 
-Notes:
-  - These tests load tens of thousands of ldap records into your newly installed directory.
-  - The 'init-slapd' and/or 'test-full' targets may be re-run as often as necessary.
-  - After regressions testing has completed. you may run the 'init-slapd' target to remove
all test data from the directory.
-  - if you followed steps in, SECTION 6 (existing OpenLDAP server), do NOT run the init-slapd
target
-  - WARNING log messages in test output are good as these are negative tests in action:
-  - If these test completes without junit or ant ERRORS, Fortress is certified to run on
your target ldap server machine.
+Testing Notes:
+
+  - If these tests complete without Junit or ant ERRORS, Fortress is certified to run on
the target ldap server.
+
+  - These tests will load thousands of records into the target ldap server.
+
+  - The 'test-full' target may be run as many times as necessary and should be run at least
twice to test the teardown APIs.
+
+  - The 2nd and subsequent times 'test-full' runs, it will tear down the data loaded during
the prior run.
+
+  - After the 'test-full' target runs, you may run the 'init-slapd' target to clear out the
the test data loaded.
+    - Unless you followed steps from SECTION 6 (existing OpenLDAP server), in which case
do NOT run the 'init-slapd' target.
+
+  - WARNING log messages are good as these are negative tests in action:
+
 ___________________________________________________________________________________
 ###################################################################################
-# SECTION 9. Instructions to run the openldap-fortress-core command line interpreter (CLI)
utility
+# SECTION 9. Instructions to run the openldap-fortress-core command line interpreter (CLI)
utility using 'cli' target
 ###################################################################################
 
 a. from FORTRESS_HOME enter the following command:
@@ -432,17 +442,11 @@ $FORTRESS_HOME/openldap-fortress-core/dist/docs/api/com/jts/fortress/cli/package
 
 ___________________________________________________________________________________
 ###################################################################################
-# SECTION 10. Learn how to use openldap-fortress-core APIs with samples
+# SECTION 10. Learn how to use openldap-fortress-core APIs with samples using 'test-samples'
target
 ###################################################################################
 
 a. from FORTRESS_HOME enter the following command:
 
-(if first time sample tests run)
-
->$ANT_HOME/bin/ant test-samples-init
-
-b. Or if subsequent runs:
-
 >$ANT_HOME/bin/ant test-samples
 
 c. view and change the samples here:
@@ -461,6 +465,17 @@ f. view the fortress-core SDK java doc here:
 
 $FORTRESS_HOME/openldap-fortress-core/dist/docs/api/index.html
 
+Testing Notes:
+
+  - Test cases are simple and useful for learning how to code using Fortress APIs.
+
+  - Tests should complete without Junit or ant ERRORS.
+
+  - These tests will load some records into the target ldap server.
+
+  - The 'test-samples' target may be run as many times as necessary and should be run at
least twice to test the teardown APIs.
+
+  - The 2nd and subsequent times 'test-samples' runs, it will tear down the data loaded during
the prior run.
 ___________________________________________________________________________________
 ###################################################################################
 # SECTION 11. Instructions to run the openldap-fortress-core command console

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/8b569fc5/build.properties
----------------------------------------------------------------------
diff --git a/build.properties b/build.properties
index 967e463..3d6d916 100644
--- a/build.properties
+++ b/build.properties
@@ -27,7 +27,7 @@
 ########################################################################
 
 # Use this Fortress Core version:
-version=1.0-RC37
+version=1.0-RC38
 
 # Enable local.mode property if your machine does not have connection to Internet and runtime
dependencies have already downloaded to FORTRESS_HOME/lib folder on this machine:
 #local.mode=true
@@ -196,7 +196,7 @@ dflt.checkpoint=checkpoint	64 5
 
 # Option 1 - Debian i386 Silver:
 #platform=Debian-Silver-i386
-#slapd.install=dpkg -i symas-openldap-silver.32_2.4.38-2_i386.deb
+#slapd.install=dpkg -i symas-openldap-silver.32_2.4.39-1_i386.deb
 #slapd.uninstall=dpkg -r symas-openldap-silver
 #install.image.dir=/home/smckinn/archives/debian32
 #slapd.module.dir=${openldap.root}/lib/openldap
@@ -204,7 +204,7 @@ dflt.checkpoint=checkpoint	64 5
 
 # Option 2 - Debian 64-bit Silver:
 platform=Debian-Silver-x86-64
-#slapd.install=dpkg -i symas-openldap-silver.64_2.4.38-2_amd64.deb
+#slapd.install=dpkg -i symas-openldap-silver.64_2.4.39-1_amd64.deb
 #slapd.uninstall=dpkg -r symas-openldap-silver
 install.image.dir=/home/smckinn/archives/debian64
 slapd.module.dir=${openldap.root}/lib64/openldap
@@ -217,7 +217,7 @@ slapd.start=${openldap.root}/lib64/slapd -h ldap://${ldap.host}:${ldap.port}
-f
 
 # Option 4 - Redhat i386 Silver:
 #platform=Redhat-Silver-i386
-#slapd.install=rpm -Uvv symas-openldap-silver.i386-2.4.38-2.rpm
+#slapd.install=rpm -Uvv symas-openldap-silver.i386-2.4.39-1.rpm
 #slapd.uninstall=rpm -e symas-openldap-silver
 #install.image.dir=/home/smckinn/archives/redhat32
 #slapd.module.dir=${openldap.root}/lib/openldap
@@ -230,7 +230,7 @@ slapd.start=${openldap.root}/lib64/slapd -h ldap://${ldap.host}:${ldap.port}
-f
 
 # Option 6 - Redhat 64-bit Silver:
 #platform=Redhat-Silver-x86-64
-#slapd.install=rpm -Uvv symas-openldap-silver.x86_64-2.4.38-1.rpm
+#slapd.install=rpm -Uvv symas-openldap-silver.x86_64-2.4.39-1.rpm
 #slapd.uninstall=rpm -e symas-openldap-silver
 #install.image.dir=/home/smckinn/archives/redhat64
 #slapd.module.dir=${openldap.root}/lib64/openldap

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/8b569fc5/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index d840de2..c3dac56 100644
--- a/build.xml
+++ b/build.xml
@@ -106,7 +106,7 @@
        <!-- ########### Sentry manage & config properties ###########################
-->
        <property name="sentry" value="sentry"/>
        <property name="sentry.dir" value="${basedir}/${sentry}-${version}"/>
-       <property name="sentry.zip" value="${lib.dir}/${sentry}-${version}.jar"/>
+       <property name="sentry.zip" value="${lib.dir}/${sentry}-${version}-dist.jar"/>
 
        <!-- ########### EnMasse manage & config properties ###########################
-->
        <property name="enmasse" value="enmasse"/>

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/8b569fc5/ivy.xml
----------------------------------------------------------------------
diff --git a/ivy.xml b/ivy.xml
index 2bbccaf..8effb51 100755
--- a/ivy.xml
+++ b/ivy.xml
@@ -51,25 +51,27 @@
         <dependency org="org.apache.jmeter" name="ApacheJMeter_java" rev="2.11" conf="default->master"
/>
 
         <!-- Fortress core source IS dependent org.openldap accelerator: -->
-        <dependency org="org.openldap" name="accelerator-impl" rev="1.0-RC37"  conf="default->master">
+        <dependency org="org.openldap" name="accelerator-impl" rev="1.0-RC38"  conf="default->master">
             <artifact name="accelerator-impl" type="jar"/>
         </dependency>
 
-        <dependency org="org.openldap" name="accelerator-api" rev="1.0-RC37"  conf="default->master">
+        <dependency org="org.openldap" name="accelerator-api" rev="1.0-RC38"  conf="default->master">
             <artifact name="accelerator-api" type="jar"/>
         </dependency>
 
         <!-- Fortress core source is NOT dependent on Sentry, EnMasse or Commander artifacts
rather they're required for its QUICKSTART demo apps: -->
-        <dependency org="org.openldap" name="sentry" rev="1.0-RC37"  conf="default->master">
-            <artifact name="sentry" e:classifier="dist" type="jar"/>
-        </dependency>
+<!--&lt;!&ndash;-->
+        <!--<dependency org="org.openldap" name="sentry" rev="1.0-RC38"  conf="default->master">-->
+            <!--<artifact name="sentry" e:classifier="dist" type="jar"/>-->
+        <!--</dependency>-->
 
-        <dependency org="org.openldap" name="enmasse" rev="1.0-RC37"  conf="default->master">
-            <artifact name="enmasse" type="jar"/>
-        </dependency>
-        <dependency org="org.openldap" name="commander" rev="1.0-RC37"  conf="default->master">
-            <artifact name="commander" type="jar"/>
-        </dependency>
+        <!--<dependency org="org.openldap" name="enmasse" rev="1.0-RC38"  conf="default->master">-->
+            <!--<artifact name="enmasse" type="jar"/>-->
+        <!--</dependency>-->
+        <!--<dependency org="org.openldap" name="commander" rev="1.0-RC38"  conf="default->master">-->
+            <!--<artifact name="commander" type="jar"/>-->
+        <!--</dependency>-->
+<!--&ndash;&gt;-->
 
     </dependencies>
 </ivy-module>

http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/8b569fc5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6b72dbf..b1e1651 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
     <artifactId>fortress</artifactId>
     <packaging>jar</packaging>
     <name>Fortress Core</name>
-    <version>1.0-RC37</version>
+    <version>1.0-RC38</version>
     <description>Fortress is a standards-based Identity and Access Management SDK that
implements ANSI RBAC INCITS 359.</description>
     <url>http://www.openldap.org/fortress/</url>
 
@@ -60,13 +60,13 @@
         <dependency>
             <groupId>org.openldap</groupId>
             <artifactId>accelerator-api</artifactId>
-            <version>1.0-RC37</version>
+            <version>${version}</version>
         </dependency>
 
         <dependency>
             <groupId>org.openldap</groupId>
             <artifactId>accelerator-impl</artifactId>
-            <version>1.0-RC37</version>
+            <version>${version}</version>
         </dependency>
 
         <dependency>


Mime
View raw message