You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by is...@apache.org on 2021/09/08 01:31:57 UTC

[airavata-data-lake] branch master updated: update README of datalake-rest-proxy

This is an automated email from the ASF dual-hosted git repository.

isjarana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-data-lake.git


The following commit(s) were added to refs/heads/master by this push:
     new c7dc1c1  update README of datalake-rest-proxy
     new dd58be4  Merge pull request #62 from isururanawaka/sharing_service_impl
c7dc1c1 is described below

commit c7dc1c105a841d56de7ff1b05b9b584012a241e7
Author: Isuru Ranawaka <ir...@gmail.com>
AuthorDate: Tue Sep 7 21:31:11 2021 -0400

    update README of datalake-rest-proxy
---
 datalake-rest-proxy/src/main/resources/README.MD | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/datalake-rest-proxy/src/main/resources/README.MD b/datalake-rest-proxy/src/main/resources/README.MD
index f83c252..8f32c96 100644
--- a/datalake-rest-proxy/src/main/resources/README.MD
+++ b/datalake-rest-proxy/src/main/resources/README.MD
@@ -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- [...]
+
+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 .`