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

Merge from cadence java client #25

Closed
wants to merge 20 commits into from

Conversation

mfateev
Copy link
Member

@mfateev mfateev commented Mar 5, 2020

No description provided.

vancexu and others added 20 commits October 21, 2019 17:16
* Upgrade gradle wrapper from 4.2 to 6.0 (#417)

To improve compilation time and fix numerous amount of issues alongside
other improvements that have been done throughout Gradle 5.0 and 6.0

* Update Gradle wrapper jar and properties (#417)
In order to work with the newest Gradle version, the Wrapper jar and
properties also have to be updated, so that Gradle knows how to download
it's executable
Gradle automatically downloads the Gradle executable through the
properties

* Introduce OpenJDK Alpine Docker base image (#417)
In order to have the smallest image possible, the Alpine image has to
be used. This will increase performance and will use less disk space
and network ingress.
This base image will reduce the final image size from 713MB down to
377MB, this all by using as minimum libraries as needed; for example by
removing the linux-gnu library.

* Update multiple Gradle dependencies+plugins (#417)
In order to keep up with the latest technology, benefit from the
fastest features and to improve security due to fixed issues and
bugs, there has to be a regular update for dependency and plugins.
Update multiple Gradle dependencies and plugins:
Plugins:
- thrift-gradle-plugin (0.4.0 -> 0.4.1)
- net.minecrell.licenser (0.3 -> 0.4.1)
- com.github.sherter.google-java-format (0.6 -> 0.8)
- net.ltgt.errorprone (0.6 -> 1.1.1)
- java -> java-library

Compile Dependencies:
com.google.errorprone:error_prone_core (2.3.1 -> 2.3.3)
com.uber.m3 (0.2.3 -> 0.4.0)
com.google.guava (27.0.1-jre -> 28.1-jre)

* Updated GSON dependency to 2.8.6 (uber#417)
In order to keep up with the latest technology, benefit from the
fastest features and to improve security due to fixed issues and
bugs, there has to be a regular update for dependency and plugins.
GSON 2.8.6 deprecates certain methods which will prevent usage of
these methods in the future.
https://github.com/google/gson/blob/master/CHANGELOG.md#version-286

* Removed deprecated JsonParser#parse (uber#417)
JsonParser#parse and the initialization of the JsonParser objects
were deprecated in version 2.8.6 of GSON.
In order to be complient with the newest version, the code was updated
to use the static JsonParser#parseString method.

* Updated cron-utils from 8.0.0 -> 9.0.0 (uber#417)
It has been over a year since the version of cron-utils has been
updated. This update will bring numerous amount of fixes with it
of which some will be linked in this commit message.
jmrozanec/cron-utils#394
jmrozanec/cron-utils#396
More to be found at: jmrozanec/cron-utils@8.1.1...master

* Remove copyright header and jvm args (uber#417)
In the previous gradle wrapper file and gradle bat file there
were no copyright headers and no default jvm arguments.
These have been removed to comply with previous wrapper files.

* Re-added Maven publishing (uber#417)

* Renamed mavenCustom -> maven (uber#417)

* Moved maven publish to publications (uber#417)

* Removed * import from JsonDataConverter (#417)
The start import is not used anywhere else in the project, in order to
keep the code design clean, the start import has to be removed.
Add default micrometer reporter

Co-authored-by: NikitaNovozhilovWork <nikitanov@gmail.com>
* Use cadence-idl repo IDL storage
* Delete thrift dir

Co-authored-by: Liang Mei <meiliang86@gmail.com>
…(#431)

Co-authored-by: Liang Mei <meiliang86@gmail.com>
… #433 (#437)

* Implemented StartChildWorkflowExecutionParameters's ParentClosePolicy #433
In order to support that ChildWorkflows have the ability to have a
ParentClosePolicy, the field has to be added.

* Added ParentClosePolicy to StateMachines #433

* Added ParentClosePolicy to testWorkflowInput #433
* Add IDLs directory to gitignore #435
To leave the files on one place, the files coming from the submodule
repository should only stay on the submodule repository and not to be
included in the Java client repository.
Because of this, the IDLs folder should be ignored completely.

* Added initDlsSubmodule and updateDlsSubmodule task to gradle #435
In order to keep the master branch of the Dls repo up-to-date with the
Java Client, the building process has to have an updated list of thrift
files.

* Added git to Dockerfile #435
In order to support updating submodules, the Git package has to be added
to the JDK8 Alpine build image.

Co-authored-by: Maxim Fateev <mfateev@users.noreply.github.com>
This commit addresses uber/cadence-java-client#398 by adding support
for pluggable context propagation in workflow execution.
Updated the TestWorkflowMutableStateImpl to ensure the UpsertWorkflowSearchAttributes is recorded to the history in the unit tests. Prior to this fix, tests that involve search attributes would
hit NonDeterminisicWorkflowError.

Co-authored-by: Liang Mei <meiliang86@gmail.com>
* Add activity type and workflow type tags for activity e2e metrics
* fix test service
* Fix metrics test
@mfateev mfateev closed this Mar 5, 2020
robzienert pushed a commit to robzienert/sdk-java that referenced this pull request Jul 23, 2021
…nflx-temporal-sdk:msrc-DEPENDENCY_LOCK-NEBULA-for-master to master

* commit '203c753d8738e91d548e79e70dcf241f6a0d936f':
  Update dependency lock
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.

None yet