Skip to content
Permalink
Browse files
update README of datalake-rest-proxy
  • Loading branch information
isururanawaka committed Sep 8, 2021
1 parent 3e0bdbf commit c7dc1c105a841d56de7ff1b05b9b584012a241e7
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 c7dc1c1

Please sign in to comment.