KEYCLOAK-7994 Move examples to test-apps
This commit is contained in:
1 parent
4554798cec
commit
fb58214fcc
82 files changed
+123
-99
No files matched your search
@@ -61,7 +61,6 @@
|
||||
<module>js-console</module>
|
||||
<module>multi-tenant</module>
|
||||
<module>basic-auth</module>
|
||||
<module>fuse</module>
|
||||
<module>kerberos</module>
|
||||
<module>themes</module>
|
||||
<module>saml</module>
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
features:addurl mvn:org.keycloak/keycloak-osgi-features/${project.version}/xml/features
|
||||
features:addurl mvn:org.keycloak.example.demo/keycloak-fuse-example-features/${project.version}/xml/features
|
||||
features:addurl mvn:org.keycloak.testsuite/fuse-example-keycloak-features/${project.version}/xml/features
|
||||
features:install keycloak-fuse-6.2-example
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
features:addurl mvn:org.keycloak/keycloak-osgi-features/${project.version}/xml/features
|
||||
features:addurl mvn:org.keycloak.example.demo/keycloak-fuse-example-features/${project.version}/xml/features
|
||||
features:addurl mvn:org.keycloak.testsuite/fuse-example-keycloak-features/${project.version}/xml/features
|
||||
features:install keycloak-fuse-6.3-example
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
feature:repo-add mvn:org.keycloak/keycloak-osgi-features/${project.version}/xml/features
|
||||
feature:repo-add mvn:org.keycloak.example.demo/keycloak-fuse-example-features/${project.version}/xml/features
|
||||
feature:repo-add mvn:org.keycloak.testsuite/fuse-example-keycloak-features/${project.version}/xml/features
|
||||
|
||||
feature:install pax-http-undertow
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
feature:repo-add mvn:org.keycloak/keycloak-osgi-features/${project.version}/xml/features
|
||||
feature:repo-add mvn:org.keycloak.example.demo/keycloak-fuse-example-features/${project.version}/xml/features
|
||||
feature:repo-add mvn:org.keycloak.testsuite/fuse-example-keycloak-features/${project.version}/xml/features
|
||||
|
||||
feature:install pax-http-undertow
|
||||
|
||||
|
||||
File renamed without changes.
+3
-4
@@ -19,14 +19,13 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>camel-endpoint-example-fuse7-undertow</artifactId>
|
||||
<artifactId>fuse-example-camel-endpoint-fuse7-undertow</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>Camel endpoint example - Secured in Karaf/Fuse 7.0 on Undertow</name>
|
||||
<description/>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+4
-4
@@ -19,14 +19,14 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>camel-endpoint-example</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<artifactId>fuse-example-camel-endpoint</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>Camel endpoint example - Secured in Karaf/Fuse</name>
|
||||
<description/>
|
||||
File renamed without changes.
File renamed without changes.
+4
-4
@@ -19,14 +19,14 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>customer-portal-fuse-example</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<artifactId>fuse-example-customer-portal</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<name>Customer Portal - Secured in Karaf/Fuse</name>
|
||||
<description/>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+3
-4
@@ -19,14 +19,13 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>cxf-jaxrs-example-fuse7-undertow</artifactId>
|
||||
<artifactId>fuse-example-cxf-jaxrs-fuse7-undertow</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>CXF JAXRS Example - Secured in Karaf/Fuse 7.0 on Undertow</name>
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+3
-4
@@ -19,14 +19,13 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>cxf-jaxrs-example</artifactId>
|
||||
<artifactId>fuse-example-cxf-jaxrs</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>CXF JAXRS Example - Secured in Karaf/Fuse</name>
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+13
-6
@@ -19,17 +19,15 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>cxf-jaxws-example-fuse7-undertow</artifactId>
|
||||
<artifactId>fuse-example-cxf-jaxws-fuse7-undertow</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>CXF JAXWS Example - Secured in Karaf/Fuse 7.0 on Undertow</name>
|
||||
<description/>
|
||||
|
||||
<properties>
|
||||
<keycloak.osgi.export>
|
||||
@@ -69,6 +67,16 @@
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
<version>2.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-rt-frontend-jaxws</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-rt-transports-http</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@@ -89,7 +97,6 @@
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+3
-10
@@ -19,17 +19,15 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>cxf-jaxws-example</artifactId>
|
||||
<artifactId>fuse-example-cxf-jaxws</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
<name>CXF JAXWS Example - Secured in Karaf/Fuse</name>
|
||||
<description/>
|
||||
|
||||
<properties>
|
||||
<keycloak.osgi.export>
|
||||
@@ -84,11 +82,6 @@
|
||||
<artifactId>cxf-rt-transports-http</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.cxf</groupId>
|
||||
<artifactId>cxf-rt-transports-http-jetty</artifactId>
|
||||
<version>${cxf.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+4
-4
@@ -19,15 +19,15 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<name>Keycloak Examples - External Config</name>
|
||||
<artifactId>external-config</artifactId>
|
||||
<artifactId>fuse-example-external-config</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<description>
|
||||
Keycloak External Config Example
|
||||
</description>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+4
-4
@@ -19,14 +19,14 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>keycloak-fuse-example-features</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<artifactId>fuse-example-keycloak-features</artifactId>
|
||||
<name>Keycloak Fuse Example - Features</name>
|
||||
<description/>
|
||||
|
||||
+17
-17
@@ -30,12 +30,12 @@
|
||||
|
||||
<bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/${jackson.version}</bundle>
|
||||
<bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/${jackson.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/camel-endpoint-example-fuse7-undertow/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/cxf-jaxrs-example-fuse7-undertow/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/cxf-jaxws-example-fuse7-undertow/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/customer-portal-fuse-example/${project.version}/war</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/external-config/${project.version}/war</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/product-portal-fuse-example-fuse7-undertow/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-camel-endpoint-fuse7-undertow/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-cxf-jaxrs-fuse7-undertow/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-cxf-jaxws-fuse7-undertow/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-customer-portal/${project.version}/war</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-external-config/${project.version}/war</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-product-portal-fuse7-undertow/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<feature name="keycloak-fuse-6.3-example" version="${project.version}">
|
||||
@@ -48,12 +48,12 @@
|
||||
<feature>keycloak-jetty9-adapter</feature>
|
||||
<bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/${jackson.version}</bundle>
|
||||
<bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/${jackson.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/product-portal-fuse-example/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/customer-portal-fuse-example/${project.version}/war</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/external-config/${project.version}/war</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/camel-endpoint-example/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/cxf-jaxws-example/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/cxf-jaxrs-example/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-product-portal/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-customer-portal/${project.version}/war</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-external-config/${project.version}/war</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-camel-endpoint/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-cxf-jaxws/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-cxf-jaxrs/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
<!-- The difference are keycloak-jetty8-adapter and camel-jetty feature -->
|
||||
@@ -67,11 +67,11 @@
|
||||
<feature>keycloak-jetty8-adapter</feature>
|
||||
<bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/${jackson.version}</bundle>
|
||||
<bundle dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/${jackson.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/product-portal-fuse-example/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/customer-portal-fuse-example/${project.version}/war</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/camel-endpoint-example/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/cxf-jaxws-example/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.example.demo/cxf-jaxrs-example/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-product-portal/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-customer-portal/${project.version}/war</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-camel-endpoint/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-cxf-jaxws/${project.version}</bundle>
|
||||
<bundle>mvn:org.keycloak.testsuite/fuse-example-cxf-jaxrs/${project.version}</bundle>
|
||||
</feature>
|
||||
|
||||
</features>
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -18,28 +18,29 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<name>Fuse Examples</name>
|
||||
<name>Fuse Test Applications</name>
|
||||
<description/>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<packaging>pom</packaging>
|
||||
<properties>
|
||||
<camel.version>2.21.0</camel.version>
|
||||
<camel.version>2.21.2</camel.version>
|
||||
</properties>
|
||||
<modules>
|
||||
<module>customer-app-fuse</module>
|
||||
<module>product-app-fuse</module>
|
||||
<module>product-app-fuse7-undertow</module>
|
||||
<module>cxf-jaxrs</module>
|
||||
<module>cxf-jaxrs-fuse7-undertow</module>
|
||||
<module>cxf-jaxws</module>
|
||||
<module>cxf-jaxws-fuse7-undertow</module>
|
||||
<module>product-app-fuse</module>
|
||||
<module>product-app-fuse7-undertow</module>
|
||||
<module>camel</module>
|
||||
<module>camel-fuse7-undertow</module>
|
||||
<module>features</module>
|
||||
+6
-8
@@ -19,18 +19,15 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>product-portal-fuse-example</artifactId>
|
||||
<artifactId>fuse-example-product-portal</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
|
||||
<name>Product Portal - Secured in Karaf/Fuse</name>
|
||||
<description/>
|
||||
|
||||
<properties>
|
||||
<keycloak.osgi.export>
|
||||
@@ -62,8 +59,9 @@
|
||||
|
||||
<!-- Dependency for jaxws client to allow sending request to jaxws endpoint provided by cxf-jaxws-example -->
|
||||
<dependency>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>cxf-jaxws-example</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<artifactId>fuse-example-cxf-jaxws</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+6
-8
@@ -19,18 +19,15 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<parent>
|
||||
<artifactId>keycloak-examples-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<version>4.3.0.Final-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>product-portal-fuse-example-fuse7-undertow</artifactId>
|
||||
<artifactId>fuse-example-product-portal-fuse7-undertow</artifactId>
|
||||
<packaging>bundle</packaging>
|
||||
|
||||
<name>Product Portal - Secured in Karaf/Fuse 7.0 on Undertow</name>
|
||||
<description/>
|
||||
|
||||
<properties>
|
||||
<keycloak.osgi.export>
|
||||
@@ -65,8 +62,9 @@
|
||||
|
||||
<!-- Dependency for jaxws client to allow sending request to jaxws endpoint provided by cxf-jaxws-example -->
|
||||
<dependency>
|
||||
<groupId>org.keycloak.example.demo</groupId>
|
||||
<artifactId>cxf-jaxws-example</artifactId>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<artifactId>fuse-example-cxf-jaxws-fuse7-undertow</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -23,6 +23,7 @@
|
||||
<module>servlets</module>
|
||||
<module>app-profile-jee</module>
|
||||
<module>cors</module>
|
||||
<module>fuse</module>
|
||||
</modules>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -59,5 +59,13 @@
|
||||
<exclude name="**/subsystem-config.xml"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="target/test-apps/fuse" overwrite="true">
|
||||
<fileset dir="../fuse">
|
||||
<exclude name="**/target/**"/>
|
||||
<exclude name="**/*.iml"/>
|
||||
<exclude name="**/*.unconfigured"/>
|
||||
<exclude name="**/subsystem-config.xml"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
</project>
|
||||
@@ -535,6 +535,13 @@
|
||||
<version>${project.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>runtime</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jboss.arquillian.container</groupId>
|
||||
<artifactId>arquillian-container-karaf-managed</artifactId>
|
||||
@@ -589,6 +596,13 @@
|
||||
<version>${project.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>runtime</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jboss.arquillian.container</groupId>
|
||||
<artifactId>arquillian-container-karaf-managed</artifactId>
|
||||
@@ -647,6 +661,13 @@
|
||||
<groupId>org.jboss.arquillian.container</groupId>
|
||||
<artifactId>arquillian-container-karaf-managed</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.keycloak.testsuite</groupId>
|
||||
<artifactId>integration-arquillian-test-apps-fuse-parent</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>runtime</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
|
||||
+1
-1
@@ -101,7 +101,7 @@ public class FuseAdminAdapterTest extends AbstractExampleAdapterTest {
|
||||
|
||||
@Override
|
||||
public void addAdapterTestRealms(List<RealmRepresentation> testRealms) {
|
||||
RealmRepresentation fuseRealm = loadRealm(new File(EXAMPLES_HOME_DIR + "/fuse/demorealm.json"));
|
||||
RealmRepresentation fuseRealm = loadRealm(new File(TEST_APPS_HOME_DIR + "/fuse/demorealm.json"));
|
||||
testRealms.add(fuseRealm);
|
||||
}
|
||||
|
||||
|
||||
+10
-9
@@ -20,7 +20,6 @@ package org.keycloak.testsuite.adapter.example.fuse;
|
||||
import static org.hamcrest.Matchers.containsString;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertThat;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.keycloak.testsuite.auth.page.AuthRealm.DEMO;
|
||||
import static org.keycloak.testsuite.utils.io.IOUtil.loadRealm;
|
||||
import static org.keycloak.testsuite.util.URLAssert.assertCurrentUrlStartsWith;
|
||||
@@ -40,6 +39,7 @@ import org.keycloak.testsuite.arquillian.annotation.AppServerContainer;
|
||||
import org.keycloak.testsuite.arquillian.containers.ContainerConstants;
|
||||
import org.keycloak.testsuite.auth.page.account.Account;
|
||||
import org.keycloak.testsuite.util.WaitUtils;
|
||||
import org.hamcrest.Matchers;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -65,7 +65,7 @@ public class FuseExampleAdapterTest extends AbstractExampleAdapterTest {
|
||||
|
||||
@Override
|
||||
public void addAdapterTestRealms(List<RealmRepresentation> testRealms) {
|
||||
RealmRepresentation fuseRealm = loadRealm(new File(EXAMPLES_HOME_DIR + "/fuse/demorealm.json"));
|
||||
RealmRepresentation fuseRealm = loadRealm(new File(TEST_APPS_HOME_DIR + "/fuse/demorealm.json"));
|
||||
testRealms.add(fuseRealm);
|
||||
}
|
||||
|
||||
@@ -91,10 +91,11 @@ public class FuseExampleAdapterTest extends AbstractExampleAdapterTest {
|
||||
assertCurrentUrlStartsWith(customerListing);
|
||||
|
||||
String src = driver.getPageSource();
|
||||
assertTrue(src.contains("Username: bburke@redhat.com")
|
||||
&& src.contains("Bill Burke")
|
||||
&& src.contains("Stian Thorgersen")
|
||||
);
|
||||
assertThat(src, Matchers.allOf(
|
||||
containsString("Username: bburke@redhat.com"),
|
||||
containsString("Bill Burke"),
|
||||
containsString("Stian Thorgersen")
|
||||
));
|
||||
|
||||
// account mgmt
|
||||
customerListing.clickAccountManagement();
|
||||
@@ -152,9 +153,9 @@ public class FuseExampleAdapterTest extends AbstractExampleAdapterTest {
|
||||
testRealmLoginPage.form().login("bburke@redhat.com", "password");
|
||||
assertCurrentUrlStartsWith(productPortal);
|
||||
|
||||
assertTrue(productPortal.getProduct1UnsecuredText().contains("401: Unauthorized"));
|
||||
assertTrue(productPortal.getProduct1SecuredText().contains("Product received: id=1"));
|
||||
assertTrue(productPortal.getProduct2SecuredText().contains("Product received: id=2"));
|
||||
assertThat(productPortal.getProduct1UnsecuredText(), containsString("401: Unauthorized"));
|
||||
assertThat(productPortal.getProduct1SecuredText(), containsString("Product received: id=1"));
|
||||
assertThat(productPortal.getProduct2SecuredText(), containsString("Product received: id=2"));
|
||||
|
||||
productPortal.clickLogOutLink();
|
||||
WaitUtils.waitForPageToLoad();
|
||||
|
||||
Reference in new issue
Block a user