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 2023/07/02 23:06:39 UTC

[directory-fortress-core] branch master updated: FC-323 - deprecate old

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

smckinney pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-fortress-core.git


The following commit(s) were added to refs/heads/master by this push:
     new af9dcd89 FC-323 - deprecate old
af9dcd89 is described below

commit af9dcd89d5b4949c99e312f7d1ed4fb03b0462ba
Author: Shawn McKinney <sm...@symas.com>
AuthorDate: Sun Jul 2 18:06:31 2023 -0500

    FC-323 - deprecate old
---
 README-LOAD-TESTING.md                                            | 2 +-
 pom.xml                                                           | 8 +++++++-
 .../org/apache/directory/fortress/core/jmeter/CheckAccess.java    | 1 +
 .../directory/fortress/core/jmeter/FortressCreateSession.java     | 1 +
 .../apache/directory/fortress/core/jmeter/SessionPermissions.java | 1 +
 5 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/README-LOAD-TESTING.md b/README-LOAD-TESTING.md
index d0bac035..01832747 100644
--- a/README-LOAD-TESTING.md
+++ b/README-LOAD-TESTING.md
@@ -286,7 +286,7 @@ Otherwise the log4j outputs to console
 
 ##### A. jmeter tests fail java.lang.NoSuchMethodError
 
-Happens when jmeter test instance can't load all of the classes. Check the runtime classpath ensure all of the appropriate libs have been loaded.
+Happens when jmeter test instance can't load all of its classes. Ensure the required libs have been loaded.
 
 ```bash
 [INFO] Executing test: ftAddUser.jmx
diff --git a/pom.xml b/pom.xml
index 8445532a..5ec0570d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -814,7 +814,7 @@
             </configuration>
             <executions>
               <execution>
-                <id>configuration</id>
+                <id>fortress-jmeter</id>
                 <phase>pre-integration-test</phase>
                 <goals>
                   <goal>configure</goal>
@@ -826,6 +826,9 @@
                 <goals>
                   <goal>jmeter</goal>
                 </goals>
+                <configuration>
+                  <selectedConfiguration>fortress-jmeter</selectedConfiguration>
+                </configuration>
               </execution>
               <!-- Fail build on errors in test -->
               <execution>
@@ -833,6 +836,9 @@
                 <goals>
                   <goal>results</goal>
                 </goals>
+                <configuration>
+                  <selectedConfiguration>fortress-jmeter</selectedConfiguration>
+                </configuration>
               </execution>
             </executions>
           </plugin>
diff --git a/src/test/java/org/apache/directory/fortress/core/jmeter/CheckAccess.java b/src/test/java/org/apache/directory/fortress/core/jmeter/CheckAccess.java
index 48c50e24..13ea3b28 100644
--- a/src/test/java/org/apache/directory/fortress/core/jmeter/CheckAccess.java
+++ b/src/test/java/org/apache/directory/fortress/core/jmeter/CheckAccess.java
@@ -40,6 +40,7 @@ import static org.junit.Assert.*;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
+@Deprecated
 public class CheckAccess extends AbstractJavaSamplerClient
 {
     private static final org.slf4j.Logger LOG = LoggerFactory.getLogger( CheckAccess.class );
diff --git a/src/test/java/org/apache/directory/fortress/core/jmeter/FortressCreateSession.java b/src/test/java/org/apache/directory/fortress/core/jmeter/FortressCreateSession.java
index eb9fb5aa..e8c57567 100644
--- a/src/test/java/org/apache/directory/fortress/core/jmeter/FortressCreateSession.java
+++ b/src/test/java/org/apache/directory/fortress/core/jmeter/FortressCreateSession.java
@@ -38,6 +38,7 @@ import static org.junit.Assert.*;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
+@Deprecated
 public class FortressCreateSession extends AbstractJavaSamplerClient
 {
     private AccessMgr accessMgr;
diff --git a/src/test/java/org/apache/directory/fortress/core/jmeter/SessionPermissions.java b/src/test/java/org/apache/directory/fortress/core/jmeter/SessionPermissions.java
index fc4a84dc..abfa778b 100644
--- a/src/test/java/org/apache/directory/fortress/core/jmeter/SessionPermissions.java
+++ b/src/test/java/org/apache/directory/fortress/core/jmeter/SessionPermissions.java
@@ -42,6 +42,7 @@ import static org.junit.Assert.*;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
+@Deprecated
 public class SessionPermissions extends AbstractJavaSamplerClient
 {
     private static final org.slf4j.Logger LOG = LoggerFactory.getLogger( SessionPermissions.class );