From 8d35e9cd0c3629084e5d9ddeebc6f383b19b1d79 Mon Sep 17 00:00:00 2001 From: Ian Allen Date: Wed, 1 Apr 2020 19:37:40 -0300 Subject: [PATCH 1/2] Added jcloud documentation --- .../installing/customizing-data-directory.rst | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/source/maintainer-guide/installing/customizing-data-directory.rst b/source/maintainer-guide/installing/customizing-data-directory.rst index a3739a58..8e652e2b 100644 --- a/source/maintainer-guide/installing/customizing-data-directory.rst +++ b/source/maintainer-guide/installing/customizing-data-directory.rst @@ -177,6 +177,60 @@ can be used to configure it (convenient in a container environment): - AWS_ACCESS_KEY_ID - AWS_SECRET_ACCESS_KEY +Using a generic cloud object storage (JCLoud) +~~~~~~~~~~~~~~~~~~~~~~~~~ + +If your infrastructure doesn't have a persistent storage available, you can configure +GeoNetwork to use a cloud object storage to store the images and data. +The JCloud implementation supports the following `providers ` + +In order to do that, you must use a custom bean configuration. Replace the +:code:`filesystemStore`, :code:`resourceStore` and :code:`resources` beans in +:code:`core/src/main/resources/config-spring-geonetwork.xml` with something like this: + +Azure Blob sample +.. code-block:: xml + + + + + + + + + + + + + + +AWS S3 sample +.. code-block:: xml + + + + + + + + + + + + + + +The :code:`jcloudcredentials` bean can be left empty and the following system environment variables +can be used to configure it (convenient in a container environment): + + - JCLOUD_PROVIDER + - JCLOUD_CONTAINERNAME + - JCLOUD_BASEFOLDER + - JCLOUD_STORAGEACCOUNTNAME + - JCLOUD_STORAGEACCOUNTKEY + Structure of the data directory ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From ddec712db4a9efe26ad9b50f41653f3af15af7f0 Mon Sep 17 00:00:00 2001 From: Ian Allen Date: Wed, 1 Apr 2020 19:45:10 -0300 Subject: [PATCH 2/2] Fix incorrect provider for aws s3 sample --- .../maintainer-guide/installing/customizing-data-directory.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/maintainer-guide/installing/customizing-data-directory.rst b/source/maintainer-guide/installing/customizing-data-directory.rst index 8e652e2b..5201fb3a 100644 --- a/source/maintainer-guide/installing/customizing-data-directory.rst +++ b/source/maintainer-guide/installing/customizing-data-directory.rst @@ -209,7 +209,7 @@ AWS S3 sample .. code-block:: xml - +