diff --git a/gitlab-conversion.py b/gitlab-conversion.py index b961736d64..630665f150 100755 --- a/gitlab-conversion.py +++ b/gitlab-conversion.py @@ -23,6 +23,7 @@ def applyTransformation(input): exp = re.compile("[ ]*{% if (.*?) %}(.*?)[ ]*{% endif %}", re.DOTALL) input = re.sub(exp, "ifeval::[{\g<1>}==true]\g<2>endif::[]", input) input = re.sub(r"image:(\.\./)*", "image:", input) + input = re.sub(r"image::(\.\./)*", "image::", input) return input @@ -33,9 +34,13 @@ if len(sys.argv) > 1: if os.path.exists(targetdir): shutil.rmtree(targetdir) -shutil.copytree('images',os.path.join(targetdir, 'images')) -shutil.copytree('keycloak-images',os.path.join(targetdir, 'keycloak-images')) -shutil.copytree('rhsso-images',os.path.join(targetdir, 'rhsso-images')) + +if os.path.isdir('images'): + shutil.copytree('images',os.path.join(targetdir, 'images')) +if os.path.isdir('keycloak-images'): + shutil.copytree('keycloak-images',os.path.join(targetdir, 'keycloak-images')) +if os.path.isdir('rhsso-images'): + shutil.copytree('rhsso-images',os.path.join(targetdir, 'rhsso-images')) tmp = os.path.join(targetdir, 'topics') if not os.path.exists(tmp): diff --git a/topics/cache/disable.adoc b/topics/cache/disable.adoc index 6ac53535b0..f5aa101311 100755 --- a/topics/cache/disable.adoc +++ b/topics/cache/disable.adoc @@ -24,3 +24,6 @@ Here's what the config looks like initially. To disable the cache set the `enabled` field to false for the cache you want to disable. You must reboot your server for this change to take effect. + +NOTE: You must also remove the line like `"provider": "default"` from the `realmCache` configuration. Otherwise disabling cache won't work. + diff --git a/topics/clustering/load-balancer.adoc b/topics/clustering/load-balancer.adoc index 9421d6547e..65a2a2e7ac 100755 --- a/topics/clustering/load-balancer.adoc +++ b/topics/clustering/load-balancer.adoc @@ -27,7 +27,7 @@ any black or white listing of IP addresses. Beyond the proxy itself, there are a few things you need to configure on the {{book.project.name}} side of things. If your proxy is forwarding requests via the HTTP protocol, then you need to configure {{book.project.name}} to pull the client's IP address from the `X-Forwarded-For` header rather than from the network packet. -To do this, open up the profile configuration file (_standalone.xml, _standalone-ha.xml_, or _domain.xml_ depending on your +To do this, open up the profile configuration file (_standalone.xml_, _standalone-ha.xml_, or _domain.xml_ depending on your <>) and look for the `"urn:jboss:domain:undertow:3.0` XML block. .`X-Forwarded-For` HTTP Config @@ -55,7 +55,7 @@ pull this information from the AJP packets. .`X-Forwarded-For` AJP Config [source,xml] ---- -< + @@ -93,7 +93,7 @@ socket binding you also need to define. Then add a new `socket-binding` element to the `socket-binding-group` element: -[source] +[source,xml] ---- >) and look for the `interfaces` XML block. [source,xml]