diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-04-19 09:16:26 -0400 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-04-22 14:23:09 +0000 |
commit | f6c08adeb3ec6af94fc75eb4e8f0853ce5f38c97 (patch) | |
tree | fac61fc7e86343e6c1afb0d9f63c974a9c0538e4 /components/model-catalog/proto-definition/proto | |
parent | f332e6ecd2c0a9f26451f977c941f03ed8ab84dc (diff) |
Update package type name
- split log output: prepare-env and exec-cmd
- fix proxy support when not provided
Change-Id: I40cdf90e7e3ebe31b0152923f8b6a38f6b6e9ca0
Issue-ID: CCCSDK-125
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'components/model-catalog/proto-definition/proto')
-rw-r--r-- | components/model-catalog/proto-definition/proto/CommandExecutor.proto | 4 | ||||
-rw-r--r-- | components/model-catalog/proto-definition/proto/README | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/components/model-catalog/proto-definition/proto/CommandExecutor.proto b/components/model-catalog/proto-definition/proto/CommandExecutor.proto index 8f02b8aea..bc175dbc1 100644 --- a/components/model-catalog/proto-definition/proto/CommandExecutor.proto +++ b/components/model-catalog/proto-definition/proto/CommandExecutor.proto @@ -53,8 +53,8 @@ message Packages { } enum PackageType { - PYTHON = 0; - ANSIBLE = 1; + pip = 0; + ansible_galaxy = 1; } service CommandExecutorService { diff --git a/components/model-catalog/proto-definition/proto/README b/components/model-catalog/proto-definition/proto/README index 47bbf3f34..8cc9c485f 100644 --- a/components/model-catalog/proto-definition/proto/README +++ b/components/model-catalog/proto-definition/proto/README @@ -2,11 +2,10 @@ To create python bindings, Prerequisites: https://developers.google.com/protocol-buffers/docs/downloads - https://github.com/dropbox/mypy-protobuf - + or + https://grpc.io/docs/quickstart/python.html Command: - protoc -I=. --python_out=. --mypy_out=. CommandExecutor.proto - - - + protoc -I=. --python_out=. --grpc_python_out=. CommandExecutor.proto + or + python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. CommandExecutor.proto |