Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set message metadata via Reactor context #24

Merged
merged 82 commits into from
Apr 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
e86b592
Change version to minor release version
smcvb Sep 14, 2020
1c2d45d
Token update try 3
smcvb Sep 14, 2020
22dbec9
Revert token to original
smcvb Sep 14, 2020
797fc8a
Update secure token
smcvb Sep 15, 2020
7cd953a
Run Sonar only with JDK-11 and try different way to pass token.
bert-laverman Sep 17, 2020
cac9cb9
Just the new token then, and camelcased name of the org
bert-laverman Sep 17, 2020
4a74b7d
Regenerated project key
bert-laverman Sep 17, 2020
77a5d5f
Copy build script from working project
bert-laverman Sep 17, 2020
2c46c8a
And now with a fixed copy-paste bug
bert-laverman Sep 17, 2020
77348f9
Remove mention of user group
smcvb Sep 24, 2020
59cba91
Added dependabot to the project
lfgcampos Oct 9, 2020
8477936
Add Maven central and SonarCloud badges
sandjelkovic Oct 12, 2020
72f7323
Merge pull request #10 from AxonFramework/add-dependabot
lfgcampos Oct 13, 2020
fd2b1de
Bump maven-javadoc-plugin from 2.10.4 to 3.2.0
dependabot[bot] Oct 13, 2020
d8555c0
Bump axon-messaging from 4.4.2 to 4.4.3
dependabot[bot] Oct 13, 2020
3a3c7f8
Bump maven-source-plugin from 3.0.1 to 3.2.1
dependabot[bot] Oct 13, 2020
b2765ad
Bump junit.jupiter.version from 5.5.2 to 5.7.0
dependabot[bot] Oct 13, 2020
467606a
Bump spring.version from 5.2.5.RELEASE to 5.2.9.RELEASE
dependabot[bot] Oct 13, 2020
15898fa
Merge pull request #17 from AxonFramework/dependabot/maven/spring.ver…
schananas Oct 14, 2020
adf1f1f
Merge pull request #16 from AxonFramework/dependabot/maven/org.apache…
schananas Oct 14, 2020
21e8a3d
Merge pull request #15 from AxonFramework/dependabot/maven/junit.jupi…
schananas Oct 14, 2020
cebd060
Merge pull request #14 from AxonFramework/dependabot/maven/org.axonfr…
schananas Oct 14, 2020
a09711a
Merge pull request #13 from AxonFramework/dependabot/maven/org.apache…
schananas Oct 14, 2020
e8e54e0
Bump maven-surefire-plugin from 2.19.1 to 2.22.2
dependabot[bot] Oct 15, 2020
483b8b1
Bump mockito.version from 3.1.0 to 3.5.13
dependabot[bot] Oct 15, 2020
41b3329
Bump maven-resources-plugin from 3.0.2 to 3.2.0
dependabot[bot] Oct 15, 2020
b2ab88f
Bump projectreactor.version from 3.3.6.RELEASE to 3.3.10.RELEASE
dependabot[bot] Oct 15, 2020
e066575
Set message metadata when MetaData is attached to Reactor Context
schananas Oct 15, 2020
bb8a42f
Add issue templates and close-label config
smcvb Oct 22, 2020
971124e
Add milestone
smcvb Oct 22, 2020
9e0cb4f
Merge pull request #12 from AxonFramework/add-readme-badges
sandjelkovic Oct 24, 2020
f796c9b
Add label in progress
smcvb Oct 26, 2020
0e2b5b7
Added automatic release notes on milestone closure
lfgcampos Nov 6, 2020
a58f69a
Added label mapping to release notes
lfgcampos Nov 6, 2020
e6ef424
Merge pull request #25 from AxonFramework/automatic-release-notes
smcvb Nov 6, 2020
3ac1d1f
Add new line
smcvb Nov 6, 2020
be30d21
Replace mailing list link with discuss.axoniq link
azzazzel Nov 25, 2020
02ddabf
Merge pull request #27 from azzazzel/patch-1
smcvb Nov 26, 2020
c737b60
Introduce Build and Test GHA
smcvb Dec 18, 2020
ea5fb6c
Fix if statement
smcvb Dec 18, 2020
14fed8a
Rename badge
smcvb Dec 18, 2020
2fffbb8
Remove empty line
smcvb Dec 18, 2020
b106bce
Update GHA
smcvb Jan 20, 2021
bf19abc
Add maven wrapper
smcvb Jan 20, 2021
b074db0
Fix javadoc
smcvb Jan 20, 2021
dc4c2b1
Merge pull request #23 from AxonFramework/dependabot/maven/projectrea…
smcvb Feb 3, 2021
bef7667
Merge pull request #22 from AxonFramework/dependabot/maven/org.apache…
smcvb Feb 3, 2021
d3d958b
Bump maven-assembly-plugin from 2.6 to 3.3.0
dependabot[bot] Feb 3, 2021
e963354
Bump jacoco-maven-plugin from 0.8.5 to 0.8.6
dependabot[bot] Feb 3, 2021
cb19a27
Merge pull request #20 from AxonFramework/dependabot/maven/mockito.ve…
smcvb Feb 3, 2021
30ece11
Merge pull request #19 from AxonFramework/dependabot/maven/org.apache…
smcvb Feb 3, 2021
7a87272
Bump maven-compiler-plugin from 3.5.1 to 3.8.1
dependabot[bot] Feb 3, 2021
bc471ee
Bump axon-messaging from 4.4.3 to 4.4.6
dependabot[bot] Feb 3, 2021
12c8f81
Merge pull request #31 from AxonFramework/dependabot/maven/org.jacoco…
smcvb Feb 3, 2021
d3ec298
Merge pull request #29 from AxonFramework/dependabot/maven/org.apache…
smcvb Feb 3, 2021
b9587ab
Merge pull request #32 from AxonFramework/dependabot/maven/org.apache…
smcvb Feb 3, 2021
5a42d85
Merge pull request #33 from AxonFramework/dependabot/maven/org.axonfr…
smcvb Feb 3, 2021
e097250
Bump spring.boot.version from 2.2.6.RELEASE to 2.4.2
dependabot[bot] Feb 3, 2021
c5a38c9
Merge pull request #30 from AxonFramework/dependabot/maven/spring.boo…
smcvb Feb 3, 2021
2cd9936
Merge branch 'axon-reactor-4.4.x'
smcvb Feb 3, 2021
289e455
Bump spring-boot-starters from 2.2.6.RELEASE to 2.2.13.RELEASE
dependabot[bot] Feb 4, 2021
21789ce
Bump mockito.version from 3.5.13 to 3.7.7
dependabot[bot] Feb 4, 2021
e8ff8a1
Bump spring.version from 5.2.9.RELEASE to 5.3.3
dependabot[bot] Feb 4, 2021
79f0432
Bump maven-jar-plugin from 3.0.2 to 3.2.0
dependabot[bot] Feb 4, 2021
d16e9cd
Bump projectreactor.version from 3.3.10.RELEASE to 3.4.2
dependabot[bot] Feb 4, 2021
99d6714
Merge pull request #35 from AxonFramework/dependabot/maven/spring.ver…
smcvb Feb 4, 2021
1acd3af
Merge pull request #38 from AxonFramework/dependabot/maven/org.apache…
smcvb Feb 4, 2021
f97a430
Merge pull request #37 from AxonFramework/dependabot/maven/projectrea…
smcvb Feb 4, 2021
57ae627
Merge pull request #36 from AxonFramework/dependabot/maven/mockito.ve…
smcvb Feb 4, 2021
aafe53b
Merge pull request #34 from AxonFramework/dependabot/maven/org.spring…
smcvb Feb 4, 2021
7d55c25
Bump junit.jupiter.version from 5.7.0 to 5.7.1
dependabot[bot] Feb 5, 2021
3d5f7a8
Merge pull request #39 from AxonFramework/dependabot/maven/junit.jupi…
smcvb Feb 5, 2021
20d3ef9
Fix junit5 dependencies in order to run every test of the project.
lfgcampos Feb 9, 2021
8945bad
Bump axon-messaging from 4.4.6 to 4.4.7
dependabot[bot] Feb 11, 2021
260cfb3
Merge pull request #40 from AxonFramework/dependabot/maven/org.axonfr…
smcvb Feb 11, 2021
33b4d92
Update contribution description
smcvb Feb 12, 2021
d2a5c92
Bump projectreactor.version from 3.4.2 to 3.4.3
dependabot[bot] Feb 16, 2021
f0ef705
Merge pull request #41 from AxonFramework/dependabot/maven/projectrea…
schananas Feb 23, 2021
a132c64
Bump projectreactor.version from 3.4.3 to 3.4.4
dependabot[bot] Mar 16, 2021
4b475ce
Merge pull request #45 from AxonFramework/dependabot/maven/projectrea…
smcvb Mar 16, 2021
5e7d190
Merge branch 'master' into feature/set-metadata-via-context
schananas Apr 2, 2021
1c43a3d
Update from deprecated API
schananas Apr 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--
Thanks for taking the time to draft up an issue for Axon Framework' Reactor Extension!
Prior to starting off, please read the following:

## Usage Questions

If you are having difficulty using Axon Framework' Reactor Extension,
please consider to check Axon's Reference Guide first if it answers your question: https://docs.axoniq.io/reference-guide/extensions/reactor

When the Reference Guide does no cover the specific question you have, take the following into account:
- GitHub is *not* intended for usages questions, instead:
- Drop a questions on AxonIQ's forum: https://discuss.axoniq.io/
- Or place a new question on StackOverflow, using the `axon` tag.

## Reporting an bug, feature or enhancement

Prior to filing an issue, please verify that it's not already reported by someone else.
After that's done, your issue will typically fall under one of the following options:

1. It's a `bug`
2. It's a `feature` request
3. It's an `enhancement` request

It is recommended that for either of the three you use one of the prepared issue template.
You can find all three of them [here](https://github.com/AxonFramework/extension-reactor/issues/new/choose).

## None of the above fit!

If you have encountered a use case which is not a question, nor a feature request, feel free to draft your scenario below.
-->
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/1_feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: 'Feature request'
about: 'Suggest a feature for the Reactor Extension'
title:
labels: 'Type: Feature'
---

<!-- Please use markdown (https://guides.github.com/features/mastering-markdown/) semantics throughout the feature description. -->

### Feature Description

<!--
Please provide a description of the feature you envision.
For example (pseudo-)code snippets showing what it might look like help us understand your suggestion better.
-->

### Current Behaviour

<!-- Please share the current behaviour of the Reactor Extension around this topic, if applicable. -->

### Wanted Behaviour

<!-- Please described the desired outcome through the Reactor Extension around the suggested feature. -->

### Possible Workarounds

<!-- If applicable, share any workarounds for the described feature. -->
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/2_enhancement_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: 'Enhancement request'
about: 'Suggest an enhancement/change to an existing feature for the Reactor Extension'
title:
labels: 'Type: Enhancement'
---

<!-- Please use markdown (https://guides.github.com/features/mastering-markdown/) semantics throughout the enhancement description. -->

### Enhancement Description

<!-- Please provide a description of the feature you envision. -->

### Current Behaviour

<!-- Please share the current behaviour of the Reactor Extension around this topic, if applicable. -->

### Wanted Behaviour

<!-- Please described the desired outcome through the Reactor Extension around the suggested enhancement. -->

### Possible Workarounds

<!-- If applicable, share any workarounds for the described enhancement. -->
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/3_bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: 'Bug report'
about: 'Report a bug for the Reactor Extension'
title:
labels: 'Type: Bug'
---

<!-- Please use markdown (https://guides.github.com/features/mastering-markdown/) semantics throughout the bug description. -->

### Basic information

* Axon Framework version:
* JDK version:
* Reactor Extension version:
* Complete executable reproducer if available (e.g. GitHub Repo):

### Steps to reproduce

<!--
Share all steps to be able to reproduce the bug, ideally based on a reproducer.
Combining this with a description of your setup helps us to figure out what the issue might be.
-->

### Expected behaviour

<!-- Please describe the expected behaviour. -->

### Actual behaviour

<!--
Please describe the actual behaviour as discovered.
If available, provide the entire stack trace, with markdown (```) semantics.
-->
4 changes: 4 additions & 0 deletions .github/close-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"Type: Bug": "Status: Resolved"
"Type: Enhancement": "Status: Resolved"
"Type: Feature": "Status: Resolved"
"Type: Dependency Upgrade": "Status: Resolved"
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: maven
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 5
# Specify labels for pull requests
labels:
- "Type: Dependency Upgrade"
- "Priority 1: Must"
- "Status: In Progress"
# Add reviewers
reviewers:
- "m1l4n54v1c"
- "saratry"
- "stefanvozd"
milestone: 2
20 changes: 20 additions & 0 deletions .github/release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
releasenotes:
sections:
- title: "Features"
emoji: ":star:"
labels: [ "Type: Feature" ]
- title: "Enhancements"
emoji: ":chart_with_upwards_trend:"
labels: [ "Type: Enhancement" ]
- title: "Bug Fixes"
emoji: ":beetle:"
labels: [ "Type: Bug" ]
- title: "Dependency Upgrade"
emoji: ":hammer_and_wrench:"
labels: [ "Type: Dependency Upgrade" ]
issues:
exclude:
labels: [ "Type: Incorrect Repository", "Type: Question" ]
contributors:
exclude:
names: [ "dependabot" ]
93 changes: 93 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Reactor Extension

on:
push:
branches:
- master
- axon-reactor-*.*.x
pull_request:

jobs:
build:
name: Test and Build on JDK ${{ matrix.java-version }}

runs-on: ubuntu-latest

strategy:
matrix:
include:
- java-version: 8
sonar-enabled: false
deploy: true
- java-version: 11
sonar-enabled: true
deploy: false

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK ${{ matrix.java-version }}
uses: actions/[email protected]
with:
java-version: ${{ matrix.java-version }}
server-id: sonatype
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD

- name: Cache .m2
uses: actions/[email protected]
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven

- name: Maven operation with Sonar
if: matrix.sonar-enabled
run: |
mvn -B -U -Pcoverage \
clean verify \
sonar:sonar \
-Dsonar.projectKey=AxonFramework_extension-reactor \
-Dsonar.organization=axonframework \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Maven operation without Sonar
if: matrix.sonar-enabled != true
run: |
mvn -B -U clean verify
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Deploy to Sonatype
if: github.github.head_ref == null && success() && matrix.deploy
run: |
./mvnw -B -U deploy -DskipTests=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_USERNAME: ${{ secrets.SONATYPE_TOKEN_ID }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_TOKEN_PASS }}

- name: Notify success to Slack
if: success()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: voxmedia/[email protected]
with:
channel_id: CAGSEC92A
status: SUCCESS
color: good

- name: Notify failure to Slack
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: voxmedia/[email protected]
with:
channel_id: CAGSEC92A
status: FAILED
color: danger
33 changes: 33 additions & 0 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Trigger the workflow on milestone events
on:
milestone:
types: [closed]
name: Milestone Closure
jobs:
create-release-notes:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Create Release Notes Markdown
uses: docker://decathlon/release-notes-generator-action:2.1.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
OUTPUT_FOLDER: temp_release_notes
USE_MILESTONE_TITLE: "true"
- name: Get the name of the created Release Notes file and extract Version
run: |
RELEASE_NOTES_FILE=$(ls temp_release_notes/*.md | head -n 1)
echo "RELEASE_NOTES_FILE=$RELEASE_NOTES_FILE" >> $GITHUB_ENV
VERSION=$(echo ${{ github.event.milestone.title }} | cut -d' ' -f2)
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Create a Draft Release Notes on GitHub
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: axon-reactor-${{ env.VERSION }}
release_name: Axon Reactor Extension v${{ env.VERSION }}
body_path: ${{ env.RELEASE_NOTES_FILE }}
draft: true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# Maven build artifacts can be ignored
target/
# ...but keep the wrapper jar
!.mvn/wrapper/maven-wrapper.jar

# Eclipse project files
.classpath
Expand Down
Binary file added .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
1 change: 1 addition & 0 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.6.2/apache-maven-3.6.2-bin.zip
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

Loading