diff options
author | Dan Timoney <dtimoney@att.com> | 2019-04-24 13:39:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-24 13:39:37 +0000 |
commit | 41a7dcb1ed23cc6b22769cc8b68c5b3e4bb2499a (patch) | |
tree | cd0adbf15ba103b015ab822ad1190730c9bb79ed /components/model-catalog/proto-definition | |
parent | a1984816bc46270bc705b09e4dd34b3e3280515e (diff) | |
parent | f6c08adeb3ec6af94fc75eb4e8f0853ce5f38c97 (diff) |
Merge "Update package type name"
Diffstat (limited to 'components/model-catalog/proto-definition')
-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 |