th2 gRPC util library (3.1.0)
This library contains proto messages and MessageComparator service with RPC methods that are used in th2 util. See util.proto file for details.
Tool generates code from .proto files and uploads built packages (.proto files and generated code) to specified repositories.
How to maintain project
- Make your changes.
- Up version of Java package in
gradle.propertiesfile. - Up version of Python package in
package_info.jsonfile. - Commit everything.
How to run project
Java
If you wish to manually create and publish a package for Java, run the following command:
gradle --no-daemon clean build publish artifactoryPublish \
-Purl=${URL} \
-Puser=${USER} \
-Ppassword=${PASSWORD}
URL, USER and PASSWORD are parameters for publishing.
Python
If you wish to manually create and publish a package for Python:
- Generate services with
Gradle:
You can find the generated files by following path:gradle --no-daemon clean generateProtosrc/gen/main/services/python - Generate code from
.protofiles and publish everything usingtwine:pip install -r requirements.txt pip install twine python setup.py generate python setup.py sdist twine upload --repository-url ${PYPI_REPOSITORY_URL} --username ${PYPI_USER} --password ${PYPI_PASSWORD} dist/*PYPI_REPOSITORY_URL,PYPI_USERandPYPI_PASSWORDare parameters for publishing.
Changes
3.1.0
- Up version th2-grpc-common to 3.12.0 (with new grpc)
3.0.4
- Change requirement specifier for Python
3.0.3
- Up version th2-grpc-common to 3.8.0
3.0.2
- Up version th2-grpc-common to 3.4.0
3.0.0
- Migrated to common V3
Metadata
Release files for th2-grpc-util 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| th2_grpc_util-3.1.0.tar.gz | 8.9 kB | Details |
Release files / th2_grpc_util-3.1.0.tar.gz
| Download URL | th2_grpc_util-3.1.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c986b840d273374f38efd34c3054c311165df0ca73429a17f9cca59ebd8aa95c
|
|
BLAKE2b-256 checksum How to use checksums |
1bef1d278f8bb8f45499727e3f65786bf0ad687a366a34f9f0dae12788334745
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|