Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

⚠️ Obsolete respository, archive only. 💤

License

Notifications You must be signed in to change notification settings

OpenConext-Attic/OpenConext-metadata-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenConext-metadata-exporter

Build Status codecov.io

OpenConext Metadata Exporter

  • Java 8
  • Maven 3
  • MySQL 5.5

Connect to your local mysql database: mysql -uroot

Execute the following:

CREATE DATABASE srlocal DEFAULT CHARACTER SET latin1;
grant all on srlocal.* to 'root'@'localhost';

This project uses Spring Boot and Maven. To run locally, type:

mvn spring-boot:run

When developing, it's convenient to just execute the applications main-method, which is in Application.

The secured endpoints can be accessed at:

curl -i -H "Content-Type: application/json" --user metadata.client:secret http://localhost:8080/identity-providers.json
curl -i -H "Content-Type: application/json" --user metadata.client:secret http://localhost:8080/service-providers.json

curl -i -I -H "Content-Type: application/json" --user metadata.client:secret http://localhost:8080/identity-providers.json
curl -i -I -H "Content-Type: application/json" --user metadata.client:secret http://localhost:8080/service-providers.json

curl -i -I -H "Content-Type: application/json" -H "If-Modified-Since: Sat, 25 Feb 2017 09:14:11 GMT" --user metadata.client:secret http://localhost:8080/identity-providers.json
curl -i -I -H "Content-Type: application/json" -H "If-Modified-Since: Sat, 25 Feb 2017 09:14:11 GMT" --user metadata.client:secret http://localhost:8080/service-providers.json

For test:

curl -i -H "Content-Type: application/json" --user metadata.client:secret https://multidata.test.surfconext.nl/service-providers.json
curl -i -H "Content-Type: application/json" --user metadata.client:secret https://multidata.test.surfconext.nl/identity-providers.json

About

⚠️ Obsolete respository, archive only. 💤

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages