Skip to content

Commit 0605f6e

Browse files
committed
chore: increment new version 2.1.0 including internal hostname for loader to use
1 parent 0b3aa86 commit 0605f6e

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,29 @@ Default value: `True`
437437

438438
Controls whether or not a resource requires a Validation Schema to be present from the ckanext-validation plugin to be XLoadered.
439439

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+
440463
## Data Dictionary Fields
441464

442465
#### strip_extra_white

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ckanext-xloader"
7-
version = "2.0.1"
7+
version = "2.1.0"
88
description = "Express Loader - quickly load data into CKAN DataStore"
99
classifiers = [ "Development Status :: 5 - Production/Stable",
1010
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",

0 commit comments

Comments
 (0)