Pre-release
This release is a pre-release and may not be stable for production use.
th2 gRPC sim library
This library contains proto messages and Sim service with RPC methods that are used in th2 sim. See sim.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 package for Java, run these command:
gradle --no-daemon clean build publish artifactoryPublish \
-Pbintray_user=${BINTRAY_USER} \
-Pbintray_key=${BINTRAY_KEY}
BINTRAY_USER and BINTRAY_KEY are parameters for publishing.
Python
If you wish to manually create and publish package for Python:
- Generate services by 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:pip install -r requirements.txt 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.
Release notes
4.0.0
- New param relation
- Added new method 'getRelatedRules'
3.1.3
- Update setup.py
3.1.2
- Update libraries versions.
Metadata
Release files for th2-grpc-sim 4.0.0.dev3148568988
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_sim-4.0.0.dev3148568988.tar.gz | 7.7 kB | Details |
Release files / th2_grpc_sim-4.0.0.dev3148568988.tar.gz
| Download URL | th2_grpc_sim-4.0.0.dev3148568988.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00f3f327a5f52357ef710cb53b9d06c2b4d249b3ffc83adb543781bd00475a1e
|
|
BLAKE2b-256 checksum How to use checksums |
d2b515c3fdbddd5b52fbc38079e656b04ec4f888a639ef12b4542814ef427247
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.14
|