NOTE: This repository is now deprecated, as it has been superseded by the Micronaut-based microservices in this project:
https://github.com/epsilonlabs/playground-backend
This repo hosts a copy of the back-end code of the Epsilon Playground. The source code for its front-end is in Epsilon's website repo.
To run the Epsilon Playground front-end, follow the instructions provided here to clone and run Epsilon's website.
To run the back-end locally too, you should clone this repo, run the following commands
mvn function:run -Drun.functionTarget=org.eclipse.epsilon.playground.RunEpsilonFunction -Drun.port=8001
mvn function:run -Drun.functionTarget=org.eclipse.epsilon.playground.FlexmiToPlantUMLFunction -Drun.port=8002
mvn function:run -Drun.functionTarget=org.eclipse.epsilon.playground.EmfaticToPlantUMLFunction -Drun.port=8003
and update the frontend's backend.json
as follows to make the front-end call the local instances of the respective web services.
{
"service": [
{"name": "RunEpsilonFunction", "port": "8001"},
{"name": "FlexmiToPlantUMLFunction", "port": "8002"},
{"name": "EmfaticToPlantUMLFunction", "port": "8003"},
{"name": "ShortURLFunction", "url": "https://europe-west2-epsilon-live-gcp.cloudfunctions.net/short-url"}
]
}