From bc98e4641504b44072ad194bc24bc06a82807182 Mon Sep 17 00:00:00 2001 From: Prarthona Paul Date: Fri, 20 Oct 2023 12:54:51 -0400 Subject: [PATCH] [WFLY-18481] http-custom-mechanism Quickstart Common Enhancements CY2023Q3 --- .../quickstart_http_custom_mechanism_ci.yml | 17 +++++ http-custom-mechanism/README.adoc | 5 ++ http-custom-mechanism/configure-elytron.cli | 2 +- http-custom-mechanism/pom.xml | 68 +++++++++++++++++-- 4 files changed, 87 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/quickstart_http_custom_mechanism_ci.yml diff --git a/.github/workflows/quickstart_http_custom_mechanism_ci.yml b/.github/workflows/quickstart_http_custom_mechanism_ci.yml new file mode 100644 index 0000000000..ac417f0de1 --- /dev/null +++ b/.github/workflows/quickstart_http_custom_mechanism_ci.yml @@ -0,0 +1,17 @@ +name: WildFly http_custom_mechanism Quickstart CI + +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + paths: + - http_custom_mechanism/**' + - .github/workflows/quickstart_ci.yml + +jobs: + call-quickstart_ci: + uses: ./.github/workflows/quickstart_ci.yml + with: + QUICKSTART_PATH: http_custom_mechanism + TEST_PROVISIONED_SERVER: true + TEST_BOOTABLE_JAR: true + TEST_OPENSHIFT: false \ No newline at end of file diff --git a/http-custom-mechanism/README.adoc b/http-custom-mechanism/README.adoc index 069e4d6bea..4fa6c644bd 100644 --- a/http-custom-mechanism/README.adoc +++ b/http-custom-mechanism/README.adoc @@ -297,6 +297,11 @@ Enter `clean package wildfly:deploy` for the *Goals* and click *Run*. This deplo // Debug the Application include::../shared-doc/debug-the-application.adoc[leveloffset=+1] +// Build and run sections for other environments/builds +ifndef::ProductRelease,EAPXPRelease[] +include::../shared-doc/build-and-run-the-quickstart-with-provisioned-server.adoc[leveloffset=+1] +endif::[] + //************************************************* // Product Release content only //************************************************* diff --git a/http-custom-mechanism/configure-elytron.cli b/http-custom-mechanism/configure-elytron.cli index 1728676278..37a6ecbc25 100644 --- a/http-custom-mechanism/configure-elytron.cli +++ b/http-custom-mechanism/configure-elytron.cli @@ -4,7 +4,7 @@ batch # Add the resource to discover the factory implementation for the custom module. -/subsystem=elytron/service-loader-http-server-mechanism-factory=custom-factory:add(module=org.jboss.as.quickstart.http_custom_mechanism.custom-http-mechanism) +/subsystem=elytron/service-loader-http-server-mechanism-factory=custom-factory:add(module=org.jboss.as.quickstart.http_custom_mechanism) # Add an `http-authentication-factory` to the mechanism factory to a `security-domain` that will be used for the authentication. /subsystem=elytron/http-authentication-factory=custom-mechanism:add(http-server-mechanism-factory=custom-factory,security-domain=ApplicationDomain,mechanism-configurations=[{mechanism-name=CUSTOM_MECHANISM}]) diff --git a/http-custom-mechanism/pom.xml b/http-custom-mechanism/pom.xml index c41b19921f..53d4047cce 100644 --- a/http-custom-mechanism/pom.xml +++ b/http-custom-mechanism/pom.xml @@ -49,8 +49,12 @@ - - 30.0.0.Final + + 30.0.0.Beta1 + + ${version.server} + 5.0.0.Beta1 + 4.2.0.Final @@ -114,7 +118,7 @@ org.wildfly.bom wildfly-ee-with-tools - ${version.server.bom} + ${version.bom.ee} pom import @@ -150,8 +154,64 @@ org.wildfly.plugins wildfly-maven-plugin + ${version.plugin.wildfly} - + + + provisioned-server + + + + org.wildfly.plugins + wildfly-maven-plugin + + + org.wildfly:wildfly-galleon-pack:${version.server} + + + + + cloud-server + + + ROOT.war + + + + + package + + + + + + + + + integration-testing + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + **/BasicRuntimeIT + + + + + + integration-test + verify + + + + + + + +