Skip to content

Commit

Permalink
Remove unused configuration values for solr / zk
Browse files Browse the repository at this point in the history
  • Loading branch information
ke4 committed Oct 9, 2023
1 parent 97eb4a7 commit ed2b6fb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions bin/load_experiment_web_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ source $scriptDir/common_routines.sh

echo "CONDA_PREFIX: $CONDA_PREFIX"

require_env_var "SOLR_HOST"
require_env_var "ZK_HOST"
require_env_var "ZK_PORT"
require_env_var "BIOENTITIES"
require_env_var "EXPERIMENT_FILES"
require_env_var "EXPERIMENT_DESIGN_FILES"
Expand All @@ -29,15 +26,6 @@ require_env_var "jdbc_password"
# Either ACCESSIONS or PRIVATE_ACCESSIONS need to be provided
#require_env_var "ACCESSIONS"

SOLR_PORT=$(get_port_from_hostport $SOLR_HOST)
SOLR_HOST=$(get_host_from_hostport $SOLR_HOST)

require_env_var "SOLR_PORT"

java_opts="-Dsolr.host=$SOLR_HOST"
java_opts="$java_opts -Dsolr.port=$SOLR_PORT"
java_opts="$java_opts -Dzk.host=$ZK_HOST"
java_opts="$java_opts -Dzk.port=$ZK_PORT"
java_opts="$java_opts -Ddata.files.location=$BIOENTITIES"
java_opts="$java_opts -Dexperiment.files.location=$EXPERIMENT_FILES"
java_opts="$java_opts -Dexperiment.design.location=$EXPERIMENT_DESIGN_FILES"
Expand Down
12 changes: 0 additions & 12 deletions bin/update_experiment_web_cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ source $scriptDir/common_routines.sh

echo "CONDA_PREFIX: $CONDA_PREFIX"

require_env_var "SOLR_HOST"
require_env_var "ZK_HOST"
require_env_var "ZK_PORT"
require_env_var "BIOENTITIES"
require_env_var "EXPERIMENT_FILES"
require_env_var "EXPERIMENT_DESIGN_FILES"
Expand All @@ -27,15 +24,6 @@ require_env_var "jdbc_username"
require_env_var "jdbc_password"
require_env_var "ACCESSIONS"

SOLR_PORT=$(get_port_from_hostport $SOLR_HOST)
SOLR_HOST=$(get_host_from_hostport $SOLR_HOST)

require_env_var "SOLR_PORT"

java_opts="-Dsolr.host=$SOLR_HOST"
java_opts="$java_opts -Dsolr.port=$SOLR_PORT"
java_opts="$java_opts -Dzk.host=$ZK_HOST"
java_opts="$java_opts -Dzk.port=$ZK_PORT"
java_opts="$java_opts -Ddata.files.location=$BIOENTITIES"
java_opts="$java_opts -Dexperiment.files.location=$EXPERIMENT_FILES"
java_opts="$java_opts -Dexperiment.design.location=$EXPERIMENT_DESIGN_FILES"
Expand Down

0 comments on commit ed2b6fb

Please sign in to comment.