@chosengeneration/light-code 0.148.0 → 0.149.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +25 -21
- package/dist/server.cjs +22 -18
- package/package.json +1 -1
package/dist/server.cjs
CHANGED
|
@@ -73241,19 +73241,19 @@ function calendarDates(records) {
|
|
|
73241
73241
|
|
|
73242
73242
|
// ../../packages/core/dist/atlassian/autosys.js
|
|
73243
73243
|
var DEFAULT_AUTOSYS_PATHS = {
|
|
73244
|
-
jobs: "/
|
|
73245
|
-
job: "/
|
|
73246
|
-
runInfo: "/
|
|
73247
|
-
jobRunInfo: "/
|
|
73248
|
-
boxMembers: "/
|
|
73249
|
-
event: "/
|
|
73250
|
-
jil: "/
|
|
73251
|
-
log: "/
|
|
73252
|
-
machines: "/
|
|
73253
|
-
machine: "/
|
|
73254
|
-
globalVariables: "/
|
|
73255
|
-
calendar: "/
|
|
73256
|
-
extendedCalendar: "/
|
|
73244
|
+
jobs: "/job?filter={filter:name}",
|
|
73245
|
+
job: "/job/{job}",
|
|
73246
|
+
runInfo: "/job-run-info?filter={filter:name}",
|
|
73247
|
+
jobRunInfo: "/job-run-info/{job}",
|
|
73248
|
+
boxMembers: "/job?filter={filter:boxName}",
|
|
73249
|
+
event: "/event",
|
|
73250
|
+
jil: "/jil",
|
|
73251
|
+
log: "/job-log/{job}?runNum={runNum}&type={type}",
|
|
73252
|
+
machines: "/machine?filter={filter:name}",
|
|
73253
|
+
machine: "/machine/{machine}",
|
|
73254
|
+
globalVariables: "/global-variable?filter={filter:name}",
|
|
73255
|
+
calendar: "/calendar/standard/{calendar}",
|
|
73256
|
+
extendedCalendar: "/calendar/extended/{calendar}"
|
|
73257
73257
|
};
|
|
73258
73258
|
function isAutosysName(name, pattern = false) {
|
|
73259
73259
|
return (pattern ? /^[A-Za-z0-9._#*-]{1,64}$/ : /^[A-Za-z0-9._#-]{1,64}$/).test(name);
|
|
@@ -75249,7 +75249,8 @@ var ATLASSIAN_PRODUCTS = [
|
|
|
75249
75249
|
tokenLabel: "Password",
|
|
75250
75250
|
tokenHint: "The password for the user below, as you sign in to AutoSys web services. Kept in secure storage, never in the settings file, and never sent back to this panel.",
|
|
75251
75251
|
tokenRef: "autosys:password",
|
|
75252
|
-
|
|
75252
|
+
// As far as the web services' own prefix: requests add only the resource (/job-run-info?filter=...).
|
|
75253
|
+
sitePlaceholder: "https://autosys.example.com:9443/AEWS",
|
|
75253
75254
|
does: "find jobs and machines, read job definitions, status, schedules, calendars, global variables and run logs, and \u2014 always shown to you first, and only without read-only access \u2014 send events such as force-start, kill, hold and ice, or apply JIL",
|
|
75254
75255
|
defaults: [
|
|
75255
75256
|
{
|
|
@@ -89963,8 +89964,8 @@ There is no tool that changes a job's configuration.
|
|
|
89963
89964
|
"service account"
|
|
89964
89965
|
],
|
|
89965
89966
|
body: `
|
|
89966
|
-
**Settings \u2192 DevOps \u2192 AutoSys**: the web services address (for
|
|
89967
|
-
\`https://autosys.example.com:9443\`), your **username** and **password**, and optionally a default
|
|
89967
|
+
**Settings \u2192 DevOps \u2192 AutoSys**: the web services address, as far as the web services' own prefix (for
|
|
89968
|
+
example \`https://autosys.example.com:9443/AEWS\`), your **username** and **password**, and optionally a default
|
|
89968
89969
|
job pattern such as \`PAY_*\`, a CA file and the skip-verify escape hatch. Off until switched on;
|
|
89969
89970
|
**user-scope only** (config:autosys). The password is kept in secure storage. **Test connection**
|
|
89970
89971
|
signs in without listing any jobs. Under its result, **Details** shows every request it made and what
|
|
@@ -90005,8 +90006,11 @@ sign-in in a header of its own. The panel warns before saving if both would land
|
|
|
90005
90006
|
expiry sit in the response, the header and prefix it is sent with, extra headers (an API key, say)
|
|
90006
90007
|
and extra token parameters (config:autosys).
|
|
90007
90008
|
|
|
90008
|
-
Without a gateway, it talks to AutoSys's REST web services (AEWS) with HTTP Basic.
|
|
90009
|
-
|
|
90009
|
+
Without a gateway, it talks to AutoSys's REST web services (AEWS) with HTTP Basic. **The site address is used
|
|
90010
|
+
exactly as typed, so include the web services' own prefix** - usually \`https://autosys.example.com:9443/AEWS\`.
|
|
90011
|
+
Light Code adds only the resource and its query to it (\`/job\`, \`/job-run-info?filter=...\`, \`/event\`,
|
|
90012
|
+
\`/jil\`); a 404 from Test connection usually means the prefix is missing or doubled - its Details show the
|
|
90013
|
+
exact address used. A server that answers
|
|
90010
90014
|
elsewhere can be pointed at with config:autosys (paths) \u2014 one template each for jobs, job,
|
|
90011
90015
|
runInfo, jobRunInfo, boxMembers, event, jil, log, machines, machine, globalVariables, calendar and
|
|
90012
90016
|
extendedCalendar. A tool whose address this server does not answer says which of these to set.
|