Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility for no authentication #464

Merged
merged 22 commits into from
Aug 31, 2023
20 changes: 0 additions & 20 deletions docker/actinia-core-tests/actinia-test-noauth.cfg
Original file line number Diff line number Diff line change
@@ -1,44 +1,24 @@
[GRASS]
grass_gis_start_script = /usr/local/bin/grass
grass_database = /actinia_core/grassdb
grass_user_database = /actinia_core/userdata
grass_tmp_database = /actinia_core/workspace/temp_db
grass_resource_dir = /actinia_core/resources
grass_addon_path = /root/.grass8/addons/
grass_gis_base = /usr/local/grass
grass_modules_xml_path = /usr/local/grass/gui/wxpython/xml/module_items.xml
grass_default_location = nc_spm_08

[API]
plugins = []
force_https_urls = True
authentication = False

[LIMITS]
max_cell_limit = 22500000
process_time_limt = 60
process_num_limit = 20
number_of_workers = 3

[REDIS]
redis_server_url = localhost
redis_server_port = 6379
redis_queue_server_url = localhost
redis_queue_server_port = 6379
worker_queue_name = actinia_job
worker_logfile = /actinia_core/workspace/tmp/actinia_worker_test.log

[LOGGING]
log_interface = fluentd
log_fluent_host = fluentd
log_fluent_port = 24224
log_level = 1

[MISC]
tmp_workdir = /actinia_core/workspace/tmp
download_cache = /actinia_core/workspace/download_cache
secret_key = token_signing_key_changeme

[MANAGEMENT]
default_user = user
default_user_group = group
20 changes: 0 additions & 20 deletions docker/actinia-core-tests/actinia-test.cfg
Original file line number Diff line number Diff line change
@@ -1,43 +1,23 @@
[GRASS]
grass_gis_start_script = /usr/local/bin/grass
grass_database = /actinia_core/grassdb
grass_user_database = /actinia_core/userdata
grass_tmp_database = /actinia_core/workspace/temp_db
grass_resource_dir = /actinia_core/resources
grass_addon_path = /root/.grass8/addons/
grass_gis_base = /usr/local/grass
grass_modules_xml_path = /usr/local/grass/gui/wxpython/xml/module_items.xml
grass_default_location = nc_spm_08

[API]
plugins = []
force_https_urls = True

[LIMITS]
max_cell_limit = 22500000
process_time_limt = 60
process_num_limit = 20
number_of_workers = 3

[REDIS]
redis_server_url = localhost
redis_server_port = 6379
redis_queue_server_url = localhost
redis_queue_server_port = 6379
worker_queue_name = actinia_job
worker_logfile = /actinia_core/workspace/tmp/actinia_worker_test.log

[LOGGING]
log_interface = fluentd
log_fluent_host = fluentd
log_fluent_port = 24224
log_level = 1

[MISC]
tmp_workdir = /actinia_core/workspace/tmp
download_cache = /actinia_core/workspace/download_cache
secret_key = token_signing_key_changeme

[MANAGEMENT]
default_user = user
default_user_group = group
1 change: 1 addition & 0 deletions tests_with_redis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ then
elif [ "$1" == "integrationtest" ]
then
pytest -m 'not unittest and not noauth'
run_tests_notauth
anikaweinmann marked this conversation as resolved.
Show resolved Hide resolved
elif [ "$1" == "noauth" ]
anikaweinmann marked this conversation as resolved.
Show resolved Hide resolved
then
run_tests_notauth
Expand Down