|
1 | | -// |
2 | | -// * Copyright 2020 The Feast Authors |
3 | | -// * |
4 | | -// * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | | -// * you may not use this file except in compliance with the License. |
6 | | -// * You may obtain a copy of the License at |
7 | | -// * |
8 | | -// * https://www.apache.org/licenses/LICENSE-2.0 |
9 | | -// * |
10 | | -// * Unless required by applicable law or agreed to in writing, software |
11 | | -// * distributed under the License is distributed on an "AS IS" BASIS, |
12 | | -// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | | -// * See the License for the specific language governing permissions and |
14 | | -// * limitations under the License. |
15 | | -// |
16 | | - |
17 | | -syntax = "proto3"; |
18 | | - |
19 | | -package feast.core; |
20 | | -option java_package = "feast.proto.core"; |
21 | | -option java_outer_classname = "RegistryProto"; |
22 | | -option go_package = "github.com/feast-dev/feast/go/protos/feast/core"; |
23 | | - |
24 | | -import "feast/core/Entity.proto"; |
25 | | -import "feast/core/FeatureService.proto"; |
26 | | -import "feast/core/FeatureTable.proto"; |
27 | | -import "feast/core/FeatureView.proto"; |
28 | | -import "feast/core/InfraObject.proto"; |
29 | | -import "feast/core/OnDemandFeatureView.proto"; |
30 | | -import "feast/core/StreamFeatureView.proto"; |
31 | | -import "feast/core/DataSource.proto"; |
32 | | -import "feast/core/SavedDataset.proto"; |
33 | | -import "feast/core/ValidationProfile.proto"; |
34 | | -import "google/protobuf/timestamp.proto"; |
35 | | -import "feast/core/Permission.proto"; |
36 | | -import "feast/core/Project.proto"; |
37 | | - |
38 | | -// Next id: 18 |
39 | | -message Registry { |
40 | | - repeated Entity entities = 1; |
41 | | - repeated FeatureTable feature_tables = 2; |
42 | | - repeated FeatureView feature_views = 6; |
43 | | - repeated DataSource data_sources = 12; |
44 | | - repeated OnDemandFeatureView on_demand_feature_views = 8; |
45 | | - repeated StreamFeatureView stream_feature_views = 14; |
46 | | - repeated FeatureService feature_services = 7; |
47 | | - repeated SavedDataset saved_datasets = 11; |
48 | | - repeated ValidationReference validation_references = 13; |
49 | | - Infra infra = 10; |
50 | | - // Tracking metadata of Feast by project |
51 | | - repeated ProjectMetadata project_metadata = 15 [deprecated = true]; |
52 | | - |
53 | | - string registry_schema_version = 3; // to support migrations; incremented when schema is changed |
54 | | - string version_id = 4; // version id, random string generated on each update of the data; now used only for debugging purposes |
55 | | - google.protobuf.Timestamp last_updated = 5; |
56 | | - repeated Permission permissions = 16; |
57 | | - repeated Project projects = 17; |
58 | | -} |
59 | | - |
60 | | -message ProjectMetadata { |
61 | | - string project = 1; |
62 | | - string project_uuid = 2; |
63 | | -} |
| 1 | +// |
| 2 | +// * Copyright 2020 The Feast Authors |
| 3 | +// * |
| 4 | +// * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +// * you may not use this file except in compliance with the License. |
| 6 | +// * You may obtain a copy of the License at |
| 7 | +// * |
| 8 | +// * https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +// * |
| 10 | +// * Unless required by applicable law or agreed to in writing, software |
| 11 | +// * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +// * See the License for the specific language governing permissions and |
| 14 | +// * limitations under the License. |
| 15 | +// |
| 16 | + |
| 17 | +syntax = "proto3"; |
| 18 | + |
| 19 | +package feast.core; |
| 20 | +option java_package = "feast.proto.core"; |
| 21 | +option java_outer_classname = "RegistryProto"; |
| 22 | +option go_package = "github.com/feast-dev/feast/go/protos/feast/core"; |
| 23 | + |
| 24 | +import "feast/core/Entity.proto"; |
| 25 | +import "feast/core/FeatureService.proto"; |
| 26 | +import "feast/core/FeatureTable.proto"; |
| 27 | +import "feast/core/FeatureView.proto"; |
| 28 | +import "feast/core/InfraObject.proto"; |
| 29 | +import "feast/core/OnDemandFeatureView.proto"; |
| 30 | +import "feast/core/StreamFeatureView.proto"; |
| 31 | +import "feast/core/DataSource.proto"; |
| 32 | +import "feast/core/SavedDataset.proto"; |
| 33 | +import "feast/core/ValidationProfile.proto"; |
| 34 | +import "google/protobuf/timestamp.proto"; |
| 35 | +import "feast/core/Permission.proto"; |
| 36 | +import "feast/core/Project.proto"; |
| 37 | +import "feast/core/FeatureViewVersion.proto"; |
| 38 | + |
| 39 | +// Next id: 19 |
| 40 | +message Registry { |
| 41 | + repeated Entity entities = 1; |
| 42 | + repeated FeatureTable feature_tables = 2; |
| 43 | + repeated FeatureView feature_views = 6; |
| 44 | + repeated DataSource data_sources = 12; |
| 45 | + repeated OnDemandFeatureView on_demand_feature_views = 8; |
| 46 | + repeated StreamFeatureView stream_feature_views = 14; |
| 47 | + repeated FeatureService feature_services = 7; |
| 48 | + repeated SavedDataset saved_datasets = 11; |
| 49 | + repeated ValidationReference validation_references = 13; |
| 50 | + Infra infra = 10; |
| 51 | + // Tracking metadata of Feast by project |
| 52 | + repeated ProjectMetadata project_metadata = 15 [deprecated = true]; |
| 53 | + |
| 54 | + string registry_schema_version = 3; // to support migrations; incremented when schema is changed |
| 55 | + string version_id = 4; // version id, random string generated on each update of the data; now used only for debugging purposes |
| 56 | + google.protobuf.Timestamp last_updated = 5; |
| 57 | + repeated Permission permissions = 16; |
| 58 | + repeated Project projects = 17; |
| 59 | + FeatureViewVersionHistory feature_view_version_history = 18; |
| 60 | +} |
| 61 | + |
| 62 | +message ProjectMetadata { |
| 63 | + string project = 1; |
| 64 | + string project_uuid = 2; |
| 65 | +} |
0 commit comments