vantage6 4.3.4__tar.gz → 4.4.0__tar.gz
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.
Potentially problematic release.
This version of vantage6 might be problematic. Click here for more details.
- {vantage6-4.3.4 → vantage6-4.4.0}/PKG-INFO +1 -1
- {vantage6-4.3.4 → vantage6-4.4.0}/tests_cli/test_wizard.py +10 -1
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/_version.py +1 -1
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/configuration_wizard.py +22 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6.egg-info/PKG-INFO +1 -1
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6.egg-info/requires.txt +2 -2
- {vantage6-4.3.4 → vantage6-4.4.0}/setup.cfg +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/setup.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/tests_cli/__init__.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/tests_cli/test_example.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/tests_cli/test_node_cli.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/tests_cli/test_server_cli.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/__build__ +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/__init__.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/algorithm/create.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/algorithm/update.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/algostore/attach.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/algostore/files.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/algostore/list.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/algostore/new.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/algostore/start.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/algostore/stop.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/cli.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/common/decorator.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/common/start.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/common/utils.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/configuration_manager.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/context/__init__.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/context/algorithm_store.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/context/base_server.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/context/node.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/context/server.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/dev/create.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/dev/remove.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/dev/start.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/dev/stop.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/globals.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/attach.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/clean.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/common/__init__.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/create_private_key.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/files.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/list.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/new.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/remove.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/set_api_key.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/start.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/stop.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/node/version.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/rabbitmq/__init__.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/rabbitmq/definitions.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/rabbitmq/queue_manager.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/rabbitmq/rabbitmq.config +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/attach.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/common/__init__.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/files.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/import_.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/list.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/new.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/remove.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/shell.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/start.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/stop.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/server/version.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/template/node_config.j2 +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/template/server_config.j2 +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/template/server_import_config.j2 +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/test/common/diagnostic_runner.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/test/feature_tester.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/test/integration_test.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6/cli/utils.py +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6.egg-info/SOURCES.txt +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6.egg-info/dependency_links.txt +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6.egg-info/entry_points.txt +0 -0
- {vantage6-4.3.4 → vantage6-4.4.0}/vantage6.egg-info/top_level.txt +0 -0
|
@@ -71,7 +71,15 @@ class WizardTest(unittest.TestCase):
|
|
|
71
71
|
def test_server_wizard(self):
|
|
72
72
|
with patch(f"{module_path}.q") as q:
|
|
73
73
|
q.prompt.side_effect = self.prompts
|
|
74
|
-
q.confirm.return_value.ask.side_effect = [
|
|
74
|
+
q.confirm.return_value.ask.side_effect = [
|
|
75
|
+
True,
|
|
76
|
+
True,
|
|
77
|
+
True,
|
|
78
|
+
True,
|
|
79
|
+
True,
|
|
80
|
+
True,
|
|
81
|
+
False,
|
|
82
|
+
]
|
|
75
83
|
|
|
76
84
|
config = server_configuration_questionaire("vantage6")
|
|
77
85
|
|
|
@@ -87,6 +95,7 @@ class WizardTest(unittest.TestCase):
|
|
|
87
95
|
"vpn_server",
|
|
88
96
|
"rabbitmq",
|
|
89
97
|
"two_factor_auth",
|
|
98
|
+
"algorithm_stores",
|
|
90
99
|
]
|
|
91
100
|
|
|
92
101
|
for key in keys:
|
|
@@ -7,7 +7,7 @@ with open(os.path.join(here, "__build__")) as fp:
|
|
|
7
7
|
__build__ = json.load(fp)
|
|
8
8
|
|
|
9
9
|
# Module version
|
|
10
|
-
version_info = (4,
|
|
10
|
+
version_info = (4, 4, 0, "final", __build__, 0)
|
|
11
11
|
|
|
12
12
|
# Module version stage suffix map
|
|
13
13
|
_specifier_ = {"alpha": "a", "beta": "b", "candidate": "rc", "final": ""}
|
|
@@ -371,6 +371,28 @@ def server_configuration_questionaire(instance_name: str) -> dict:
|
|
|
371
371
|
"start_with_server": run_rabbit_locally,
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
+
# add algorithm stores to this server
|
|
375
|
+
is_add_community_store = q.confirm(
|
|
376
|
+
"Do you want to make the algorithms from the community algorithm store "
|
|
377
|
+
"available to your users?"
|
|
378
|
+
).ask()
|
|
379
|
+
algorithm_stores = []
|
|
380
|
+
if is_add_community_store:
|
|
381
|
+
algorithm_stores.append(
|
|
382
|
+
{"name": "Community store", "url": "https://store.cotopaxi.vantage6.ai"}
|
|
383
|
+
)
|
|
384
|
+
add_more_stores = q.confirm(
|
|
385
|
+
"Do you want to add more algorithm stores?", default=False
|
|
386
|
+
).ask()
|
|
387
|
+
while add_more_stores:
|
|
388
|
+
store_name = q.text(message="Enter the name of the store:").ask()
|
|
389
|
+
store_url = q.text(message="Enter the URL of the store:").ask()
|
|
390
|
+
algorithm_stores.append({"name": store_name, "url": store_url})
|
|
391
|
+
add_more_stores = q.confirm(
|
|
392
|
+
"Do you want to add more algorithm stores?", default=False
|
|
393
|
+
).ask()
|
|
394
|
+
config["algorithm_stores"] = algorithm_stores
|
|
395
|
+
|
|
374
396
|
return config
|
|
375
397
|
|
|
376
398
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|