Skip to content

elsand/toopnode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Contents

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

First of all

This project depends on:

All three need to be installed, configured and running properly.

Check out

Use GIT clone to get a local copy of this repo.

Configuration

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.

Country specific implementation

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.

Building

You will need to build the toopapi project first! Build using: mvn clean install

Running

Run the application inside ./target/ java -jar toopnode.jar

OR

mvn spring-boot:run

Browse to

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%