From 1cc65694732fccb91af1d2ff80a1155b8b096ce4 Mon Sep 17 00:00:00 2001 From: Dongze Li Date: Thu, 12 Sep 2024 16:37:46 +0800 Subject: [PATCH] feat: Support creating c++ stored procedure via gsctl (#4222) ## What do these changes do? - [x] Support creating c++ stored procedure via gsctl ``` gsctl create storedproc -f procedure.yaml # cat procedure.yaml name: "cpp-procedure-name" description: "This is a cpp test procedure" query: "@/home/graphscope/sample_app.cc" type: "cpp" ``` ```cpp # cat sample_app.cc namespace gs { class ExampleQuery : public CypherReadAppBase {} } ``` ## Related issue number Fixes #4216 --- docs/_static/coordinator_restful_api.html | 386 +++++++++++++++--- docs/analytical_engine/dev_and_test.md | 14 +- docs/development/dev_guide.md | 45 +- docs/learning_engine/dev_and_test.md | 8 +- docs/utilities/gs.md | 27 +- k8s/dockerfiles/flex-interactive.Dockerfile | 7 +- python/graphscope/gsctl/commands/common.py | 7 + .../graphscope/gsctl/impl/stored_procedure.py | 5 + .../gsctl/tests/test_interactive.py | 71 +++- python/graphscope/gsctl/utils.py | 5 +- 10 files changed, 487 insertions(+), 88 deletions(-) diff --git a/docs/_static/coordinator_restful_api.html b/docs/_static/coordinator_restful_api.html index c851ee8b3bb4..5712684589e2 100644 --- a/docs/_static/coordinator_restful_api.html +++ b/docs/_static/coordinator_restful_api.html @@ -223,7 +223,10 @@

DataSource

Deployment

Graph