Skip to content

Commit

Permalink
replace 1.0 with 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxiaocs7 committed Dec 5, 2023
1 parent 73edd54 commit 1a1ec09
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/common/deploy_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ def toolchain(conf):

# set properties && start hubble
hubble_package_dir_name = os.path.join(code_dir_path,
'apache-hugegraph-toolchain-incubating-1.0.0',
'apache-hugegraph-hubble-incubating-1.0.0')
'apache-hugegraph-toolchain-incubating-1.2.0',
'apache-hugegraph-hubble-incubating-1.2.0')
# set_hubble_properties(hubble_package_dir_name, conf.graph_host, conf.hubble_port)
start_graph(hubble_package_dir_name, 'hubble')

Expand Down
4 changes: 2 additions & 2 deletions src/common/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
from src.common.file_basic import is_match_re
from src.config import basic_config as _cfg

loader_name = is_match_re(_cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.0.0', "^apache-hugegraph-loader-incubating-(\d).(\d{1,2}).(\d)$")
loader_path = _cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.0.0' + '/' + loader_name
loader_name = is_match_re(_cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.2.0', "^apache-hugegraph-loader-incubating-(\d).(\d{1,2}).(\d)$")
loader_path = _cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.2.0' + '/' + loader_name
dataset_path = root_path + 'src/config/dataset/'


Expand Down
4 changes: 2 additions & 2 deletions src/common/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
from src.common.server_api import Gremlin

tools_name = is_match_re(
_cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.0.0',
_cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.2.0',
"^apache-hugegraph-tools-incubating-(\d).(\d{1,2}).(\d)$"
)
tools_path = _cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.0.0' + '/' + tools_name
tools_path = _cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.2.0' + '/' + tools_name


def run_shell(cmd, graph_name=None, graph_host=None, graph_port=None):
Expand Down
4 changes: 2 additions & 2 deletions src/graph_function_test/tools/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
from src.common.tools import target_insert_data
from src.config import basic_config as _cfg

tools_name = is_match_re(_cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.0.0',
tools_name = is_match_re(_cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.2.0',
"^apache-hugegraph-tools-incubating-(\d).(\d{1,2}).(\d)$")
tools_path = _cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.0.0' + '/' + tools_name
tools_path = _cfg.code_path + '/incubator-hugegraph-toolchain/apache-hugegraph-toolchain-incubating-1.2.0' + '/' + tools_name


class TestTools:
Expand Down

0 comments on commit 1a1ec09

Please sign in to comment.