Skip to content
Permalink
Browse files
Merge pull request #62 from isururanawaka/sharing_service_impl
update README of datalake-rest-proxy
  • Loading branch information
isururanawaka committed Sep 8, 2021
2 parents 6763f90 + c7dc1c1 commit dd58be45aa260e577f25bd96e0cc6f1d3a01dfac
Showing 1 changed file with 16 additions and 0 deletions.
@@ -1,4 +1,20 @@
#Build .pb file
1. Install protoc plugin

resource : https://grpc.io/docs/languages/go/quickstart/
: https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/grpc_json_transcoder_filter
2. Download GOOGLE_APIS package

2. Generate .pb file

protoc -I<PATH_TO_GOOGLE_API>/googleapis -I/airavata-data-lake/data-resource-management-service/drms-stubs/src/main/proto -I/airavata-data-lake/data-orchestrator/data-orchestrator-service/data-orchestrator-api-stub/src/main/proto --include_imports --include_source_info --descriptor_set_out=drms.pb /airavata-data-lake/data-resource-management-service/drms-stubs/src/main/proto/preference/StoragePreferenceService.proto /airavata-data-lake/data-resource-management-service/drms-stubs/src/main/proto/resource/DRMSResourceService.proto /airavata-data-lake/data-resource-management-service/drms-stubs/src/main/proto/storage/StorageService.proto /airavata-data-lake/data-orchestrator/data-orchestrator-service/data-orchestrator-api-stub/src/main/proto/notification.proto

3. copy .pb file into datalake-rest-proxy/src/main/resources

# Run DRMS envoy proxy locally



1. Build docker image
`docker build -t drms-rest-proxy .`

0 comments on commit dd58be4

Please sign in to comment.