Skip to content

robertblust/cdo-server

Repository files navigation

Flatland CDO Server

Ready to use CDO Server with a generic rest API uses EMF reflective API.

CDO Service

Start

cd ch.flatland.cdo.server.build
docker-compose up

Test

curl -X GET \
  http://localhost:8199/manage/health
   
{
    "status": "UP"
}
curl -X GET \
  http://localhost:8199/node/repo/root
   
{
    "status": {
        "status": "OK"
    },
    "data": {
        "id": 3,
        "containerId": 1,
        "attributes": {
            "name": "root",
            "path": "/root"
        },
        "_links": {
            "self": {
                "href": "http://localhost:8199/obj/repo/eresource.CDOResourceFolder/3"
            }
        }
    }
}

Sample Request

See BasicProductTest.xtend

License

Eclipse Public License Version 1.0 ("EPL")