Skip to content

Commit 1b34256

Browse files
committed
refactor: refactor config APIs
Signed-off-by: Jongmin Kim <[email protected]>
1 parent eb693d4 commit 1b34256

File tree

4 files changed

+0
-37
lines changed

4 files changed

+0
-37
lines changed

proto/spaceone/api/config/v1/domain_config.proto

-6
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ service DomainConfig {
4747
body: "*"
4848
};
4949
}
50-
rpc stat (DomainConfigStatQuery) returns (google.protobuf.Struct) {
51-
option (google.api.http) = {
52-
post: "/config/v1/domain-config/stat"
53-
body: "*"
54-
};
55-
}
5650
}
5751

5852
message SetDomainConfigRequest {

proto/spaceone/api/config/v1/public_config.proto

-6
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ service PublicConfig {
4747
body: "*"
4848
};
4949
}
50-
rpc stat (PublicConfigStatQuery) returns (google.protobuf.Struct) {
51-
option (google.api.http) = {
52-
post: "/config/v1/public-config/stat"
53-
body: "*"
54-
};
55-
}
5650
}
5751

5852
message SetPublicConfigRequest {

proto/spaceone/api/config/v1/shared_config.proto

-19
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@ service SharedConfig {
2323
body: "*"
2424
};
2525
}
26-
rpc set (SetSharedConfigRequest) returns (SharedConfigInfo) {
27-
option (google.api.http) = {
28-
post: "/config/v1/shared-config/set"
29-
body: "*"
30-
};
31-
}
3226
rpc delete (SharedConfigRequest) returns (google.protobuf.Empty) {
3327
option (google.api.http) = {
3428
post: "/config/v1/shared-config/delete"
@@ -48,12 +42,6 @@ service SharedConfig {
4842
body: "*"
4943
};
5044
}
51-
rpc stat (SharedConfigStatQuery) returns (google.protobuf.Struct) {
52-
option (google.api.http) = {
53-
post: "/config/v1/shared-config/stat"
54-
body: "*"
55-
};
56-
}
5745
}
5846

5947

@@ -87,13 +75,6 @@ message UpdateSharedConfigRequest {
8775
string project_id = 22;
8876
}
8977

90-
message SetSharedConfigRequest {
91-
string name = 1;
92-
google.protobuf.Struct data = 2;
93-
// +optional
94-
google.protobuf.Struct tags = 3;
95-
}
96-
9778
message SharedConfigRequest {
9879
string name = 1;
9980
// +optional

proto/spaceone/api/config/v1/user_config.proto

-6
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ service UserConfig {
4747
body: "*"
4848
};
4949
}
50-
rpc stat (UserConfigStatQuery) returns (google.protobuf.Struct) {
51-
option (google.api.http) = {
52-
post: "/config/v1/user-config/stat"
53-
body: "*"
54-
};
55-
}
5650
}
5751

5852
message SetUserConfigRequest {

0 commit comments

Comments
 (0)