File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -437,6 +437,29 @@ Default value: `True`
437
437
438
438
Controls whether or not a resource requires a Validation Schema to be present from the ckanext-validation plugin to be XLoadered.
439
439
440
+ #### ckanext.xloader.site_url
441
+ Provide an alternate site URL for the xloader_submit action.
442
+ This is useful, for example, when the site is running within a docker network.
443
+
444
+ Note: This setting will not alter path. i.e ckan.root_path
445
+
446
+ Example:
447
+
448
+ ```
449
+ ckanext.xloader.site_url = http://ckan-dev:5000
450
+ ```
451
+
452
+ ##### ckanext.xloader.site_url_ignore_path_regex
453
+ Provide the ability to ignore paths which can't be mapped to alternative site URL for resource access.
454
+ This is useful, for example, when the site is running within a docker network and the cdn front door has
455
+ Blob storage mapped to another path on the same domain.
456
+
457
+ Example:
458
+
459
+ ```
460
+ ckanext.xloader.site_url_ignore_path_regex = "(/PathToS3HostOriginIWantToGoDirectTo|/anotherPath)"
461
+ ```
462
+
440
463
## Data Dictionary Fields
441
464
442
465
#### strip_extra_white
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " ckanext-xloader"
7
- version = " 2.0.1 "
7
+ version = " 2.1.0 "
8
8
description = " Express Loader - quickly load data into CKAN DataStore"
9
9
classifiers = [ " Development Status :: 5 - Production/Stable" ,
10
10
" License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)" ,
You can’t perform that action at this time.
0 commit comments