forked from Islandora/Alpaca
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One app to rule them all (Islandora#82)
* Make a single jar with configurable services * Add example properties * Remove old property files, fix license on classes copied from Fedora * More fixes to README * Fixes from tests not working * Logging for custom http client settings * Alter README * Alter Github Actions to use Java 11 * Make concurrent consumers configurable per service * Add disableStreamCache=true option to http calls * Switch back to using toD with full URL * Missed clean-up * Fix PMD rule violations * Fix GH actions for different branches * Ignore 2 PMD rules in specific cases * Correctly reference the exchange * Move to inject the CamelContext (#1) * Change up instantiation/initialization slightly. * PostConstruct is allowed to apply to private methods... ... seems like a false-positive in PMD? Got example exception from: https://stackoverflow.com/a/48679770 * Changing to camel's 3.7.6 LTS. * Async consumers for multiprocessing (#2) * Fix up warning about the unclosed app context. * Slap together async-consumer stuff. * Add separator for asyncConsumer parameter. * Update example as suggested. * Code review Co-authored-by: Adam <adam-vessey@users.noreply.github.com>
- Loading branch information
1 parent
1bb1918
commit 7bf983d
Showing
81 changed files
with
3,282 additions
and
1,722 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
braches: [2.x] | ||
pull_request: | ||
branches: [2.x] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
path: build_dir | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: '11' | ||
check-latest: true | ||
- name: Gradle Build | ||
run: | | ||
cd $GITHUB_WORKSPACE/build_dir | ||
./gradlew --stacktrace build | ||
- name: Gradle Docs | ||
run: | | ||
cd $GITHUB_WORKSPACE/build_dir | ||
./gradlew --stacktrace docs | ||
- name: Codecov report | ||
run: | | ||
cd $GITHUB_WORKSPACE/build_dir | ||
./gradlew codeCoverageReport | ||
- name: Codecov | ||
uses: codecov/codecov-action@v1 | ||
- name: Upload Archives | ||
run: | | ||
cd $GITHUB_WORKSPACE/build_dir | ||
./gradlew uploadArchives -PossrhUsername='${{ secrets.SONATYPE_USERNAME }}' -PossrhPassword='${{ secrets.SONATYPE_PASSWORD}}' | ||
if: steps.extract_branch.outputs.branch == 'main' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ build | |
bin/ | ||
.bloop/ | ||
.metals/ | ||
islandora-alpaca-app/src/main/resources/alpaca.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.