pyegeria 1.5.1.1.58__py3-none-any.whl → 1.5.1.1.59__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.
- pyegeria/core_omag_server_config.py +46 -0
- {pyegeria-1.5.1.1.58.dist-info → pyegeria-1.5.1.1.59.dist-info}/METADATA +1 -1
- {pyegeria-1.5.1.1.58.dist-info → pyegeria-1.5.1.1.59.dist-info}/RECORD +6 -6
- {pyegeria-1.5.1.1.58.dist-info → pyegeria-1.5.1.1.59.dist-info}/LICENSE +0 -0
- {pyegeria-1.5.1.1.58.dist-info → pyegeria-1.5.1.1.59.dist-info}/WHEEL +0 -0
- {pyegeria-1.5.1.1.58.dist-info → pyegeria-1.5.1.1.59.dist-info}/entry_points.txt +0 -0
@@ -1211,6 +1211,52 @@ class CoreServerConfig(Client):
|
|
1211
1211
|
)
|
1212
1212
|
self.make_request("POST", url)
|
1213
1213
|
|
1214
|
+
def set_postgres_local_repository(
|
1215
|
+
self, config_body: dict, server_name: str = None
|
1216
|
+
) -> None:
|
1217
|
+
"""Set up the local repository to use the PostgreSQL Repository implementation.
|
1218
|
+
|
1219
|
+
Parameters
|
1220
|
+
----------
|
1221
|
+
config_body : dict
|
1222
|
+
The configuration body for the repository. This should contain the necessary parameters for
|
1223
|
+
connecting to the repository.
|
1224
|
+
|
1225
|
+
server_name : str, optional
|
1226
|
+
The name of the server. If not provided, the default server name will be used.
|
1227
|
+
|
1228
|
+
Returns
|
1229
|
+
-------
|
1230
|
+
None
|
1231
|
+
This method does not return anything.
|
1232
|
+
|
1233
|
+
Raises
|
1234
|
+
------
|
1235
|
+
InvalidParameterException
|
1236
|
+
If the response code is not 200.
|
1237
|
+
PropertyServerException:
|
1238
|
+
Raised by the server when an issue arises in processing a valid request
|
1239
|
+
NotAuthorizedException:
|
1240
|
+
The principle specified by the user_id does not have authorization for the requested action
|
1241
|
+
|
1242
|
+
Notes
|
1243
|
+
-----
|
1244
|
+
|
1245
|
+
Sample body:
|
1246
|
+
{
|
1247
|
+
"databaseURL": "{{postgreSQLDatabaseURL}}",
|
1248
|
+
"databaseSchema": "repository_{{server}}",
|
1249
|
+
"secretsStore": "{{secretsStore}}",
|
1250
|
+
"secretsCollectionName": "{{postgreSQLServerCollectionName}}"
|
1251
|
+
}
|
1252
|
+
|
1253
|
+
"""
|
1254
|
+
if server_name is None:
|
1255
|
+
server_name = self.server_name
|
1256
|
+
|
1257
|
+
url = f"{self.core_command_root}/servers/{server_name}/local-repository/mode/postgres-repository"
|
1258
|
+
self.make_request("POST", url, config_body)
|
1259
|
+
|
1214
1260
|
def set_plug_in_repository(
|
1215
1261
|
self, config_body: dict, server_name: str = None
|
1216
1262
|
) -> None:
|
@@ -138,7 +138,7 @@ pyegeria/commands/tech/list_tech_templates.py,sha256=FIeYWnJY2bVUrfDQBJX2bpkp5cU
|
|
138
138
|
pyegeria/commands/tech/list_valid_metadata_values.py,sha256=N3D0_BmREPszgde3uvvYdfzq7DJ46uMOv2t1vtncGsw,6333
|
139
139
|
pyegeria/commands/tech/table_tech_templates.py,sha256=_aWI4U8CMO0c2JdUxfqW7b2RQADMPUBvTulWk6m50VA,9318
|
140
140
|
pyegeria/commands/tech/x_list_related_elements.py,sha256=qBsf1619cecaMCTzG0MG22fAT32WNH2Z3CXrjo9z-5Y,5853
|
141
|
-
pyegeria/core_omag_server_config.py,sha256=
|
141
|
+
pyegeria/core_omag_server_config.py,sha256=a0idtiug2gysCj-JYr3sf4AKTGTHfR32UG10-o9MZsQ,96496
|
142
142
|
pyegeria/create_tech_guid_lists.py,sha256=HHkC6HW58EN1BiolrYSRqSE0JhPbTepOFzwtdwBxVaU,4640
|
143
143
|
pyegeria/egeria_cat_client.py,sha256=NzwDbdi5OBHOOA7JzIQC5LqJJ7xtEwHA5yaKrGkDFnc,2022
|
144
144
|
pyegeria/egeria_client.py,sha256=gZjo_Z8n7r05KJnQgJuQibGOvCA90JCDlzyFRGkZV-I,3366
|
@@ -160,8 +160,8 @@ pyegeria/template_manager_omvs.py,sha256=heqbKeum5hPCHap4r1RUZU8YB3QaQlxVNbq4GZi
|
|
160
160
|
pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
|
161
161
|
pyegeria/valid_metadata_omvs.py,sha256=tfCGXed5LLt59YA8uZNNtd9UJ-lRZfPU_uZxK31Yux0,65069
|
162
162
|
pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
|
163
|
-
pyegeria-1.5.1.1.
|
164
|
-
pyegeria-1.5.1.1.
|
165
|
-
pyegeria-1.5.1.1.
|
166
|
-
pyegeria-1.5.1.1.
|
167
|
-
pyegeria-1.5.1.1.
|
163
|
+
pyegeria-1.5.1.1.59.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
164
|
+
pyegeria-1.5.1.1.59.dist-info/METADATA,sha256=V9qF-r6dVRf_P0HUDhfhdnUkaB77_JOiwlcjARbxGw8,2998
|
165
|
+
pyegeria-1.5.1.1.59.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
166
|
+
pyegeria-1.5.1.1.59.dist-info/entry_points.txt,sha256=oG-N-_kcUg7NFj2XchfxtFqsL4d4uOxlGYZOzDta1Pg,5171
|
167
|
+
pyegeria-1.5.1.1.59.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|