Skip to content

Conversation

gjsjohnmurray
Copy link
Contributor

This PR fixes #443

New variables are:

  • ${serverUrl} - for example http://localhost:52773
  • ${serverAuth} - for example &IRISUsername=_SYSTEM&IRISPassword=SYS
  • ${ns} - the raw ns parameter of the connection. Different from the already-defined ${namespace} variable.

An example of how the new capabilities can launch WebTerminal:

    "objectscript.conn": {
        "server": "vscodelab",
        "ns": "%SYS",
        "active": true,
        "links": {
            "$(terminal) WebTerminal": "${serverUrl}/terminal/?ns=${ns}${serverAuth}"
        }
    }

@gjsjohnmurray gjsjohnmurray requested a review from daimor as a code owner October 27, 2020 14:28
@gjsjohnmurray gjsjohnmurray merged commit 4a87c21 into intersystems-community:master Oct 27, 2020
@gjsjohnmurray gjsjohnmurray deleted the fix-443 branch October 27, 2020 14:32
@gjsjohnmurray gjsjohnmurray mentioned this pull request Oct 28, 2020
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

Successfully merging this pull request may close these issues.

Allow objectscript.conn.links to add IRISUsername and IRISPassword queryparams
2 participants