Change CC RE from CC-BY.* to CC.*
Includes more liberal CC variants than CC-BY and different spellings
like "CC BY" into the "free" class.
Change-Id: Ie4f05efc5803f1e7f01e004a0433468e75e0a53a
diff --git a/src/test/resources/kustvakt-dnb.conf b/src/test/resources/kustvakt-dnb.conf
index 3b8d190..b23d474 100644
--- a/src/test/resources/kustvakt-dnb.conf
+++ b/src/test/resources/kustvakt-dnb.conf
@@ -63,7 +63,7 @@
# Availability regex only support |
# It should be removed/commented when the data doesn't contain availability field.
#
-availability.regex.free = CC-BY.*
+availability.regex.free = CC.*
availability.regex.public = ACA.*|QAO-NC
availability.regex.all = QAO.*
diff --git a/src/test/resources/kustvakt-icc.conf b/src/test/resources/kustvakt-icc.conf
index 84a38a8..a87e3f0 100644
--- a/src/test/resources/kustvakt-icc.conf
+++ b/src/test/resources/kustvakt-icc.conf
@@ -48,7 +48,7 @@
# availability regex only support |
# It should be removed/commented when the data doesn't contain availability field.
#
-# availability.regex.free = CC-BY.*
+# availability.regex.free = CC.*
# availability.regex.public = ACA.*|QAO-NC
# availability.regex.all = QAO.*
diff --git a/src/test/resources/kustvakt-test.conf b/src/test/resources/kustvakt-test.conf
index c88388f..b9c8f74 100644
--- a/src/test/resources/kustvakt-test.conf
+++ b/src/test/resources/kustvakt-test.conf
@@ -61,7 +61,7 @@
# Availability regex only support |
# It should be removed/commented when the data doesn't contain availability field.
#
-availability.regex.free = CC-BY.*
+availability.regex.free = CC.*
availability.regex.public = ACA.*|QAO-NC
availability.regex.all = QAO.*
diff --git a/src/test/resources/network-output/search-result.jsonld b/src/test/resources/network-output/search-result.jsonld
index da55e09..2c364fd 100644
--- a/src/test/resources/network-output/search-result.jsonld
+++ b/src/test/resources/network-output/search-result.jsonld
@@ -58,7 +58,7 @@
"@type": "koral:doc",
"match": "match:eq",
"type": "type:regex",
- "value": "CC-BY.*",
+ "value": "CC.*",
"key": "availability",
"rewrites": [
{