Skip to content

Commit b291040

Browse files
committed
refactor(data): rename objectstores to object_stores in proto and related files
1 parent 3e7d162 commit b291040

File tree

6 files changed

+30
-18
lines changed

6 files changed

+30
-18
lines changed

api/gen/go/config/data/v1/data.pb.go

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

api/gen/go/config/data/v1/data.pb.validate.go

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

api/proto/config/data/v1/data.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ option go_package = "github.com/origadmin/runtime/api/gen/go/config/data/v1;data
1414
// Data is the top-level configuration for all data-related components.
1515
message Data {
1616
// FileStore configurations.
17-
optional ObjectStores objectstores = 1 [
18-
json_name = "objectstores",
17+
optional ObjectStores object_stores = 1 [
18+
json_name = "object_stores",
1919
(gnostic.openapi.v3.property) = {description: "ObjectStore configurations"}
2020
];
2121

data/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Runtime Data Layer
2+
3+
**WARNING: EXPERIMENTAL AND INCOMPLETE**
4+
5+
The components within this `data` directory (`model`, `repository`, `mapper`, `query`, `event`, etc.) are currently **experimental** and serve as foundational examples for the framework's architecture.
6+
7+
They are **incomplete** and **not intended for production use**.
8+
9+
Please do not use these components directly in any production environment until they are officially marked as stable.

data/storage/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func NewProvider(dataConfig *datav1.Data) (Provider, error) {
8989
}
9090

9191
// Initialize Filestores
92-
p.objectstores, p.defaultObjectStore, err = NewObjectStores(dataConfig.GetObjectstores())
92+
p.objectstores, p.defaultObjectStore, err = NewObjectStores(dataConfig.GetObjectStores())
9393
if err != nil {
9494
return nil, err
9595
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sources:
2+
- kind: file
3+
path: ./configs/config.yaml

0 commit comments

Comments
 (0)