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

EDU-8: Update source code for "Run your first app in Java" and port to Maven #29

Merged
merged 4 commits into from
May 3, 2024

Conversation

fairlydurable
Copy link
Contributor

@fairlydurable fairlydurable commented Apr 22, 2024

Major changes in explanations.

I did not simplify anything, although parts might be unnecessarily complicated to new adopters. This issue definitely worth discussing and I will re-evaluate after updating and snipsyncing the tutorial portion of the work.

UPDATE: added a single transaction type to bring the sample in-line with the other SDKS.
UPDATE: Jackson serialization is now supported by the custom type.

JIRA: https://temporalio.atlassian.net/browse/EDU-2293

* Source code updated
* Ported to Maven
* Transaction details are now a single type
* Jackson Deserialization is now supported for the custom type
* Test run and pass
* Worker runs correctly
* Caller app runs correctly

JIRA: https://temporalio.atlassian.net/browse/EDU-2293
    * Change amount from double to int
    * Added toggles to control the success of the deposit and refund
    * Add compensation mechanism to refund failed deposit

JIRA: https://temporalio.atlassian.net/browse/EDU-2293
Copy link

@MasonEgger MasonEgger left a comment

Choose a reason for hiding this comment

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

LGTM

@fairlydurable fairlydurable changed the title EDU-2293: Update source code for "Run your first app in Java" and port to Maven EDU-8: Update source code for "Run your first app in Java" and port to Maven May 3, 2024
@fairlydurable fairlydurable merged commit dddb46d into main May 3, 2024
2 checks passed
@fairlydurable fairlydurable deleted the EDU-2293 branch May 3, 2024 15:31
fairlydurable added a commit that referenced this pull request Jun 24, 2024
…o Maven (#29)

* EDU-2293: Update source code for "Run your first app in Java" and port to Maven

JIRA: https://temporalio.atlassian.net/browse/EDU-2293

* EDU-2293:  Update source code for "Run your first app in Java"

* Source code updated
* Ported to Maven
* Transaction details are now a single type
* Jackson Deserialization is now supported for the custom type
* Test run and pass
* Worker runs correctly
* Caller app runs correctly

JIRA: https://temporalio.atlassian.net/browse/EDU-2293

* EDU-2293:  Update source code for "Run your first app in Java"

    * Change amount from double to int
    * Added toggles to control the success of the deposit and refund
    * Add compensation mechanism to refund failed deposit

JIRA: https://temporalio.atlassian.net/browse/EDU-2293

* EDU-2293: updated to rethrow exception in Workflow fail case

JIRA: https://temporalio.atlassian.net/browse/EDU-2293

Updates project to use `refund` as separate method

converts transactionDetails from camel to kebab

5000 retries

Clean up Makefile

Makefile

5000 retries
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