vantage6 4.8.0rc1__tar.gz → 4.8.0rc3__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.8.0rc1 → vantage6-4.8.0rc3}/PKG-INFO +1 -1
- vantage6-4.8.0rc3/vantage6/cli/__build__ +1 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/configuration_wizard.py +7 -2
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/dev/start.py +3 -1
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/globals.py +1 -1
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6.egg-info/PKG-INFO +1 -1
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6.egg-info/requires.txt +2 -2
- vantage6-4.8.0rc1/vantage6/cli/__build__ +0 -1
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/setup.cfg +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/setup.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/tests_cli/__init__.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/tests_cli/test_example.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/tests_cli/test_node_cli.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/tests_cli/test_server_cli.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/tests_cli/test_wizard.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/__init__.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/_version.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/algorithm/create.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/algorithm/update.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/algostore/attach.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/algostore/files.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/algostore/list.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/algostore/new.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/algostore/remove.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/algostore/start.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/algostore/stop.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/cli.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/common/decorator.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/common/start.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/common/utils.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/configuration_manager.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/context/__init__.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/context/algorithm_store.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/context/base_server.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/context/node.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/context/server.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/dev/create.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/dev/data/olympic_athletes_2016.csv +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/dev/remove.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/dev/stop.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/dev/utils.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/attach.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/clean.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/common/__init__.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/create_private_key.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/files.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/list.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/new.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/remove.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/set_api_key.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/start.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/stop.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/node/version.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/rabbitmq/__init__.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/rabbitmq/definitions.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/rabbitmq/queue_manager.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/rabbitmq/rabbitmq.config +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/attach.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/common/__init__.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/files.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/import_.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/list.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/new.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/remove.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/shell.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/start.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/stop.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/server/version.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/template/algo_store_config.j2 +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/template/node_config.j2 +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/template/server_config.j2 +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/template/server_import_config.j2 +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/test/common/diagnostic_runner.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/test/feature_tester.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/test/integration_test.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6/cli/utils.py +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6.egg-info/SOURCES.txt +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6.egg-info/dependency_links.txt +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6.egg-info/entry_points.txt +0 -0
- {vantage6-4.8.0rc1 → vantage6-4.8.0rc3}/vantage6.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3
|
|
@@ -3,11 +3,16 @@ import questionary as q
|
|
|
3
3
|
from pathlib import Path
|
|
4
4
|
|
|
5
5
|
from vantage6.common import generate_apikey
|
|
6
|
-
from vantage6.common.globals import
|
|
6
|
+
from vantage6.common.globals import (
|
|
7
|
+
DATABASE_TYPES,
|
|
8
|
+
InstanceType,
|
|
9
|
+
NodePolicy,
|
|
10
|
+
Ports,
|
|
11
|
+
DEFAULT_API_PATH,
|
|
12
|
+
)
|
|
7
13
|
from vantage6.common.client.node_client import NodeClient
|
|
8
14
|
from vantage6.common.context import AppContext
|
|
9
15
|
from vantage6.common import error, warning, info
|
|
10
|
-
from vantage6.backend.common.globals import DEFAULT_API_PATH
|
|
11
16
|
from vantage6.cli.context import select_context_class
|
|
12
17
|
from vantage6.cli.configuration_manager import (
|
|
13
18
|
NodeConfigurationManager,
|
|
@@ -8,6 +8,7 @@ from vantage6.cli.context.algorithm_store import AlgorithmStoreContext
|
|
|
8
8
|
from vantage6.cli.context.node import NodeContext
|
|
9
9
|
from vantage6.cli.server.start import cli_server_start
|
|
10
10
|
from vantage6.cli.dev.utils import get_dev_server_context
|
|
11
|
+
from vantage6.common.globals import DEFAULT_API_PATH
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
@click.command()
|
|
@@ -96,7 +97,8 @@ def start_demo_network(
|
|
|
96
97
|
client.authenticate(USERNAME, PASSWORD)
|
|
97
98
|
existing_stores = client.store.list().get("data", [])
|
|
98
99
|
existing_urls = [store["url"] for store in existing_stores]
|
|
99
|
-
|
|
100
|
+
api_path = store_ctx.config.get("api_path", DEFAULT_API_PATH)
|
|
101
|
+
local_store_url = f"http://localhost:{store_ctx.config['port']}{api_path}"
|
|
100
102
|
if not local_store_url in existing_urls:
|
|
101
103
|
client.store.create(
|
|
102
104
|
algorithm_store_url=local_store_url,
|
|
@@ -40,7 +40,7 @@ ALGORITHM_TEMPLATE_REPO = "gh:vantage6/v6-algorithm-template.git"
|
|
|
40
40
|
DIAGNOSTICS_IMAGE = "harbor2.vantage6.ai/algorithms/diagnostic"
|
|
41
41
|
|
|
42
42
|
# Address of community algorithm store
|
|
43
|
-
COMMUNITY_STORE = "https://store.cotopaxi.vantage6.ai"
|
|
43
|
+
COMMUNITY_STORE = "https://store.cotopaxi.vantage6.ai/api"
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
class ServerType(str, Enum):
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|