Skip to content

Commit

Permalink
Merge pull request #40 from aodn/features/5522-update-config-logo
Browse files Browse the repository at this point in the history
Features/5522 update config logo
  • Loading branch information
utas-raymondng authored May 10, 2024
2 parents 43a5d17 + e11c350 commit eae7de7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions geonetwork-config/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Get setting via API

You should go to [swagger page](https://geonetwork-edge.edge.aodn.org.au/geonetwork/doc/api/index.html) to get the
geonetwork API.

# How to update harvesters
You can get the geonetwork4 system setting via this api [setting](https://geonetwork-edge.edge.aodn.org.au/geonetwork/srv/api/site/settings/details)

However, there are settings that you cannot get it via normal API for example:
* For harvesters, use this [get harvesters call](https://geonetwork-edge.edge.aodn.org.au/geonetwork/srv/api/aodn/setup/harvesters), it returns the whole json config and you just need to copy and paste the portion you need and update the relevant harvesters json file.
2 changes: 1 addition & 1 deletion geonetwork-config/harvesters/ga-marine.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"password": {}
},
"capabilitiesUrl": "https://ecat.ga.gov.au/geonetwork/srv/eng/csw?service=CSW&request=GetCapabilities&acceptVersions=2.0.2",
"icon": "blank.png",
"icon": "GA_logo.gif",
"rejectDuplicateResource": "false",
"hopCount": "2",
"xpathFilter": {},
Expand Down
2 changes: 1 addition & 1 deletion geonetwork-config/harvesters/imos-catalogue.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"password": {}
},
"capabilitiesUrl": "https://catalogue-imos.aodn.org.au/geonetwork/srv/eng/csw?request=GetCapabilities&service=CSW&version=2.0.2",
"icon": "blank.png",
"icon": "IMOS_logo.gif",
"rejectDuplicateResource": "false",
"hopCount": "2",
"xpathFilter": {},
Expand Down
1 change: 1 addition & 0 deletions geonetwork-config/harvesters/imos.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"site": {
"name": "IMOS (currently doesn't exclude harvested content)",
"uuid": "a83c5159-61cf-40e5-b47a-b6215a738f30",
"icon": "IMOS_logo.gif",
"account": {
"use": "false",
"username": {},
Expand Down

0 comments on commit eae7de7

Please sign in to comment.