Skip to content
/ icat Public

GeoNetwork link checker that analyses the availability of the endpoints found in the metadata records.

Notifications You must be signed in to change notification settings

GeoCat/icat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INSPIRE Link Checker

Requirements

  • Postgres database
  • Apache ActiveMQ

Configuration

Update the file application.properties configure the following properties:

  • Harvester database connection:
harvesterdb.datasource.url=jdbc:postgresql://localhost:5432/harvest
harvesterdb.datasource.username=postgres
harvesterdb.datasource.password=mysecretpassword
harvesterdb.datasource.driver-class-name=org.postgresql.Driver
  • Link checker database connection:
spring.datasource.url=jdbc:postgresql://localhost:5432/linkchecker2
spring.datasource.username=postgres
spring.datasource.password=mysecretpassword
spring.datasource.driver-class-name=org.postgresql.Driver
  • JMS:
activemq.url=tcp://localhost:61616?jms.prefetchPolicy.queuePrefetch\=1
  • Application host / port
geocat.jettyHost=0.0.0.0
geocat.jettyPort=8888

Build

mvn clean package

Run

mvn spring-boot:run

Launch the link checker for a harvester using the harvester name

curl -X POST "http://localhost:8888/api/startLinkCheck" -H "Content-Type: application/json"  -d '{"longTermTag":"MT"}'

About

GeoNetwork link checker that analyses the availability of the endpoints found in the metadata records.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages