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

ScheduleClient for SpringBoot #1816

Merged
merged 3 commits into from
Jul 17, 2023
Merged

ScheduleClient for SpringBoot #1816

merged 3 commits into from
Jul 17, 2023

Conversation

tsurdilo
Copy link
Contributor

Adds support to autowire ScheduleClient.

Schedule apis are not yet implemented for test env so if you have idea what other test can be added please let me know.

Closes #1812

Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
@tsurdilo tsurdilo requested a review from a team as a code owner July 14, 2023 14:11
tsurdilo and others added 2 commits July 14, 2023 12:40
…oral/spring/boot/autoconfigure/RootNamespaceAutoConfiguration.java

Co-authored-by: Chad Retz <chad.retz@gmail.com>
Signed-off-by: Tihomir Surdilovic <tihomir@temporal.io>
Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

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

LGTM, but you may want @Quinn-With-Two-Ns or @mjameswh's review before merging.

TemporalOptionsCustomizer<WorkflowClientOptions.Builder> clientCustomizer) {
TemporalOptionsCustomizer<WorkflowClientOptions.Builder> clientCustomizer,
@Autowired(required = false) @Nullable
TemporalOptionsCustomizer<ScheduleClientOptions.Builder> scheduleCustomize) {
Copy link
Member

Choose a reason for hiding this comment

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

Question, can you or your tests confirm that, due to type erasure, these last two parameters are properly treated as separate things by Spring?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agree we need customization tests for this. will try to add

@Quinn-With-Two-Ns
Copy link
Contributor

LGTM thanks @tsurdilo !

@tsurdilo tsurdilo merged commit 3be060b into master Jul 17, 2023
@tsurdilo tsurdilo deleted the scheduleclientadd branch July 17, 2023 15:28
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.

Spring support for ScheduleClient
3 participants