diff --git a/IM/config.py b/IM/config.py index d47450d00..72e723782 100644 --- a/IM/config.py +++ b/IM/config.py @@ -95,7 +95,7 @@ class Config: SINGLE_SITE_IMAGE_URL_PREFIX = '' OIDC_ISSUERS = [] OIDC_AUDIENCE = None - INF_CACHE_TIME = None + INF_CACHE_TIME = 0 VMINFO_JSON = False OIDC_CLIENT_ID = None OIDC_CLIENT_SECRET = None diff --git a/doc/source/endpoints.rst b/doc/source/endpoints.rst new file mode 100644 index 000000000..520eba02e --- /dev/null +++ b/doc/source/endpoints.rst @@ -0,0 +1,23 @@ +Public IM Endpoints at UPV +========================== + +UPV offers an IM endpoint deployed in H.A. mode over a kubernetes cluster on it premises. + +This service exposes the **web-based GUI and REST API** in the following URLs: + +* IM web portal: `https://appsgrycap.i3m.upv.es:31443/im-web/ `_. +* IM REST API: `https://appsgrycap.i3m.upv.es:31443/im/ `_. + +This IM instance is provided by the `Grid and High Performance Computing Group (GRyCAP) `_ at +the `Instituto de Instrumentación para Imagen Molecular (I3M) `_ +from the `Universitat Politècnica de València (UPV) `_. + +.. image:: images/grycap.png + :scale: 50 % + +.. image:: images/i3m.png + :scale: 50 % + +.. image:: images/upv.png + :scale: 50 % + diff --git a/doc/source/index.rst b/doc/source/index.rst index dab483a9f..d1ee63334 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -19,6 +19,7 @@ Contents: REST client web + endpoints .. mods diff --git a/doc/source/manual.rst b/doc/source/manual.rst index 1ae5c2dd5..795f80290 100644 --- a/doc/source/manual.rst +++ b/doc/source/manual.rst @@ -551,6 +551,11 @@ It is a experimental issue currently it is not intended to be used in a producti This is an example of the HAProxy configuration file:: + defaults + timeout connect 600s + timeout client 600s + timeout server 600s + frontend http-frontend mode http bind *:8800 @@ -571,6 +576,10 @@ This is an example of the HAProxy configuration file:: See more details of HAProxy configuration at `HAProxy Documentation `_. +Also the ``INF_CACHE_TIME`` variable of the IM config file must be set to a time in seconds lower or equal to the time +set in the stick-table ``expire`` value (in the example 60m). So for this example INF_CACHE_TIME must be set to less +than or equals to 3600. + Purgue IM DB ============