Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy Client Configuration action not showing up #11

Open
pgrandjean opened this issue Feb 16, 2016 · 1 comment
Open

Deploy Client Configuration action not showing up #11

pgrandjean opened this issue Feb 16, 2016 · 1 comment

Comments

@pgrandjean
Copy link

I'm developing a custom CSD. Although I have added "gateway" to service.sdl, I do not see a "Deploy Client Configuration" command in the "Action" menu. Could you please help?

@alxn
Copy link

alxn commented Feb 16, 2016

@pgrandjean this is the gist of what I've been successfully using if that helps:

    "gateway" : {
        "alternatives" : {
            "name" : "foo-conf",
            "priority" : 50,
            "linkRoot" : "/etc/foo"
        },
        "scriptRunner" : {
            "program" : "scripts/control.sh",
            "args" : ["deploy"],
            "environmentVariables" : {
                "DATA" : "${foo.data}",
                "WEB"  : "${foo.web}"
            }
        },
        "configWriter" : {
            "generators" : [
                {
                    "filename" : "foo-conf/foo.properties",
                    "configFormat" : "properties"
                }
            ]
        },
        "peerConfigGenerators" : [
            {
                "filename" : "foobar.properties",
                "params" : [ "foo.bar.data"],
                "roleName" : "FOOBAR"
            }
        ]
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants