Skip to content

Commit

Permalink
[Fixes #12277] Remove the MS catalog service configuration (#12278) (#…
Browse files Browse the repository at this point in the history
…12284)

* Removed MS catalog service configuration

* fixed formatting

* Fixed test that was expected to fail (?)

* Fixed test that was expected to fail 2 (?)

(cherry picked from commit 0bc2fe2)

Co-authored-by: Giovanni Allegri <giohappy@gmail.com>
  • Loading branch information
github-actions[bot] and giohappy authored May 29, 2024
1 parent c11ddee commit 89cab20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions geonode/local_settings.py.geoserver.sample
Original file line number Diff line number Diff line change
Expand Up @@ -286,16 +286,6 @@ if GEONODE_CLIENT_LAYER_PREVIEW_LIBRARY == "mapstore":

GEONODE_CATALOGUE_SERVICE = get_geonode_catalogue_service()

MAPSTORE_CATALOGUE_SERVICES = {}

MAPSTORE_CATALOGUE_SELECTED_SERVICE = ""

if GEONODE_CATALOGUE_SERVICE:
MAPSTORE_CATALOGUE_SERVICES[list(GEONODE_CATALOGUE_SERVICE.keys())[0]] = GEONODE_CATALOGUE_SERVICE[
list(GEONODE_CATALOGUE_SERVICE.keys())[0]
]
MAPSTORE_CATALOGUE_SELECTED_SERVICE = list(GEONODE_CATALOGUE_SERVICE.keys())[0]

DEFAULT_MS2_BACKGROUNDS = [
{
"type": "tileprovider",
Expand Down
10 changes: 0 additions & 10 deletions geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1467,16 +1467,6 @@ def get_geonode_catalogue_service():

GEONODE_CATALOGUE_SERVICE = get_geonode_catalogue_service()

MAPSTORE_CATALOGUE_SERVICES = {}

MAPSTORE_CATALOGUE_SELECTED_SERVICE = ""

if GEONODE_CATALOGUE_SERVICE:
MAPSTORE_CATALOGUE_SERVICES[list(list(GEONODE_CATALOGUE_SERVICE.keys()))[0]] = GEONODE_CATALOGUE_SERVICE[
list(list(GEONODE_CATALOGUE_SERVICE.keys()))[0]
] # noqa
MAPSTORE_CATALOGUE_SELECTED_SERVICE = list(list(GEONODE_CATALOGUE_SERVICE.keys()))[0]

DEFAULT_MS2_BACKGROUNDS = [
{
"type": "osm",
Expand Down

0 comments on commit 89cab20

Please sign in to comment.