tracdap-runtime 0.6.0rc2__py3-none-any.whl → 0.6.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tracdap/rt/_impl/data.py +53 -16
- tracdap/rt/_impl/models.py +12 -7
- tracdap/rt/_impl/storage.py +4 -0
- tracdap/rt/_impl/util.py +20 -12
- tracdap/rt/_plugins/_helpers.py +11 -0
- tracdap/rt/_plugins/repo_git.py +7 -1
- tracdap/rt/_plugins/repo_pypi.py +2 -1
- tracdap/rt/_plugins/storage_local.py +13 -8
- tracdap/rt/_version.py +1 -1
- tracdap/rt/config/__init__.py +11 -16
- tracdap/rt/config/common.py +10 -0
- tracdap/rt/config/common_pb2.py +38 -31
- tracdap/rt/config/job_pb2.py +21 -20
- tracdap/rt/config/platform.py +62 -25
- tracdap/rt/config/platform_pb2.py +52 -45
- tracdap/rt/config/result_pb2.py +15 -14
- tracdap/rt/config/runtime.py +0 -1
- tracdap/rt/config/runtime_pb2.py +24 -24
- tracdap/rt/metadata/__init__.py +18 -18
- tracdap/rt/metadata/common_pb2.py +15 -14
- tracdap/rt/metadata/custom_pb2.py +9 -8
- tracdap/rt/metadata/data_pb2.py +31 -30
- tracdap/rt/metadata/file_pb2.py +9 -8
- tracdap/rt/metadata/flow_pb2.py +33 -32
- tracdap/rt/metadata/job_pb2.py +55 -54
- tracdap/rt/metadata/model_pb2.py +31 -30
- tracdap/rt/metadata/object_id_pb2.py +13 -12
- tracdap/rt/metadata/object_pb2.py +9 -8
- tracdap/rt/metadata/search_pb2.py +19 -18
- tracdap/rt/metadata/stoarge_pb2.py +31 -30
- tracdap/rt/metadata/tag_pb2.py +13 -12
- tracdap/rt/metadata/tag_update_pb2.py +11 -10
- tracdap/rt/metadata/type_pb2.py +29 -28
- {tracdap_runtime-0.6.0rc2.dist-info → tracdap_runtime-0.6.1.dist-info}/METADATA +24 -23
- {tracdap_runtime-0.6.0rc2.dist-info → tracdap_runtime-0.6.1.dist-info}/RECORD +38 -40
- {tracdap_runtime-0.6.0rc2.dist-info → tracdap_runtime-0.6.1.dist-info}/WHEEL +1 -1
- tracdap/rt/config/gateway.py +0 -104
- tracdap/rt/config/gateway_pb2.py +0 -45
- {tracdap_runtime-0.6.0rc2.dist-info → tracdap_runtime-0.6.1.dist-info}/LICENSE +0 -0
- {tracdap_runtime-0.6.0rc2.dist-info → tracdap_runtime-0.6.1.dist-info}/top_level.txt +0 -0
tracdap/rt/config/platform.py
CHANGED
@@ -9,6 +9,29 @@ import tracdap.rt.metadata as metadata
|
|
9
9
|
from .common import * # noqa
|
10
10
|
|
11
11
|
|
12
|
+
class RoutingProtocol(_enum.Enum):
|
13
|
+
|
14
|
+
PROTOCOL_NOT_SET = 0,
|
15
|
+
|
16
|
+
HTTP = 1,
|
17
|
+
|
18
|
+
GRPC = 2,
|
19
|
+
|
20
|
+
GRPC_WEB = 3,
|
21
|
+
|
22
|
+
REST = 4,
|
23
|
+
|
24
|
+
|
25
|
+
class DeploymentLayout(_enum.Enum):
|
26
|
+
|
27
|
+
LAYOUT_NOT_SET = 0,
|
28
|
+
|
29
|
+
SANDBOX = 1,
|
30
|
+
|
31
|
+
HOSTED = 2,
|
32
|
+
|
33
|
+
CUSTOM = 3,
|
34
|
+
|
12
35
|
|
13
36
|
@_dc.dataclass
|
14
37
|
class PlatformConfig:
|
@@ -33,9 +56,11 @@ class PlatformConfig:
|
|
33
56
|
|
34
57
|
webServer: _tp.Optional[WebServerConfig] = None
|
35
58
|
|
36
|
-
|
59
|
+
gateway: _tp.Optional[GatewayConfig] = None
|
60
|
+
|
61
|
+
services: _tp.Dict[str, ServiceConfig] = _dc.field(default_factory=dict)
|
37
62
|
|
38
|
-
|
63
|
+
deployment: DeploymentConfig = None
|
39
64
|
|
40
65
|
|
41
66
|
@_dc.dataclass
|
@@ -46,16 +71,6 @@ class MetadataConfig:
|
|
46
71
|
format: metadata.MetadataFormat = metadata.MetadataFormat.METADATA_FORMAT_NOT_SET
|
47
72
|
|
48
73
|
|
49
|
-
@_dc.dataclass
|
50
|
-
class StorageConfig:
|
51
|
-
|
52
|
-
buckets: _tp.Dict[str, PluginConfig] = _dc.field(default_factory=dict)
|
53
|
-
|
54
|
-
defaultBucket: str = None
|
55
|
-
|
56
|
-
defaultFormat: str = None
|
57
|
-
|
58
|
-
|
59
74
|
@_dc.dataclass
|
60
75
|
class TenantConfig:
|
61
76
|
|
@@ -69,8 +84,6 @@ class WebServerConfig:
|
|
69
84
|
|
70
85
|
enabled: bool = None
|
71
86
|
|
72
|
-
port: int = None
|
73
|
-
|
74
87
|
contentRoot: PluginConfig = None
|
75
88
|
|
76
89
|
rewriteRules: _tp.List[WebServerRewriteRule] = _dc.field(default_factory=list)
|
@@ -97,36 +110,60 @@ class WebServerRedirect:
|
|
97
110
|
|
98
111
|
|
99
112
|
@_dc.dataclass
|
100
|
-
class
|
113
|
+
class GatewayConfig:
|
101
114
|
|
102
|
-
|
115
|
+
idleTimeout: int = None
|
103
116
|
|
104
|
-
|
117
|
+
routes: _tp.List[RouteConfig] = _dc.field(default_factory=list)
|
105
118
|
|
106
|
-
|
119
|
+
redirects: _tp.List[WebServerRedirect] = _dc.field(default_factory=list)
|
107
120
|
|
108
121
|
|
109
122
|
@_dc.dataclass
|
110
|
-
class
|
123
|
+
class RouteConfig:
|
111
124
|
|
112
|
-
|
125
|
+
routeName: str = None
|
126
|
+
|
127
|
+
routeType: RoutingProtocol = RoutingProtocol.PROTOCOL_NOT_SET
|
128
|
+
|
129
|
+
protocols: _tp.List[RoutingProtocol] = _dc.field(default_factory=list)
|
130
|
+
|
131
|
+
match: RoutingMatch = None
|
132
|
+
|
133
|
+
target: RoutingTarget = None
|
134
|
+
|
135
|
+
|
136
|
+
@_dc.dataclass
|
137
|
+
class RoutingMatch:
|
113
138
|
|
114
139
|
host: str = None
|
115
140
|
|
116
|
-
|
141
|
+
path: str = None
|
117
142
|
|
118
143
|
|
119
144
|
@_dc.dataclass
|
120
|
-
class
|
145
|
+
class RoutingTarget:
|
121
146
|
|
122
|
-
|
147
|
+
scheme: str = None
|
123
148
|
|
124
|
-
|
149
|
+
host: str = None
|
125
150
|
|
126
|
-
|
151
|
+
port: int = None
|
152
|
+
|
153
|
+
path: str = None
|
127
154
|
|
128
155
|
|
129
156
|
@_dc.dataclass
|
130
157
|
class ServiceConfig:
|
131
158
|
|
159
|
+
enabled: _tp.Optional[bool] = None
|
160
|
+
|
161
|
+
alias: str = None
|
162
|
+
|
132
163
|
port: int = None
|
164
|
+
|
165
|
+
|
166
|
+
@_dc.dataclass
|
167
|
+
class DeploymentConfig:
|
168
|
+
|
169
|
+
layout: DeploymentLayout = DeploymentLayout.LAYOUT_NOT_SET
|
@@ -1,11 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# source: tracdap/config/platform.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
4
5
|
"""Generated protocol buffer code."""
|
5
|
-
from google.protobuf.internal import builder as _builder
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
9
10
|
# @@protoc_insertion_point(imports)
|
10
11
|
|
11
12
|
_sym_db = _symbol_database.Default()
|
@@ -15,50 +16,56 @@ from tracdap.metadata import common_pb2 as tracdap_dot_metadata_dot_common__pb2
|
|
15
16
|
from tracdap.config import common_pb2 as tracdap_dot_config_dot_common__pb2
|
16
17
|
|
17
18
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtracdap/config/platform.proto\x12\x0etracdap.config\x1a\x1dtracdap/metadata/common.proto\x1a\x1btracdap/config/common.proto\"\
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtracdap/config/platform.proto\x12\x0etracdap.config\x1a\x1dtracdap/metadata/common.proto\x1a\x1btracdap/config/common.proto\"\xa4\x08\n\x0ePlatformConfig\x12:\n\x06\x63onfig\x18\x01 \x03(\x0b\x32*.tracdap.config.PlatformConfig.ConfigEntry\x12\x32\n\x0cplatformInfo\x18\x02 \x01(\x0b\x32\x1c.tracdap.config.PlatformInfo\x12<\n\x0e\x61uthentication\x18\x05 \x01(\x0b\x32$.tracdap.config.AuthenticationConfig\x12\x30\n\x08metadata\x18\x06 \x01(\x0b\x32\x1e.tracdap.config.MetadataConfig\x12.\n\x07storage\x18\x07 \x01(\x0b\x32\x1d.tracdap.config.StorageConfig\x12\x46\n\x0crepositories\x18\x08 \x03(\x0b\x32\x30.tracdap.config.PlatformConfig.RepositoriesEntry\x12.\n\x08\x65xecutor\x18\t \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12.\n\x08jobCache\x18\x0c \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12<\n\x07tenants\x18\n \x03(\x0b\x32+.tracdap.config.PlatformConfig.TenantsEntry\x12\x37\n\twebServer\x18\x0b \x01(\x0b\x32\x1f.tracdap.config.WebServerConfigH\x00\x88\x01\x01\x12\x33\n\x07gateway\x18\r \x01(\x0b\x32\x1d.tracdap.config.GatewayConfigH\x01\x88\x01\x01\x12>\n\x08services\x18\x04 \x03(\x0b\x32,.tracdap.config.PlatformConfig.ServicesEntry\x12\x34\n\ndeployment\x18\x0e \x01(\x0b\x32 .tracdap.config.DeploymentConfig\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aQ\n\x11RepositoriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tracdap.config.PluginConfig:\x02\x38\x01\x1aL\n\x0cTenantsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tracdap.config.TenantConfig:\x02\x38\x01\x1aN\n\rServicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.tracdap.config.ServiceConfig:\x02\x38\x01\x42\x0c\n\n_webServerB\n\n\x08_gateway\"r\n\x0eMetadataConfig\x12.\n\x08\x64\x61tabase\x18\x01 \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12\x30\n\x06\x66ormat\x18\x02 \x01(\x0e\x32 .tracdap.metadata.MetadataFormat\"j\n\x0cTenantConfig\x12\x1a\n\rdefaultBucket\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rdefaultFormat\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_defaultBucketB\x10\n\x0e_defaultFormat\"\xc7\x01\n\x0fWebServerConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x31\n\x0b\x63ontentRoot\x18\x03 \x01(\x0b\x32\x1c.tracdap.config.PluginConfig\x12:\n\x0crewriteRules\x18\x04 \x03(\x0b\x32$.tracdap.config.WebServerRewriteRule\x12\x34\n\tredirects\x18\x05 \x03(\x0b\x32!.tracdap.config.WebServerRedirect\"6\n\x14WebServerRewriteRule\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\t\"C\n\x11WebServerRedirect\x12\x0e\n\x06source\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"\x87\x01\n\rGatewayConfig\x12\x13\n\x0bidleTimeout\x18\x01 \x01(\r\x12+\n\x06routes\x18\x02 \x03(\x0b\x32\x1b.tracdap.config.RouteConfig\x12\x34\n\tredirects\x18\x03 \x03(\x0b\x32!.tracdap.config.WebServerRedirect\"\xe4\x01\n\x0bRouteConfig\x12\x11\n\trouteName\x18\x01 \x01(\t\x12\x32\n\trouteType\x18\x02 \x01(\x0e\x32\x1f.tracdap.config.RoutingProtocol\x12\x32\n\tprotocols\x18\x03 \x03(\x0e\x32\x1f.tracdap.config.RoutingProtocol\x12+\n\x05match\x18\x05 \x01(\x0b\x32\x1c.tracdap.config.RoutingMatch\x12-\n\x06target\x18\x06 \x01(\x0b\x32\x1d.tracdap.config.RoutingTarget\"*\n\x0cRoutingMatch\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"I\n\rRoutingTarget\x12\x0e\n\x06scheme\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12\x0c\n\x04path\x18\x04 \x01(\t\"N\n\rServiceConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\r\n\x05\x61lias\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\rB\n\n\x08_enabled\"D\n\x10\x44\x65ploymentConfig\x12\x30\n\x06layout\x18\x01 \x01(\x0e\x32 .tracdap.config.DeploymentLayout*S\n\x0fRoutingProtocol\x12\x14\n\x10PROTOCOL_NOT_SET\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\x08\n\x04GRPC\x10\x02\x12\x0c\n\x08GRPC_WEB\x10\x03\x12\x08\n\x04REST\x10\x04*K\n\x10\x44\x65ploymentLayout\x12\x12\n\x0eLAYOUT_NOT_SET\x10\x00\x12\x0b\n\x07SANDBOX\x10\x01\x12\n\n\x06HOSTED\x10\x02\x12\n\n\x06\x43USTOM\x10\x03\x42\x1c\n\x18org.finos.tracdap.configP\x01\x62\x06proto3')
|
19
20
|
|
20
|
-
|
21
|
-
_builder.
|
21
|
+
_globals = globals()
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.config.platform_pb2', _globals)
|
22
24
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
|
-
|
24
|
-
DESCRIPTOR.
|
25
|
-
|
26
|
-
_PLATFORMCONFIG_CONFIGENTRY.
|
27
|
-
|
28
|
-
_PLATFORMCONFIG_REPOSITORIESENTRY.
|
29
|
-
|
30
|
-
_PLATFORMCONFIG_TENANTSENTRY.
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
_TENANTCONFIG.
|
50
|
-
|
51
|
-
_WEBSERVERCONFIG.
|
52
|
-
|
53
|
-
_WEBSERVERREWRITERULE.
|
54
|
-
|
55
|
-
_WEBSERVERREDIRECT.
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
25
|
+
_globals['DESCRIPTOR']._options = None
|
26
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\030org.finos.tracdap.configP\001'
|
27
|
+
_globals['_PLATFORMCONFIG_CONFIGENTRY']._options = None
|
28
|
+
_globals['_PLATFORMCONFIG_CONFIGENTRY']._serialized_options = b'8\001'
|
29
|
+
_globals['_PLATFORMCONFIG_REPOSITORIESENTRY']._options = None
|
30
|
+
_globals['_PLATFORMCONFIG_REPOSITORIESENTRY']._serialized_options = b'8\001'
|
31
|
+
_globals['_PLATFORMCONFIG_TENANTSENTRY']._options = None
|
32
|
+
_globals['_PLATFORMCONFIG_TENANTSENTRY']._serialized_options = b'8\001'
|
33
|
+
_globals['_PLATFORMCONFIG_SERVICESENTRY']._options = None
|
34
|
+
_globals['_PLATFORMCONFIG_SERVICESENTRY']._serialized_options = b'8\001'
|
35
|
+
_globals['_ROUTINGPROTOCOL']._serialized_start=2361
|
36
|
+
_globals['_ROUTINGPROTOCOL']._serialized_end=2444
|
37
|
+
_globals['_DEPLOYMENTLAYOUT']._serialized_start=2446
|
38
|
+
_globals['_DEPLOYMENTLAYOUT']._serialized_end=2521
|
39
|
+
_globals['_PLATFORMCONFIG']._serialized_start=110
|
40
|
+
_globals['_PLATFORMCONFIG']._serialized_end=1170
|
41
|
+
_globals['_PLATFORMCONFIG_CONFIGENTRY']._serialized_start=858
|
42
|
+
_globals['_PLATFORMCONFIG_CONFIGENTRY']._serialized_end=903
|
43
|
+
_globals['_PLATFORMCONFIG_REPOSITORIESENTRY']._serialized_start=905
|
44
|
+
_globals['_PLATFORMCONFIG_REPOSITORIESENTRY']._serialized_end=986
|
45
|
+
_globals['_PLATFORMCONFIG_TENANTSENTRY']._serialized_start=988
|
46
|
+
_globals['_PLATFORMCONFIG_TENANTSENTRY']._serialized_end=1064
|
47
|
+
_globals['_PLATFORMCONFIG_SERVICESENTRY']._serialized_start=1066
|
48
|
+
_globals['_PLATFORMCONFIG_SERVICESENTRY']._serialized_end=1144
|
49
|
+
_globals['_METADATACONFIG']._serialized_start=1172
|
50
|
+
_globals['_METADATACONFIG']._serialized_end=1286
|
51
|
+
_globals['_TENANTCONFIG']._serialized_start=1288
|
52
|
+
_globals['_TENANTCONFIG']._serialized_end=1394
|
53
|
+
_globals['_WEBSERVERCONFIG']._serialized_start=1397
|
54
|
+
_globals['_WEBSERVERCONFIG']._serialized_end=1596
|
55
|
+
_globals['_WEBSERVERREWRITERULE']._serialized_start=1598
|
56
|
+
_globals['_WEBSERVERREWRITERULE']._serialized_end=1652
|
57
|
+
_globals['_WEBSERVERREDIRECT']._serialized_start=1654
|
58
|
+
_globals['_WEBSERVERREDIRECT']._serialized_end=1721
|
59
|
+
_globals['_GATEWAYCONFIG']._serialized_start=1724
|
60
|
+
_globals['_GATEWAYCONFIG']._serialized_end=1859
|
61
|
+
_globals['_ROUTECONFIG']._serialized_start=1862
|
62
|
+
_globals['_ROUTECONFIG']._serialized_end=2090
|
63
|
+
_globals['_ROUTINGMATCH']._serialized_start=2092
|
64
|
+
_globals['_ROUTINGMATCH']._serialized_end=2134
|
65
|
+
_globals['_ROUTINGTARGET']._serialized_start=2136
|
66
|
+
_globals['_ROUTINGTARGET']._serialized_end=2209
|
67
|
+
_globals['_SERVICECONFIG']._serialized_start=2211
|
68
|
+
_globals['_SERVICECONFIG']._serialized_end=2289
|
69
|
+
_globals['_DEPLOYMENTCONFIG']._serialized_start=2291
|
70
|
+
_globals['_DEPLOYMENTCONFIG']._serialized_end=2359
|
64
71
|
# @@protoc_insertion_point(module_scope)
|
tracdap/rt/config/result_pb2.py
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# source: tracdap/config/result.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
4
5
|
"""Generated protocol buffer code."""
|
5
|
-
from google.protobuf.internal import builder as _builder
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
9
10
|
# @@protoc_insertion_point(imports)
|
10
11
|
|
11
12
|
_sym_db = _symbol_database.Default()
|
@@ -19,18 +20,18 @@ from tracdap.metadata import tag_update_pb2 as tracdap_dot_metadata_dot_tag__upd
|
|
19
20
|
|
20
21
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1btracdap/config/result.proto\x12\x0etracdap.config\x1a tracdap/metadata/object_id.proto\x1a\x1dtracdap/metadata/object.proto\x1a\x1atracdap/metadata/job.proto\x1a!tracdap/metadata/tag_update.proto\";\n\rTagUpdateList\x12*\n\x05\x61ttrs\x18\x01 \x03(\x0b\x32\x1b.tracdap.metadata.TagUpdate\"\x9d\x02\n\tJobResult\x12*\n\x05jobId\x18\x01 \x01(\x0b\x32\x1b.tracdap.metadata.TagHeader\x12\x33\n\nstatusCode\x18\x02 \x01(\x0e\x32\x1f.tracdap.metadata.JobStatusCode\x12\x15\n\rstatusMessage\x18\x03 \x01(\t\x12\x37\n\x07results\x18\x04 \x03(\x0b\x32&.tracdap.config.JobResult.ResultsEntry\x1aR\n\x0cResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".tracdap.metadata.ObjectDefinition:\x02\x38\x01J\x04\x08\x05\x10\x06R\x05\x61ttrsB\x1c\n\x18org.finos.tracdap.configP\x01\x62\x06proto3')
|
21
22
|
|
22
|
-
|
23
|
-
_builder.
|
23
|
+
_globals = globals()
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.config.result_pb2', _globals)
|
24
26
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
25
|
-
|
26
|
-
DESCRIPTOR.
|
27
|
-
|
28
|
-
_JOBRESULT_RESULTSENTRY.
|
29
|
-
|
30
|
-
_TAGUPDATELIST.
|
31
|
-
|
32
|
-
_JOBRESULT.
|
33
|
-
|
34
|
-
_JOBRESULT_RESULTSENTRY.
|
35
|
-
_JOBRESULT_RESULTSENTRY._serialized_end=509
|
27
|
+
_globals['DESCRIPTOR']._options = None
|
28
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\030org.finos.tracdap.configP\001'
|
29
|
+
_globals['_JOBRESULT_RESULTSENTRY']._options = None
|
30
|
+
_globals['_JOBRESULT_RESULTSENTRY']._serialized_options = b'8\001'
|
31
|
+
_globals['_TAGUPDATELIST']._serialized_start=175
|
32
|
+
_globals['_TAGUPDATELIST']._serialized_end=234
|
33
|
+
_globals['_JOBRESULT']._serialized_start=237
|
34
|
+
_globals['_JOBRESULT']._serialized_end=522
|
35
|
+
_globals['_JOBRESULT_RESULTSENTRY']._serialized_start=427
|
36
|
+
_globals['_JOBRESULT_RESULTSENTRY']._serialized_end=509
|
36
37
|
# @@protoc_insertion_point(module_scope)
|
tracdap/rt/config/runtime.py
CHANGED
tracdap/rt/config/runtime_pb2.py
CHANGED
@@ -1,42 +1,42 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# source: tracdap/config/runtime.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
4
5
|
"""Generated protocol buffer code."""
|
5
|
-
from google.protobuf.internal import builder as _builder
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
9
10
|
# @@protoc_insertion_point(imports)
|
10
11
|
|
11
12
|
_sym_db = _symbol_database.Default()
|
12
13
|
|
13
14
|
|
14
15
|
from tracdap.config import common_pb2 as tracdap_dot_config_dot_common__pb2
|
15
|
-
from tracdap.config import platform_pb2 as tracdap_dot_config_dot_platform__pb2
|
16
16
|
|
17
17
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctracdap/config/runtime.proto\x12\x0etracdap.config\x1a\x1btracdap/config/common.proto\
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ctracdap/config/runtime.proto\x12\x0etracdap.config\x1a\x1btracdap/config/common.proto\"\xf9\x02\n\rRuntimeConfig\x12\x39\n\x06\x63onfig\x18\x01 \x03(\x0b\x32).tracdap.config.RuntimeConfig.ConfigEntry\x12.\n\x07storage\x18\x02 \x01(\x0b\x32\x1d.tracdap.config.StorageConfig\x12\x45\n\x0crepositories\x18\x03 \x03(\x0b\x32/.tracdap.config.RuntimeConfig.RepositoriesEntry\x12\x34\n\rsparkSettings\x18\x05 \x01(\x0b\x32\x1d.tracdap.config.SparkSettings\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aQ\n\x11RepositoriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.tracdap.config.PluginConfig:\x02\x38\x01\"\x85\x01\n\rSparkSettings\x12\x41\n\nsparkProps\x18\x01 \x03(\x0b\x32-.tracdap.config.SparkSettings.SparkPropsEntry\x1a\x31\n\x0fSparkPropsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x1c\n\x18org.finos.tracdap.configP\x01\x62\x06proto3')
|
19
19
|
|
20
|
-
|
21
|
-
_builder.
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.config.runtime_pb2', _globals)
|
22
23
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
|
-
|
24
|
-
DESCRIPTOR.
|
25
|
-
|
26
|
-
_RUNTIMECONFIG_CONFIGENTRY.
|
27
|
-
|
28
|
-
_RUNTIMECONFIG_REPOSITORIESENTRY.
|
29
|
-
|
30
|
-
_SPARKSETTINGS_SPARKPROPSENTRY.
|
31
|
-
|
32
|
-
_RUNTIMECONFIG.
|
33
|
-
|
34
|
-
_RUNTIMECONFIG_CONFIGENTRY.
|
35
|
-
|
36
|
-
_RUNTIMECONFIG_REPOSITORIESENTRY.
|
37
|
-
|
38
|
-
_SPARKSETTINGS.
|
39
|
-
|
40
|
-
_SPARKSETTINGS_SPARKPROPSENTRY.
|
41
|
-
_SPARKSETTINGS_SPARKPROPSENTRY._serialized_end=622
|
24
|
+
_globals['DESCRIPTOR']._options = None
|
25
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\030org.finos.tracdap.configP\001'
|
26
|
+
_globals['_RUNTIMECONFIG_CONFIGENTRY']._options = None
|
27
|
+
_globals['_RUNTIMECONFIG_CONFIGENTRY']._serialized_options = b'8\001'
|
28
|
+
_globals['_RUNTIMECONFIG_REPOSITORIESENTRY']._options = None
|
29
|
+
_globals['_RUNTIMECONFIG_REPOSITORIESENTRY']._serialized_options = b'8\001'
|
30
|
+
_globals['_SPARKSETTINGS_SPARKPROPSENTRY']._options = None
|
31
|
+
_globals['_SPARKSETTINGS_SPARKPROPSENTRY']._serialized_options = b'8\001'
|
32
|
+
_globals['_RUNTIMECONFIG']._serialized_start=78
|
33
|
+
_globals['_RUNTIMECONFIG']._serialized_end=455
|
34
|
+
_globals['_RUNTIMECONFIG_CONFIGENTRY']._serialized_start=327
|
35
|
+
_globals['_RUNTIMECONFIG_CONFIGENTRY']._serialized_end=372
|
36
|
+
_globals['_RUNTIMECONFIG_REPOSITORIESENTRY']._serialized_start=374
|
37
|
+
_globals['_RUNTIMECONFIG_REPOSITORIESENTRY']._serialized_end=455
|
38
|
+
_globals['_SPARKSETTINGS']._serialized_start=458
|
39
|
+
_globals['_SPARKSETTINGS']._serialized_end=591
|
40
|
+
_globals['_SPARKSETTINGS_SPARKPROPSENTRY']._serialized_start=542
|
41
|
+
_globals['_SPARKSETTINGS_SPARKPROPSENTRY']._serialized_end=591
|
42
42
|
# @@protoc_insertion_point(module_scope)
|
tracdap/rt/metadata/__init__.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Code generated by TRAC
|
2
2
|
|
3
|
+
from .custom import CustomDefinition
|
4
|
+
|
3
5
|
from .common import MetadataFormat
|
4
6
|
from .common import MetadataVersion
|
5
7
|
from .common import TenantInfo
|
@@ -17,6 +19,11 @@ from .object_id import ObjectType
|
|
17
19
|
from .object_id import TagHeader
|
18
20
|
from .object_id import TagSelector
|
19
21
|
|
22
|
+
from .file import FileDefinition
|
23
|
+
|
24
|
+
from .tag_update import TagOperation
|
25
|
+
from .tag_update import TagUpdate
|
26
|
+
|
20
27
|
from .data import SchemaType
|
21
28
|
from .data import PartType
|
22
29
|
from .data import FieldSchema
|
@@ -25,6 +32,11 @@ from .data import SchemaDefinition
|
|
25
32
|
from .data import PartKey
|
26
33
|
from .data import DataDefinition
|
27
34
|
|
35
|
+
from .model import ModelParameter
|
36
|
+
from .model import ModelInputSchema
|
37
|
+
from .model import ModelOutputSchema
|
38
|
+
from .model import ModelDefinition
|
39
|
+
|
28
40
|
from .search import SearchOperator
|
29
41
|
from .search import LogicalOperator
|
30
42
|
from .search import SearchTerm
|
@@ -32,6 +44,12 @@ from .search import LogicalExpression
|
|
32
44
|
from .search import SearchExpression
|
33
45
|
from .search import SearchParameters
|
34
46
|
|
47
|
+
from .flow import FlowNodeType
|
48
|
+
from .flow import FlowNode
|
49
|
+
from .flow import FlowSocket
|
50
|
+
from .flow import FlowEdge
|
51
|
+
from .flow import FlowDefinition
|
52
|
+
|
35
53
|
from .stoarge import CopyStatus
|
36
54
|
from .stoarge import IncarnationStatus
|
37
55
|
from .stoarge import StorageCopy
|
@@ -39,20 +57,6 @@ from .stoarge import StorageIncarnation
|
|
39
57
|
from .stoarge import StorageItem
|
40
58
|
from .stoarge import StorageDefinition
|
41
59
|
|
42
|
-
from .tag_update import TagOperation
|
43
|
-
from .tag_update import TagUpdate
|
44
|
-
|
45
|
-
from .model import ModelParameter
|
46
|
-
from .model import ModelInputSchema
|
47
|
-
from .model import ModelOutputSchema
|
48
|
-
from .model import ModelDefinition
|
49
|
-
|
50
|
-
from .flow import FlowNodeType
|
51
|
-
from .flow import FlowNode
|
52
|
-
from .flow import FlowSocket
|
53
|
-
from .flow import FlowEdge
|
54
|
-
from .flow import FlowDefinition
|
55
|
-
|
56
60
|
from .job import JobType
|
57
61
|
from .job import JobStatusCode
|
58
62
|
from .job import JobDefinition
|
@@ -60,10 +64,6 @@ from .job import RunModelJob
|
|
60
64
|
from .job import RunFlowJob
|
61
65
|
from .job import ImportModelJob
|
62
66
|
|
63
|
-
from .file import FileDefinition
|
64
|
-
|
65
|
-
from .custom import CustomDefinition
|
66
|
-
|
67
67
|
from .object import ObjectDefinition
|
68
68
|
|
69
69
|
from .tag import Tag
|
@@ -1,11 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# source: tracdap/metadata/common.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
4
5
|
"""Generated protocol buffer code."""
|
5
|
-
from google.protobuf.internal import builder as _builder
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
9
10
|
# @@protoc_insertion_point(imports)
|
10
11
|
|
11
12
|
_sym_db = _symbol_database.Default()
|
@@ -15,18 +16,18 @@ _sym_db = _symbol_database.Default()
|
|
15
16
|
|
16
17
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtracdap/metadata/common.proto\x12\x10tracdap.metadata\"5\n\nTenantInfo\x12\x12\n\ntenantCode\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t*L\n\x0eMetadataFormat\x12\x1b\n\x17METADATA_FORMAT_NOT_SET\x10\x00\x12\t\n\x05PROTO\x10\x01\x12\x08\n\x04JSON\x10\x02\x12\x08\n\x04YAML\x10\x03*H\n\x0fMetadataVersion\x12\x1c\n\x18METADATA_VERSION_NOT_SET\x10\x00\x12\x06\n\x02V1\x10\x01\x12\x0b\n\x07\x43URRENT\x10\x01\x1a\x02\x10\x01\x42\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.common_pb2', _globals)
|
20
22
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
|
24
|
-
_METADATAVERSION.
|
25
|
-
|
26
|
-
_METADATAFORMAT.
|
27
|
-
|
28
|
-
_METADATAVERSION.
|
29
|
-
|
30
|
-
_TENANTINFO.
|
31
|
-
_TENANTINFO._serialized_end=104
|
23
|
+
_globals['DESCRIPTOR']._options = None
|
24
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
25
|
+
_globals['_METADATAVERSION']._options = None
|
26
|
+
_globals['_METADATAVERSION']._serialized_options = b'\020\001'
|
27
|
+
_globals['_METADATAFORMAT']._serialized_start=106
|
28
|
+
_globals['_METADATAFORMAT']._serialized_end=182
|
29
|
+
_globals['_METADATAVERSION']._serialized_start=184
|
30
|
+
_globals['_METADATAVERSION']._serialized_end=256
|
31
|
+
_globals['_TENANTINFO']._serialized_start=51
|
32
|
+
_globals['_TENANTINFO']._serialized_end=104
|
32
33
|
# @@protoc_insertion_point(module_scope)
|
@@ -1,11 +1,12 @@
|
|
1
1
|
# -*- coding: utf-8 -*-
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# source: tracdap/metadata/custom.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
4
5
|
"""Generated protocol buffer code."""
|
5
|
-
from google.protobuf.internal import builder as _builder
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
7
7
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
8
|
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
9
10
|
# @@protoc_insertion_point(imports)
|
10
11
|
|
11
12
|
_sym_db = _symbol_database.Default()
|
@@ -15,12 +16,12 @@ _sym_db = _symbol_database.Default()
|
|
15
16
|
|
16
17
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dtracdap/metadata/custom.proto\x12\x10tracdap.metadata\"]\n\x10\x43ustomDefinition\x12\x18\n\x10\x63ustomSchemaType\x18\x01 \x01(\t\x12\x1b\n\x13\x63ustomSchemaVersion\x18\x02 \x01(\r\x12\x12\n\ncustomData\x18\x03 \x01(\x0c\x42\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
17
18
|
|
18
|
-
|
19
|
-
_builder.
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.metadata.custom_pb2', _globals)
|
20
22
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
21
|
-
|
22
|
-
DESCRIPTOR.
|
23
|
-
|
24
|
-
_CUSTOMDEFINITION.
|
25
|
-
_CUSTOMDEFINITION._serialized_end=144
|
23
|
+
_globals['DESCRIPTOR']._options = None
|
24
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
25
|
+
_globals['_CUSTOMDEFINITION']._serialized_start=51
|
26
|
+
_globals['_CUSTOMDEFINITION']._serialized_end=144
|
26
27
|
# @@protoc_insertion_point(module_scope)
|