-
Notifications
You must be signed in to change notification settings - Fork 3
Advanced installation guides
Altynbek Orumbayev edited this page Jul 13, 2019
·
1 revision
Please note that the steps below refer is to make members of LP-Apps
familiar with the basic concepts of using the Discovery service. Discovery Repo. After a certain point of implementation of our own backend inside LP-Apps Repo this tutorial will be either removed or updated.
- Clone the discovery repo
$ https://github.com/linkedpipes/discovery
- Navigate to
src
directory$ cd src
- Build and run the project
$ sbt compile
$ sbt run
- Navigate to
localhost:9000
- the web service should now be ready for handling requests.
- There is a demo instance running at the following address Demo Instance, simply use postman ot send requests.
Analyze the Discovery API to see the list of all available GET
and POST
requests to discovery service. For exploring the API, it is convenient to use POSTMAN
.
Example usage:
- Perform
/discovery/startFromInput
POST
using.ttl
config files from List of Discovery .ttl files and put it into request body as a raw text. As a response you will receive the discovery id. - Perform
/discovery/:id/pipelines
to see the list of available pipelines. Replace the:id
part with id from previous call (which is/discovery/startFromInput
)
$ git clone https://github.com/linkedpipes/etl.git
$ cd etl
$ mvn install
$ cp configuration.properties.sample deploy/configuration.properties
$ cd deploy
$ ./executor.sh >> executor.log &
$ ./executor-monitor.sh >> executor-monitor.log &
$ ./storage.sh >> storage.log &
$ ./frontend.sh >> frontend.log &
In case of error, try executing each service in separate console windows.
After that, navigate to localhost:8080
to load frontend app.