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

Add silent flag to update message activity #116

Merged

Conversation

yinan-symphony
Copy link
Contributor

The silent flag in the update message service was included
in the new BDK release, this commit is to support the same
in WDK.

Description

Please put here the intent of your pull request.

Dependencies

List the other pull requests that should be merged before/along this one.

Checklist

  • Referenced a ticket in the PR title or description
  • Filled properly the description and dependencies, if any
  • Unit/Integration tests updated or added
  • Javadoc added or updated
  • Updated the documentation in docs folder

@yinan-symphony yinan-symphony force-pushed the feature/silent-message-update branch from 3387921 to 4873735 Compare June 16, 2022 14:08
@@ -861,7 +861,8 @@ Update an existing message into a stream. Returns the new updated message.
Key | Type | Required |
------------ | -------| --- |
[message-id](#update-message-id) | String | Yes |
[content](#content) | String/Object| Yes |
[content](#content) | String/Object | Yes |
silent | Boolean | No |
Copy link
Contributor

@symphony-soufiane symphony-soufiane Jun 16, 2022

Choose a reason for hiding this comment

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

Can you describe "silent" property, and link it here ([silent](# silent)) ?

}

@Test
void updateMessageWithTemplateSuccessfull() throws IOException, ProcessingException {
void updateMessageWithoutSilentSuccessfully() throws IOException, ProcessingException {
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use ParameterizedTest for the two tests? The argument would be the workflow file path and the expected "silent" boolean value.

@yinan-symphony yinan-symphony force-pushed the feature/silent-message-update branch 5 times, most recently from 3588112 to 402e43b Compare June 17, 2022 08:22
The silent flag in the update message service was included
in the new BDK release, this commit is to support the same
in WDK.
@yinan-symphony yinan-symphony force-pushed the feature/silent-message-update branch from 402e43b to 3415817 Compare June 17, 2022 08:54
@@ -18,6 +18,9 @@

import com.github.fge.jsonschema.core.exceptions.ProcessingException;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
import org.junit.jupiter.params.provider.MethodSource;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this import is not used

@yinan-symphony yinan-symphony merged commit 727a009 into finos:master Jun 17, 2022
@yinan-symphony yinan-symphony deleted the feature/silent-message-update branch July 12, 2022 10: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.

2 participants