You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2022/11/02 06:11:52 UTC

[incubator-devlake] branch release-v0.14 updated: feat: add missing be_host and order_by to api docs (#3648)

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

abeizn pushed a commit to branch release-v0.14
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.14 by this push:
     new 9a2e8bd5 feat: add missing be_host and order_by to api docs (#3648)
9a2e8bd5 is described below

commit 9a2e8bd52afd480f317299699575c8fe5c241d4e
Author: long2ice <lo...@gmail.com>
AuthorDate: Wed Nov 2 14:11:49 2022 +0800

    feat: add missing be_host and order_by to api docs (#3648)
---
 plugins/starrocks/api/connection.go | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/plugins/starrocks/api/connection.go b/plugins/starrocks/api/connection.go
index 79f81002..7ea0d2de 100644
--- a/plugins/starrocks/api/connection.go
+++ b/plugins/starrocks/api/connection.go
@@ -37,17 +37,19 @@ func PostStarRocksPipeline(input *core.ApiResourceInput) (*core.ApiResourceOutpu
 type StarRocksPipelinePlan [][]struct {
 	Plugin  string `json:"plugin"`
 	Options struct {
-		SourceType  string   `json:"source_type"`
-		SourceDsn   string   `json:"source_dsn"`
-		Host        string   `json:"host"`
-		Port        int      `json:"port"`
-		User        string   `json:"user"`
-		Password    string   `json:"password"`
-		Database    string   `json:"database"`
-		BePort      int      `json:"be_port"`
-		Tables      []string `json:"tables"`
-		BatchSize   int      `json:"batch_size"`
-		Extra       string   `json:"extra"`
-		DomainLayer string   `json:"domain_layer"`
+		SourceType  string            `json:"source_type"`
+		SourceDsn   string            `json:"source_dsn"`
+		Host        string            `json:"host"`
+		Port        int               `json:"port"`
+		User        string            `json:"user"`
+		Password    string            `json:"password"`
+		Database    string            `json:"database"`
+		BeHost      string            `json:"be_host"`
+		BePort      int               `json:"be_port"`
+		Tables      []string          `json:"tables"`
+		BatchSize   int               `json:"batch_size"`
+		OrderBy     map[string]string `json:"order_by"`
+		Extra       string            `json:"extra"`
+		DomainLayer string            `json:"domain_layer"`
 	} `json:"options"`
 }