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

Give access to triggers of current container. #820

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

floitsch
Copy link
Member

No description provided.

@floitsch floitsch requested a review from kasperl September 20, 2023 13:19
Copy link
Contributor

@kasperl kasperl left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@@ -9,7 +9,7 @@ interface ArtemisService:
static SELECTOR ::= ServiceSelector
--uuid="61d82c0b-7009-4e16-b248-324de4e25f9B"
--major=0
--minor=7
--minor=10 // TODO(florian): is this correct?
Copy link
Contributor

Choose a reason for hiding this comment

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

No, this can stay 8. It is independent of the Artemis version.

Copy link
Member Author

Choose a reason for hiding this comment

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

Completely confused myself about this...
8 now.
done.

@@ -130,6 +139,9 @@ class ArtemisServiceProvider extends ChannelServiceProvider
container-current-trigger -> int:
unreachable // Here to satisfy the checker.

container-current-triggers -> List:
unreachable // Here to satisfy the checker.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
unreachable // Here to satisfy the checker.
unreachable // Here to satisfy the checker.

Copy link
Member Author

Choose a reason for hiding this comment

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

done.

@@ -87,6 +90,9 @@ class ArtemisClient extends ServiceClient
container-current-trigger -> int:
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we going to deprecate this?

Copy link
Member Author

Choose a reason for hiding this comment

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

The name is a bit confusing now.
This is the reason the container was started. So it's independent of the triggers.
It could, theoretically, be a list of reasons. Currently we stop keeping track of them once we know that a container needs to be started.

@floitsch floitsch enabled auto-merge (squash) September 25, 2023 08:49
@floitsch floitsch merged commit cb50df1 into main Sep 25, 2023
@floitsch floitsch deleted the floitsch/triggers.10.expose branch September 25, 2023 09:01
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