Skip to content

URI format used in CCommands when "patching" a model #106

Discussion options

You must be logged in to vote

Hi @agonzalezgaliana!

I suggest to do a simple test run with a REST client to get familiar with the behavior of the Model Server.

This procedure will cover your described way of testing (using the SuperBrewer3000.coffee model from the default workspace root):

  1. Set a value of an attribute
    We send a PATCH request containing the following SET command to http://localhost:8081/api/v1/edit?modeluri=SuperBrewer3000.coffee:
{
 "data": {
        "eClass": "http://www.eclipse.org/emfcloud/modelserver/command#//Command",
        "type": "set",
        "owner": {
            "eClass":"http://www.eclipsesource.com/modelserver/example/coffeemodel#//Workflow",
            "$ref":"SuperBrewer3000.coffee…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@agonzalezgaliana
Comment options

@CamilleLetavernier
Comment options

@agonzalezgaliana
Comment options

@CamilleLetavernier
Comment options

Answer selected by agonzalezgaliana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants