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

Payment example process application: migrated to sdk #531

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jonathanlukas
Copy link
Collaborator

Description

This PR migrates our payment example process application to the sdk

Additional context

Types of changes

  • Bug fix (non-breaking change which fixes an existing open issue)
  • New example (non-breaking change which adds functionality to an extension)
  • Documentation update (changes made to an existing piece of documentation)

Checklist:

  • My code is formatted by spotless
  • I have added at least one meaningful test to assert the behaviour of the example.
  • I have created documentation that informs about the purpose, the functionality and how to setup the example
  • I have added a build job for my example to .github/workflows/build.yaml

Copy link

@saig0 saig0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jonathanlukas looks good. 👍 I have a few minor comments. Please have a look. 🍪

❌ We should also update the README of the project.

🔧 Maybe, we need to update the application.properties as well. See the note in the docs.

Comment on lines +36 to +40
<dependency>
<groupId>io.camunda</groupId>
<artifactId>zeebe-process-test-extension-testcontainer</artifactId>
<version>${zeebe.version}</version>
</dependency>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 We could use the new Camunda Process Test instead of ZPT. It works natively with the Spring SDK. It is in an early stage but should support most of the assertions used in the test.

value: http://camunda-platform-keycloak.camunda-platform.svc.cluster.local/auth/realms/camunda-platform/protocol/openid-connect/token
- name: ZEEBE_TOKEN_AUDIENCE
- name: CAMUNDA_CLIENT_AUTH_AUDIENCE
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ The property name is wrong (ref).

Suggested change
- name: CAMUNDA_CLIENT_AUTH_AUDIENCE
- name: CAMUNDA_CLIENT_ZEEBE_AUDIENCE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants