TOOP node application based on TOOP Provider and TOOP Consumer principle. TOOP Provider connects to the Dutch Chamber of Commerce Test API available here: https://api.kvk.nl/api/v2/testsearch/companies?q=kvk
This project depends on:
- JDK 9 (http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase9-3934878.html)
- Apache Maven 3x (https://maven.apache.org/)
- Lombok (https://projectlombok.org)
All three need to be installed, configured and running properly.
Use GIT clone to get a local copy of this repo.
Before running check server.port inside: ./src/main/resources/application.properties When running the jar, the application.properties can be placed next to the jar and it will be picked up automatically.
The way forward would be to implement the eu.toop.node.service.ProviderService interface which would need to use a country specific Chamber of Commerce service much like the eu.toop.node.nl.kvk.KvKProviderService. To be able to use this new implementation two things need to be done: Through configuring the new provider implementation inside the eu.toop.node.CountryConfiguration a TOOP Consumer can be made aware of this new implementation.
You will need to build the toopapi project first! Build using: mvn clean install
Run the application inside ./target/ java -jar toopnode.jar
mvn spring-boot:run
TOOP Consumer URL: http://localhost:<server.port>/toopnode/consumer/provide?country=NL&id=Grand%20Kontex%20B.V.
TOOP Provider URL: http://localhost:<server.port>/toopnode/provider/provide?id=Grand%20Kontex%20B.V.