Skip to content

Commit

Permalink
Merge pull request #316 from jamezp/update-workflows
Browse files Browse the repository at this point in the history
Update the workflow files and the README
  • Loading branch information
jamezp authored Jun 21, 2024
2 parents 2aff5ef + afee6ca commit 8a4588e
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 41 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ on:
- '**/pom.xml'
- 'config/**'
- 'context-propagation/**'
- 'galleon-pack/**'
- 'rest-client/**'
- 'rest-client-base/**'
- 'resteasy-microprofile-bom/**'
- 'resteasy-microprofile-test-bom/**'
- 'testsuite/**'
- 'wildfly/**'
pull_request:
branches:
- '**'
Expand All @@ -26,12 +26,12 @@ on:
- '**/pom.xml'
- 'config/**'
- 'context-propagation/**'
- 'galleon-pack/**'
- 'rest-client/**'
- 'rest-client-base/**'
- 'resteasy-microprofile-bom/**'
- 'resteasy-microprofile-test-bom/**'
- 'testsuite/**'
- 'wildfly/**'

# Only run the latest job
concurrency:
Expand Down Expand Up @@ -66,7 +66,6 @@ jobs:
name: surefire-reports-${{ matrix.os }}-${{ matrix.java }}
path: |
'**/surefire-reports/'
!galleon-pack/
additional-profiles:
name: Test with ${{ matrix.profile }} - JDK ${{ matrix.java }}
Expand Down Expand Up @@ -96,7 +95,6 @@ jobs:
name: surefire-reports-${{ matrix.profile }}-${{ matrix.java }}
path: |
'**/surefire-reports/'
!galleon-pack/
provision-preview:
name: Test Provisioning with Preview - JDK ${{ matrix.java }}
Expand Down Expand Up @@ -124,7 +122,6 @@ jobs:
name: surefire-reports-preview-${{ matrix.java }}
path: |
'**/surefire-reports/'
!galleon-pack/
format-check:
name: Check Code Formatting
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/resteasy-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ on:
- '**/pom.xml'
- 'config/**'
- 'context-propagation/**'
- 'galleon-pack/**'
- 'rest-client/**'
- 'rest-client-base/**'
- 'resteasy-microprofile-bom/**'
- 'resteasy-microprofile-test-bom/**'
- 'testsuite/**'
- 'wildfly/**'
pull_request:
branches:
- '**'
Expand Down Expand Up @@ -73,20 +73,17 @@ jobs:
name: surefire-reports-${{ matrix.os }}-${{ matrix.java }}
path: |
'**/surefire-reports/'
!galleon-pack/
- uses: actions/upload-artifact@v4
if: failure()
with:
name: failsafe-reports-${{ matrix.os }}-${{ matrix.java }}
path: |
'**/failsafe-reports/'
!galleon-pack/
- name: Upload server logs
uses: actions/upload-artifact@v4
if: failure()
with:
name: server-logs-${{ matrix.os }}-${{ matrix.java }}
path: |
'**/*.log'
!galleon-pack/
4 changes: 1 addition & 3 deletions .github/workflows/wildfly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ on:
- '**/pom.xml'
- 'config/**'
- 'context-propagation/**'
- 'galleon-pack/**'
- 'rest-client/**'
- 'rest-client-base/**'
- 'resteasy-microprofile-bom/**'
- 'resteasy-microprofile-test-bom/**'
- 'testsuite/**'
- 'wildfly/**'
pull_request:
branches:
- '**'
Expand Down Expand Up @@ -70,12 +70,10 @@ jobs:
name: surefire-reports-${{ matrix.os }}-${{ matrix.java }}
path: |
'**/surefire-reports/'
!galleon-pack/
- name: Upload server logs
uses: actions/upload-artifact@v4
if: failure()
with:
name: server-logs-${{ matrix.os }}-${{ matrix.java }}
path: |
'**/*.log'
!galleon-pack/
50 changes: 21 additions & 29 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The simplest way to use these dependencies is to import the BOM.
=== RESTEasy MicroProfile Client

This is an implementation of the
https://download.eclipse.org/microprofile/microprofile-rest-client-2.0/microprofile-rest-client-spec-2.0.html[MicroProfile REST Client].
https://download.eclipse.org/microprofile/microprofile-rest-client-4.0-RC1/microprofile-rest-client-spec-4.0-RC1.html[MicroProfile REST Client].

[source,xml]
----
Expand All @@ -45,9 +45,9 @@ https://download.eclipse.org/microprofile/microprofile-rest-client-2.0/microprof

=== RESTEasy Config

This uses the https://download.eclipse.org/microprofile/microprofile-config-2.0/microprofile-config-spec-2.0.html[MicroProfile Config]
This uses the https://download.eclipse.org/microprofile/microprofile-config-3.1/microprofile-config-spec-3.1.html[MicroProfile Config]
to define some
https://download.eclipse.org/microprofile/microprofile-config-2.0/apidocs/org/eclipse/microprofile/config/spi/ConfigSource.html[ConfigSource]
https://download.eclipse.org/microprofile/microprofile-config-3.1/apidocs/org/eclipse/microprofile/config/spi/ConfigSource.html[ConfigSource]
options.

The current sources for finding properties are:
Expand Down Expand Up @@ -85,32 +85,30 @@ The MicroProfile REST Client implementation and MicroProfile Config sources are
like to upgrade or add all the modules to a provisioned WildFly server, you can use the
https://docs.wildfly.org/galleon/[Galleon] tooling to do so.

==== Galleon CLI

----
galleon.sh install org.jboss.resteasy.microprofile:galleon-feature-pack:$VERSION
----


==== Maven

[source,xml]
----
<plugin>
<groupId>org.jboss.galleon</groupId>
<artifactId>galleon-maven-plugin</artifactId>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<configuration>
<install-dir>${jboss.home}</install-dir>
<record-state>false</record-state>
<plugin-options>
<jboss-maven-dist/>
<provisioning-dir>${jboss.home}</provisioning-dir>
<galleon-options>
<jboss-fork-embedded>true</jboss-fork-embedded>
<optional-packages>passive+</optional-packages>`
</plugin-options>
<jboss-maven-dist/>
</galleon-options>
<feature-packs>
<feature-pack>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-galleon-pack</artifactId>
<inherit-configs>false</inherit-configs>
<included-configs>
<config>
<model>standalone</model>
<name>standalone.xml</name>
</config>
</included-configs>
</feature-pack>
</feature-packs>
<channels>
Expand All @@ -134,17 +132,11 @@ galleon.sh install org.jboss.resteasy.microprofile:galleon-feature-pack:$VERSION
</manifest>
</channel>
</channels>
<configurations>
<config>
<model>standalone</model>
<name>standalone.xml</name>
<layers>
<layer>cdi</layer>
<layer>jaxrs-server</layer>
<layer>microprofile-config</layer>
</layers>
</config>
</configurations>
<layers>
<layer>cdi</layer>
<layer>jaxrs-server</layer>
<layer>microprofile-config</layer>
</layers>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 8a4588e

Please sign in to comment.