You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2016/10/15 14:27:18 UTC
directory-fortress-core git commit: remove old mt artifacts
Repository: directory-fortress-core
Updated Branches:
refs/heads/master 38abfd7f9 -> da0aa1587
remove old mt artifacts
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/da0aa158
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/da0aa158
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/da0aa158
Branch: refs/heads/master
Commit: da0aa158726bdd95ade7fdc1de36512887dd6190
Parents: 38abfd7
Author: Shawn McKinney <sm...@apache.org>
Authored: Sat Oct 15 09:06:04 2016 -0500
Committer: Shawn McKinney <sm...@apache.org>
Committed: Sat Oct 15 09:06:04 2016 -0500
----------------------------------------------------------------------
README-MULTITENANCY.md | 2 +-
mtDemo.xml | 109 --------------------------------------------
mttest.sh | 27 -----------
3 files changed, 1 insertion(+), 137 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/da0aa158/README-MULTITENANCY.md
----------------------------------------------------------------------
diff --git a/README-MULTITENANCY.md b/README-MULTITENANCY.md
index 5a4730b..07f8dd0 100644
--- a/README-MULTITENANCY.md
+++ b/README-MULTITENANCY.md
@@ -28,7 +28,7 @@ This document describes Apache Fortress multitenacy.
* SECTION 3. How the APIs work.
* SECTION 4. How to Setup a New Tenant.
* SECTION 5. Unit Testing.
- * SECTION 6. Other Tools.
+ * SECTION 6. Other Tools.
-------------------------------------------------------------------------------
## SECTION 1. Multitenancy Overview
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/da0aa158/mtDemo.xml
----------------------------------------------------------------------
diff --git a/mtDemo.xml b/mtDemo.xml
deleted file mode 100644
index d348927..0000000
--- a/mtDemo.xml
+++ /dev/null
@@ -1,109 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<project name="fortress-core-multitenancy-demo" default="build" basedir=".">
-
- <import file="build.xml"/>
-
- <!-- =================================
- target: test-full - runs junit regression tests
- ================================= -->
- <target name="mt-test" depends="init" description="--> run junit regression tests for multitenancy">
- <echo message="Run the Fortress regression JUnit tests. Be patient this can take a while to complete."/>
- <junit fork="yes" haltonfailure="${test.failonerror}" showoutput="${test.showoutput}" maxmemory="1024m">
- <sysproperty key="isFirstJUnitRun" value="false"/>
- <sysproperty key="version" value="${version}"/>
- <sysproperty key="tenant" value="${tenant}"/>
- <classpath refid="test.class.path"/>
- <formatter type="plain" usefile="false"/>
- <test name="${test.regression.entry}"/>
- </junit>
- </target>
-
- <!-- =================================
- target: admin - runs the Ant demo load scripts
- ================================= -->
- <target name="mt-admin" depends="init" description="--> mt-admin -Dparam1=path/to/FileName.xml : to run fortress admin scripts at specified location">
- <echo message="############### Run Fortress Ant script param1: ${param1} tenant: ${tenant} version: ${version} ###############"/>
- <java
- classname="org.apache.tools.ant.launch.Launcher"
- fork="true"
- failonerror="true"
- dir="${ldap.setup.dir}"
- timeout="4000000"
- taskname="startAnt">
- <classpath>
- <pathelement location="${ant.home}/lib/ant-launcher.jar"/>
- <path refid="bootstrap.class.path"/>
- <path refid="test.class.path"/>
- </classpath>
- <sysproperty key="version" value="${version}"/>
- <sysproperty key="tenant" value="${tenant}"/>
- <arg value="-buildfile"/>
- <arg file="${param1}"/>
- <arg value="-Dbasedir=${ldap.setup.dir}"/>
- </java>
- </target>
-
- <!-- =================================
- Multi-tenancy Demo HOME
- ================================= -->
- <target name="mt-demo0" depends="init" description="--> run multitenancy demo for HOME">
- <antcall target="mt-test">
- <param name="tenant" value="HOME"/>
- </antcall>
- </target>
-
- <!-- =================================
- Multi-tenancy Demo Client123
- ================================= -->
- <target name="mt-demo1" depends="init" description="--> run multitenancy demo for Client 123">
- <antcall target="mt-admin">
- <param name="param1" value="${load.demo.script}"/>
- <param name="tenant" value="Client123"/>
- </antcall>
- <antcall target="mt-test">
- <param name="tenant" value="Client123"/>
- </antcall>
- </target>
- <!-- =================================
- Multi-tenancy Demo Client456
- ================================= -->
- <target name="mt-demo2" depends="init" description="--> run multitenancy demo for Client 456">
- <antcall target="mt-admin">
- <param name="param1" value="${load.demo.script}"/>
- <param name="tenant" value="Client456"/>
- </antcall>
- <antcall target="mt-test">
- <param name="tenant" value="Client456"/>
- </antcall>
- </target>
- <!-- =================================
- Multi-tenancy Demo Client789
- ================================= -->
- <target name="mt-demo3" depends="init" description="--> run multitenancy demo for Client 789">
- <antcall target="mt-admin">
- <param name="param1" value="${load.demo.script}"/>
- <param name="tenant" value="Client789"/>
- </antcall>
- <antcall target="mt-test">
- <param name="tenant" value="Client789"/>
- </antcall>
- </target>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/da0aa158/mttest.sh
----------------------------------------------------------------------
diff --git a/mttest.sh b/mttest.sh
deleted file mode 100755
index 3a9226d..0000000
--- a/mttest.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-echo 'Test Home...'
-./build.sh -buildfile mtDemo.xml mt-demo0 >mttest.out 2>mttest.err &
-echo 'Load & Test Client123...'
-./build.sh -buildfile mtDemo.xml mt-demo1 >>mttest.out 2>>mttest.err &
-echo 'Load & Test Client456...'
-./build.sh -buildfile mtDemo.xml mt-demo2 >>mttest.out 2>>mttest.err &
-echo 'Load & Test Client789...'
-./build.sh -buildfile mtDemo.xml mt-demo3 >>mttest.out 2>>mttest.err &
-tail -f -n10000 mttest.out