Skip to content

feat(model): add fields stored and display

add the line number in the file improve filename with a relative path add last origin filename one level up

Closes #23 (closed)

The json sent looks as :

{
    "envName": "dev-local",
    "version": "0.2.4",
    "variables": [
        {
            "name": "/guestbook/filter/management/info/git/mode",
            "value": "full",
            "origin": "dictionaries/dev-local/main.dict",
            "valuesHistory": [
                {
                    "value": "simple",
                    "origin": "dictionaries/common.dict",
                    "lineNumber": 19
                },
                {
                    "value": "full",
                    "origin": "dictionaries/dev-local/main.dict",
                    "lineNumber": 12
                }
            ]
        },
        {
            "name": "/guestbook/server/backend/redis/write/port",
            "value": "6379",
            "origin": "dictionaries/common.dict",
            "valuesHistory": [
                {
                    "value": "6379",
                    "origin": "dictionaries/common.dict",
                    "lineNumber": 36
                }
            ]
        },
...

Merge request reports