{"id":21664741,"url":"https://github.com/th2-net/th2-grpc-act-ssh","last_synced_at":"2025-10-26T13:36:55.785Z","repository":{"id":57475002,"uuid":"441117094","full_name":"th2-net/th2-grpc-act-ssh","owner":"th2-net","description":"The repository contains the gRPC interface for interaction with th2-act-ssh component","archived":false,"fork":false,"pushed_at":"2023-07-20T13:03:00.000Z","size":87,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-26T04:02:12.832Z","etag":null,"topics":["grpc","th2-act","th2-grpc-library"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/th2-net.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-23T08:43:17.000Z","updated_at":"2022-03-18T16:48:37.000Z","dependencies_parsed_at":"2024-11-25T10:43:02.967Z","dependency_job_id":"a1b2e150-c266-41c5-ae09-1619e2de4e0b","html_url":"https://github.com/th2-net/th2-grpc-act-ssh","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":0.1333333333333333,"last_synced_commit":"e1cc01aac3aa338834515d1bdf6ba02e6c83e1bf"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/th2-net/th2-grpc-act-ssh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th2-net%2Fth2-grpc-act-ssh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th2-net%2Fth2-grpc-act-ssh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th2-net%2Fth2-grpc-act-ssh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th2-net%2Fth2-grpc-act-ssh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/th2-net","download_url":"https://codeload.github.com/th2-net/th2-grpc-act-ssh/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th2-net%2Fth2-grpc-act-ssh/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263449792,"owners_count":23468139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grpc","th2-act","th2-grpc-library"],"created_at":"2024-11-25T10:42:46.800Z","updated_at":"2025-10-26T13:36:50.732Z","avatar_url":"https://github.com/th2-net.png","language":"Python","readme":"# th2 gRPC act template library (1.1.0)\n\nThis is the template project for creating custom gRPC act libraries. It contains proto messages and `Act` service that are used [th2 act template](https://github.com/th2-net/th2-act-template-j \"th2-act-template-j\"). See [act_template.proto](src/main/proto/th2_grpc_act_template/act_template.proto \"act_template.proto\") file for details. \u003cbr\u003e\nTool generates code from `.proto` files and uploads built packages (`.proto` files and generated code) to specified repositories.\n\n## How to transform template\n1. Create a directory with the same name as project name (use underscores instead of dashes) under `src/main/proto` directory (remove other files and directories if they exist).\n2. Place your custom `.proto` files in created directory. Pay attention to `package` specifier and `import` statements.\n3. Edit `release_version` and `vcs_url` properties in `gradle.properties` file.\n4. Edit `rootProject.name` variable in `settings.gradle` file. This will be the name of Java package.\n5. Edit `package_info.json` file in order to specify name and version for Python package (create file if it's absent).\n6. Edit parameters of `setup.py` in `setup` function invocation such as: `author`, `author_email`, `url`. Do not edit the others.\n\nNote that the name of created directory under `src/main/proto` directory is used in Python (it's a package name).\n\n## How to maintain project\n1. Make your changes.\n2. Up version of Java package in `gradle.properties` file.\n3. Up version of Python package in `package_info.json` file.\n4. Commit everything.\n\n## How to run project\n\n### Java\nIf you wish to manually create and publish package for Java, run these command:\n```\ngradle --no-daemon clean build publish artifactoryPublish \\\n       -Pbintray_user=${BINTRAY_USER} \\\n       -Pbintray_key=${BINTRAY_KEY}\n```\n`BINTRAY_USER` and `BINTRAY_KEY` are parameters for publishing.\n\n### Python\nIf you wish to manually create and publish package for Python:\n1. Generate services by gradle:\n    ```\n       gradle --no-daemon clean generateProto\n    ```\n   You can find the generated files by following path: `src/gen/main/services/python`\n2. Generate code from `.proto` files and publish everything:\n    ```\n    pip install -r requirements.txt\n    python setup.py generate\n    python setup.py sdist\n    twine upload --repository-url ${PYPI_REPOSITORY_URL} --username ${PYPI_USER} --password ${PYPI_PASSWORD} dist/*\n    ```\n   `PYPI_REPOSITORY_URL`, `PYPI_USER` and `PYPI_PASSWORD` are parameters for publishing.\n\n## Release Notes\n\n### 1.1.0\n\n+ Update grpc-common version\n\n### 1.0.0\n\n+ Up major version for common V3 component\n\n### 0.0.5\n\n+ The exit code value can be unknown when the script or command is interrupting by the act. The interrupted flag will be `true` in this case.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth2-net%2Fth2-grpc-act-ssh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fth2-net%2Fth2-grpc-act-ssh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth2-net%2Fth2-grpc-act-ssh/lists"}