Skip to content

Commit a46b933

Browse files
feat(swagger): agent, add gs endpoint abstractions
As we need to enable testing against mock gcs server, we also need to get configurations of rclone and scylla gcs endpoints, so that we can match them. The rclone endpoint property was added in the last commit. The only new scylla property added with introduction of gcs endpoints is the type property taken from: https://github.com/scylladb/scylladb/blob/master/docs/dev/object_storage.md#configuring-gcp-storage-access. Refs #4597
1 parent c9870a6 commit a46b933

3 files changed

Lines changed: 64 additions & 2 deletions

File tree

v3/swagger/agent.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,11 @@
17481748
"gcs": {
17491749
"type": "object",
17501750
"x-nullable": false,
1751-
"properties": {}
1751+
"properties": {
1752+
"endpoint": {
1753+
"type": "string"
1754+
}
1755+
}
17521756
},
17531757
"azure": {
17541758
"type": "object",
@@ -1798,6 +1802,9 @@
17981802
},
17991803
"iam_role_arn": {
18001804
"type": "string"
1805+
},
1806+
"type": {
1807+
"type": "string"
18011808
}
18021809
}
18031810
}

v3/swagger/gen/agent/models/node_info.go

Lines changed: 53 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v3/swagger/gen/agent/models/object_storage_endpoint.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)