@forge/cli-shared 9.9.0-next.8 → 9.9.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/CHANGELOG.md +122 -0
- package/out/app-logs/graphql-client.d.ts.map +1 -1
- package/out/app-logs/graphql-client.js +2 -0
- package/out/app-logs/view-logs.d.ts +4 -1
- package/out/app-logs/view-logs.d.ts.map +1 -1
- package/out/app-logs/view-logs.js +4 -2
- package/out/apps/get-app-owner.d.ts.map +1 -1
- package/out/ari/ari.d.ts +5 -3
- package/out/ari/ari.d.ts.map +1 -1
- package/out/ari/ari.js +30 -6
- package/out/graphql/gql/gql.d.ts +1 -1
- package/out/graphql/gql/gql.d.ts.map +1 -1
- package/out/graphql/gql/gql.js +1 -1
- package/out/graphql/gql/graphql.d.ts +599 -43
- package/out/graphql/gql/graphql.d.ts.map +1 -1
- package/out/graphql/gql/graphql.js +2 -2
- package/out/http-client/node-request.d.ts.map +1 -1
- package/out/http-client/node-request.js +1 -1
- package/out/ui/command-line-ui.d.ts +4 -0
- package/out/ui/command-line-ui.d.ts.map +1 -1
- package/out/ui/command-line-ui.js +15 -0
- package/out/ui/text.d.ts +57 -0
- package/out/ui/text.d.ts.map +1 -1
- package/out/ui/text.js +55 -2
- package/out/ui/ui.d.ts +4 -0
- package/out/ui/ui.d.ts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,127 @@
|
|
|
1
1
|
# @forge/cli-shared
|
|
2
2
|
|
|
3
|
+
## 9.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4bff8be: Added `forge skills install`, `forge skills status` and `forge skills remove` to install the latest Forge developer skills from `main` and configure the Forge and ADS MCP servers for Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot CLI and Visual Studio Code, at user or project scope. Install supports `--skill`, `--dry-run` and `--no-mcp`. After an interactive `forge login`, the CLI suggests `forge skills install` when an AI agent is installed but no Forge skills or MCP servers are set up.
|
|
8
|
+
|
|
9
|
+
`sendWithNodeRequest` now keeps binary HTTP response bodies intact, so downloaded archives are not corrupted by text decoding.
|
|
10
|
+
|
|
11
|
+
- f935aa9: Added the `--open` option to `forge console`, which also opens the developer console link in your default browser. The link is now printed on its own line so it is easier to copy.
|
|
12
|
+
- 4dd1a11: Add stg-gcentral as env and setup forge csp for gcp service urls
|
|
13
|
+
- 8693a88: Added an optional `--placement` filter to `forge logs`, which limits the logs returned to a given placement. Placements can be regions, isolation contexts (for example `ic-dr6`) or Customer Data Planes (for example `cdp-bb0`).
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 5a91774: Updated test tooling to Jest 30, migrated test matchers and snapshot headers, and added coverage for translation caching and permission ordering. Removed a redundant private validation guard while preserving the public validation checks.
|
|
18
|
+
- 30bee86: forge create now points you to the Developer Console, where you can add contributors to the new app
|
|
19
|
+
- b1f95d4: Revert keyid in the response when creating authenticated webtrigger urls, and disable authenticated webtrigger e2e tests
|
|
20
|
+
- 3a275b0: Show Not Available when container cpu and memory values are unknown
|
|
21
|
+
- 8b9c106: update transitive dependency brace-expansion 5.0.4 -> 5.0.12
|
|
22
|
+
- 94f9b5c: Include package manager output in `forge module add` errors, and recover the custom-ui module add e2e test when npm skips rolldown's native binding
|
|
23
|
+
- Updated dependencies [5a91774]
|
|
24
|
+
- Updated dependencies [8b9c106]
|
|
25
|
+
- Updated dependencies [5ea3a6b]
|
|
26
|
+
- Updated dependencies [3454106]
|
|
27
|
+
- Updated dependencies [006518e]
|
|
28
|
+
- Updated dependencies [ec732cf]
|
|
29
|
+
- Updated dependencies [ccee8d2]
|
|
30
|
+
- Updated dependencies [3446495]
|
|
31
|
+
- Updated dependencies [ec6a2be]
|
|
32
|
+
- Updated dependencies [88469d3]
|
|
33
|
+
- Updated dependencies [75f87bd]
|
|
34
|
+
- Updated dependencies [a4121ff]
|
|
35
|
+
- Updated dependencies [c443ae7]
|
|
36
|
+
- Updated dependencies [1d3c386]
|
|
37
|
+
- @forge/i18n@1.0.1
|
|
38
|
+
- @forge/manifest@13.8.0
|
|
39
|
+
|
|
40
|
+
## 9.9.0-next.20
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- Updated dependencies [a4121ff]
|
|
45
|
+
- @forge/manifest@13.8.0-next.13
|
|
46
|
+
|
|
47
|
+
## 9.9.0-next.19
|
|
48
|
+
|
|
49
|
+
### Minor Changes
|
|
50
|
+
|
|
51
|
+
- 4bff8be: Added `forge skills install`, `forge skills status` and `forge skills remove` to install the latest Forge developer skills from `main` and configure the Forge and ADS MCP servers for Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot CLI and Visual Studio Code, at user or project scope. Install supports `--skill`, `--dry-run` and `--no-mcp`. After an interactive `forge login`, the CLI suggests `forge skills install` when an AI agent is installed but no Forge skills or MCP servers are set up.
|
|
52
|
+
|
|
53
|
+
`sendWithNodeRequest` now keeps binary HTTP response bodies intact, so downloaded archives are not corrupted by text decoding.
|
|
54
|
+
|
|
55
|
+
## 9.9.0-next.18
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- 94f9b5c: Include package manager output in `forge module add` errors, and recover the custom-ui module add e2e test when npm skips rolldown's native binding
|
|
60
|
+
|
|
61
|
+
## 9.9.0-next.17
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- b1f95d4: Revert keyid in the response when creating authenticated webtrigger urls, and disable authenticated webtrigger e2e tests
|
|
66
|
+
|
|
67
|
+
## 9.9.0-next.16
|
|
68
|
+
|
|
69
|
+
### Minor Changes
|
|
70
|
+
|
|
71
|
+
- f935aa9: Added the `--open` option to `forge console`, which also opens the developer console link in your default browser. The link is now printed on its own line so it is easier to copy.
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- Updated dependencies [88469d3]
|
|
76
|
+
- @forge/manifest@13.8.0-next.12
|
|
77
|
+
|
|
78
|
+
## 9.9.0-next.15
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- Updated dependencies [ccee8d2]
|
|
83
|
+
- @forge/manifest@13.8.0-next.11
|
|
84
|
+
|
|
85
|
+
## 9.9.0-next.14
|
|
86
|
+
|
|
87
|
+
### Minor Changes
|
|
88
|
+
|
|
89
|
+
- 8693a88: Added an optional `--placement` filter to `forge logs`, which limits the logs returned to a given placement. Placements can be regions, isolation contexts (for example `ic-dr6`) or Customer Data Planes (for example `cdp-bb0`).
|
|
90
|
+
|
|
91
|
+
## 9.9.0-next.13
|
|
92
|
+
|
|
93
|
+
### Patch Changes
|
|
94
|
+
|
|
95
|
+
- Updated dependencies [5ea3a6b]
|
|
96
|
+
- @forge/manifest@13.8.0-next.10
|
|
97
|
+
|
|
98
|
+
## 9.9.0-next.12
|
|
99
|
+
|
|
100
|
+
### Patch Changes
|
|
101
|
+
|
|
102
|
+
- Updated dependencies [c443ae7]
|
|
103
|
+
- @forge/manifest@13.8.0-next.9
|
|
104
|
+
|
|
105
|
+
## 9.9.0-next.11
|
|
106
|
+
|
|
107
|
+
### Patch Changes
|
|
108
|
+
|
|
109
|
+
- Updated dependencies [3446495]
|
|
110
|
+
- @forge/manifest@13.8.0-next.8
|
|
111
|
+
|
|
112
|
+
## 9.9.0-next.10
|
|
113
|
+
|
|
114
|
+
### Minor Changes
|
|
115
|
+
|
|
116
|
+
- b984c40: Added keyid to the response when creating authenticated webtrigger urls
|
|
117
|
+
|
|
118
|
+
## 9.9.0-next.9
|
|
119
|
+
|
|
120
|
+
### Patch Changes
|
|
121
|
+
|
|
122
|
+
- Updated dependencies [75f87bd]
|
|
123
|
+
- @forge/manifest@13.8.0-next.7
|
|
124
|
+
|
|
3
125
|
## 9.9.0-next.8
|
|
4
126
|
|
|
5
127
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../src/app-logs/graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,aAAa,EAEd,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,wBAAwB,EACxB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAwCrB,qBAAa,mBAAoB,SAAQ,KAAK;CAAG;AACjD,qBAAa,uBAAwB,SAAQ,KAAK;CAAG;AACrD,qBAAa,sBAAuB,SAAQ,KAAK;CAAG;AACpD,qBAAa,oBAAqB,SAAQ,KAAK;CAAG;AAElD,qBAAa,iBAAkB,YAAW,iBAAiB;IAC7C,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,kBAAkB,CAAC,OAAO,EAAE,wBAAwB;;;;;;;IAapD,aAAa,CACxB,OAAO,EAAE,gBAAgB,EACzB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,EACtC,sBAAsB,EAAE,UAAU,EAAE,EACpC,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,UAAU,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../src/app-logs/graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,aAAa,EAEd,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,wBAAwB,EACxB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAwCrB,qBAAa,mBAAoB,SAAQ,KAAK;CAAG;AACjD,qBAAa,uBAAwB,SAAQ,KAAK;CAAG;AACrD,qBAAa,sBAAuB,SAAQ,KAAK;CAAG;AACpD,qBAAa,oBAAqB,SAAQ,KAAK;CAAG;AAElD,qBAAa,iBAAkB,YAAW,iBAAiB;IAC7C,OAAO,CAAC,QAAQ,CAAC,aAAa;gBAAb,aAAa,EAAE,aAAa;IAE5C,kBAAkB,CAAC,OAAO,EAAE,wBAAwB;;;;;;;IAapD,aAAa,CACxB,OAAO,EAAE,gBAAgB,EACzB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,EACtC,sBAAsB,EAAE,UAAU,EAAE,EACpC,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,UAAU,EAAE,CAAC;IA8IX,WAAW,CAAC,OAAO,EAAE,cAAc;IA4EhD,OAAO,CAAC,qBAAqB;IAe7B,OAAO,CAAC,eAAe;YAcT,iBAAiB;CAkDhC"}
|
|
@@ -64,6 +64,7 @@ class LogsGraphQLClient {
|
|
|
64
64
|
$containers: [String]
|
|
65
65
|
$instances: [String]
|
|
66
66
|
$services: [String]
|
|
67
|
+
$placements: [String]
|
|
67
68
|
) {
|
|
68
69
|
appLogsWithMetaData(
|
|
69
70
|
appId: $appId
|
|
@@ -78,6 +79,7 @@ class LogsGraphQLClient {
|
|
|
78
79
|
containers: $containers
|
|
79
80
|
instances: $instances
|
|
80
81
|
services: $services
|
|
82
|
+
placements: $placements
|
|
81
83
|
}
|
|
82
84
|
) {
|
|
83
85
|
appLogs {
|
|
@@ -21,6 +21,7 @@ export interface QueryDetails {
|
|
|
21
21
|
containerInstance?: string;
|
|
22
22
|
serviceKey?: string;
|
|
23
23
|
functionKey?: string;
|
|
24
|
+
placement?: string;
|
|
24
25
|
}
|
|
25
26
|
export type AppLogsDetails = {
|
|
26
27
|
appId: string;
|
|
@@ -40,6 +41,7 @@ export type AppLogsDetailsV2 = AppLogsDetails & {
|
|
|
40
41
|
instances?: string[];
|
|
41
42
|
services?: string[];
|
|
42
43
|
functionKeys?: string[];
|
|
44
|
+
placements?: string[];
|
|
43
45
|
};
|
|
44
46
|
export interface InvocationQueryDetails {
|
|
45
47
|
environmentKey: string;
|
|
@@ -87,12 +89,13 @@ export declare class ViewAppLogsCommand {
|
|
|
87
89
|
private readonly logsClient;
|
|
88
90
|
private readonly statsigService;
|
|
89
91
|
constructor(getAppConfig: AppConfigProvider, appEnvironmentClient: AppEnvironmentClient, globalEdgeClient: GlobalEdgeClient, logsClient: ViewAppLogsClient, statsigService: StatsigService);
|
|
90
|
-
getAll({ environmentKey, limit, context, containerKey, containerInstance, serviceKey, functionKey, startTime, grouped }: QueryDetails): Promise<Invocation[]>;
|
|
92
|
+
getAll({ environmentKey, limit, context, containerKey, containerInstance, serviceKey, functionKey, placement, startTime, grouped }: QueryDetails): Promise<Invocation[]>;
|
|
91
93
|
getLogs(details: AppLogsDetails, containerDetails: {
|
|
92
94
|
containerKey?: string;
|
|
93
95
|
containerInstance?: string;
|
|
94
96
|
serviceKey?: string;
|
|
95
97
|
functionKey?: string;
|
|
98
|
+
placement?: string;
|
|
96
99
|
}): Promise<Invocation[]>;
|
|
97
100
|
getOne(details: InvocationQueryDetails): Promise<Invocation>;
|
|
98
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-logs.d.ts","sourceRoot":"","sources":["../../src/app-logs/view-logs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAmB,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,cAA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AW,EACX,SAAS,EACT,SAAgB,EAChB,OAAe,EAChB,EAAE,YAAY,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;IAsC1B,OAAO,CAClB,OAAO,EAAE,cAAc,EACvB,gBAAgB,EAAE;QAChB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,GACA,OAAO,CAAC,UAAU,EAAE,CAAC;IAiCX,MAAM,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,UAAU,CAAC;CAI1E"}
|
|
@@ -21,7 +21,7 @@ class ViewAppLogsCommand {
|
|
|
21
21
|
this.logsClient = logsClient;
|
|
22
22
|
this.statsigService = statsigService;
|
|
23
23
|
}
|
|
24
|
-
async getAll({ environmentKey, limit, context, containerKey, containerInstance, serviceKey, functionKey, startTime = null, grouped = false }) {
|
|
24
|
+
async getAll({ environmentKey, limit, context, containerKey, containerInstance, serviceKey, functionKey, placement, startTime = null, grouped = false }) {
|
|
25
25
|
const { id: appId } = await this.getAppConfig();
|
|
26
26
|
const [environmentId, cloudId] = await Promise.all([
|
|
27
27
|
this.appEnvironmentClient.getAppEnvironmentId(appId, environmentKey),
|
|
@@ -45,7 +45,8 @@ class ViewAppLogsCommand {
|
|
|
45
45
|
containerKey,
|
|
46
46
|
containerInstance,
|
|
47
47
|
serviceKey,
|
|
48
|
-
functionKey
|
|
48
|
+
functionKey,
|
|
49
|
+
placement
|
|
49
50
|
};
|
|
50
51
|
return this.getLogs(details, containerDetails);
|
|
51
52
|
}
|
|
@@ -70,6 +71,7 @@ class ViewAppLogsCommand {
|
|
|
70
71
|
instances: containerDetails.containerInstance ? [containerDetails.containerInstance] : [],
|
|
71
72
|
services: containerDetails.serviceKey ? [containerDetails.serviceKey] : [],
|
|
72
73
|
functionKeys: containerDetails.functionKey ? [containerDetails.functionKey] : [],
|
|
74
|
+
placements: containerDetails.placement ? [(0, ari_2.placementIdToAri)(containerDetails.placement).toString()] : [],
|
|
73
75
|
offset: 0,
|
|
74
76
|
dateSearchInput,
|
|
75
77
|
queryStartTime: earliestStart.toISOString(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-app-owner.d.ts","sourceRoot":"","sources":["../../src/apps/get-app-owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,eAAO,MAAM,aAAa;
|
|
1
|
+
{"version":3,"file":"get-app-owner.d.ts","sourceRoot":"","sources":["../../src/apps/get-app-owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,eAAO,MAAM,aAAa;QAuC4z+1G,8CAAc;GA9Bl2+1G,CAAC;AAEH,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,aAAa,EAAE,aAAa,EAC5B,YAAY,EAAE,iBAAiB;IAGrC,OAAO;;;;;;;;;;;;;YAMN,WAAW;CAe1B"}
|
package/out/ari/ari.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyAri, Ari, CompassWorkspaceAri, ConfluenceWorkspaceAri, GraphWorkspaceAri, JiraWorkspaceAri } from '@forge/util/packages/ari';
|
|
1
|
+
import { AnyAri, Ari, CompassWorkspaceAri, ConfluenceWorkspaceAri, EcosystemAppPlacementAri, GraphWorkspaceAri, JiraWorkspaceAri } from '@forge/util/packages/ari';
|
|
2
2
|
export declare const SITE_RESOURCE_TYPE = "site";
|
|
3
3
|
export declare const WORKSPACE_RESOURCE_TYPE = "workspace";
|
|
4
4
|
export declare const WORKSPACE_USER_RESOURCE_TYPE = "workspace-user";
|
|
@@ -6,12 +6,14 @@ export declare const INSTALLATION_RESOURCE_TYPE = "installation";
|
|
|
6
6
|
export declare const UNIT_RESOURCE_TYPE = "unit";
|
|
7
7
|
export declare const TRELLO_RESOURCE_OWNER = "trello";
|
|
8
8
|
export declare const BITBUCKET_RESOURCE_OWNER = "bitbucket";
|
|
9
|
-
export declare const APP_PLACEMENT_RESOURCE_TYPE = "app-placement";
|
|
10
9
|
export declare const ISOLATION_CONTEXT_PLACEMENT_TYPE = "isolation-context";
|
|
11
10
|
export declare const REGION_PLACEMENT_TYPE = "region";
|
|
11
|
+
export declare const CUSTOMER_DATA_PLANE_PLACEMENT_TYPE = "customer-data-plane";
|
|
12
|
+
export declare function isValidPlacementId(placementId: string): boolean;
|
|
12
13
|
export declare function appIdToAriString(appId: string): string;
|
|
13
14
|
export declare function placementIdToPlacementType(placementId: string): string;
|
|
14
|
-
export declare function
|
|
15
|
+
export declare function placementIdToAri(placementId: string): EcosystemAppPlacementAri;
|
|
16
|
+
export declare function parsePlacementAriString(placementAri: string): EcosystemAppPlacementAri;
|
|
15
17
|
export declare function buildContextAri(cloudId: string, product: string): Ari;
|
|
16
18
|
export declare function buildExtensionAri(appId: string, environmentId: string, functionKey: string): Ari;
|
|
17
19
|
export declare function encodeContext(context: Ari, extension: Ari): string;
|
package/out/ari/ari.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ari.d.ts","sourceRoot":"","sources":["../../src/ari/ari.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,GAAG,EACH,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAIlC,eAAO,MAAM,kBAAkB,SA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MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,GAAG,CAMrE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,GAAG,CAMhG;AAGD,wBAAgB,aAAa,CAAC,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,GAAG,MAAM,CAKlE;AACD,qBAAa,iCAAkC,SAAQ,KAAK;;CAI3D;AACD,qBAAa,sCAAuC,SAAQ,KAAK;;CAIhE;AACD,qBAAa,yCAA0C,SAAQ,KAAK;;CAInE;AASD,wBAAgB,wBAAwB,CAAC,mBAAmB,EAAE,MAAM,GAAG,MAAM,CAmC5E;AAGD,eAAO,MAAM,2BAA2B;mBACvB,MAAM,gBAAgB,MAAM;yBACtB,MAAM,gBAAgB,MAAM;sBAC/B,MAAM,eAAe,MAAM;qBAC5B,MAAM,eAAe,MAAM;CAC7C,CAAC"}
|
package/out/ari/ari.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createWorkspaceAriByProduct = exports.UnknownInstallationWithoutResourceIdError = exports.UnknownWorkspaceWithoutResourceIdError = exports.UnknownSiteWithoutResourceIdError = exports.
|
|
3
|
+
exports.createWorkspaceAriByProduct = exports.UnknownInstallationWithoutResourceIdError = exports.UnknownWorkspaceWithoutResourceIdError = exports.UnknownSiteWithoutResourceIdError = exports.CUSTOMER_DATA_PLANE_PLACEMENT_TYPE = exports.REGION_PLACEMENT_TYPE = exports.ISOLATION_CONTEXT_PLACEMENT_TYPE = exports.BITBUCKET_RESOURCE_OWNER = exports.TRELLO_RESOURCE_OWNER = exports.UNIT_RESOURCE_TYPE = exports.INSTALLATION_RESOURCE_TYPE = exports.WORKSPACE_USER_RESOURCE_TYPE = exports.WORKSPACE_RESOURCE_TYPE = exports.SITE_RESOURCE_TYPE = void 0;
|
|
4
|
+
exports.isValidPlacementId = isValidPlacementId;
|
|
4
5
|
exports.appIdToAriString = appIdToAriString;
|
|
5
6
|
exports.placementIdToPlacementType = placementIdToPlacementType;
|
|
6
|
-
exports.
|
|
7
|
+
exports.placementIdToAri = placementIdToAri;
|
|
8
|
+
exports.parsePlacementAriString = parsePlacementAriString;
|
|
7
9
|
exports.buildContextAri = buildContextAri;
|
|
8
10
|
exports.buildExtensionAri = buildExtensionAri;
|
|
9
11
|
exports.encodeContext = encodeContext;
|
|
@@ -18,18 +20,40 @@ exports.INSTALLATION_RESOURCE_TYPE = 'installation';
|
|
|
18
20
|
exports.UNIT_RESOURCE_TYPE = 'unit';
|
|
19
21
|
exports.TRELLO_RESOURCE_OWNER = 'trello';
|
|
20
22
|
exports.BITBUCKET_RESOURCE_OWNER = 'bitbucket';
|
|
21
|
-
exports.APP_PLACEMENT_RESOURCE_TYPE = 'app-placement';
|
|
22
23
|
exports.ISOLATION_CONTEXT_PLACEMENT_TYPE = 'isolation-context';
|
|
23
24
|
exports.REGION_PLACEMENT_TYPE = 'region';
|
|
25
|
+
exports.CUSTOMER_DATA_PLANE_PLACEMENT_TYPE = 'customer-data-plane';
|
|
26
|
+
const ISOLATION_CONTEXT_ID_PREFIX = 'ic-';
|
|
27
|
+
const CUSTOMER_DATA_PLANE_ID_PREFIX = 'cdp-';
|
|
24
28
|
const ISOLATION_CONTEXT_ID_PATTERN = /^ic-[a-z0-9]+$/;
|
|
29
|
+
const CUSTOMER_DATA_PLANE_ID_PATTERN = /^cdp-[a-z0-9]+$/;
|
|
30
|
+
const REGION_ID_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
31
|
+
function isValidPlacementId(placementId) {
|
|
32
|
+
if (placementId.startsWith(ISOLATION_CONTEXT_ID_PREFIX)) {
|
|
33
|
+
return ISOLATION_CONTEXT_ID_PATTERN.test(placementId);
|
|
34
|
+
}
|
|
35
|
+
if (placementId.startsWith(CUSTOMER_DATA_PLANE_ID_PREFIX)) {
|
|
36
|
+
return CUSTOMER_DATA_PLANE_ID_PATTERN.test(placementId);
|
|
37
|
+
}
|
|
38
|
+
return REGION_ID_PATTERN.test(placementId);
|
|
39
|
+
}
|
|
25
40
|
function appIdToAriString(appId) {
|
|
26
41
|
return `ari:cloud:ecosystem::app/${appId}`;
|
|
27
42
|
}
|
|
28
43
|
function placementIdToPlacementType(placementId) {
|
|
29
|
-
|
|
44
|
+
if (ISOLATION_CONTEXT_ID_PATTERN.test(placementId)) {
|
|
45
|
+
return exports.ISOLATION_CONTEXT_PLACEMENT_TYPE;
|
|
46
|
+
}
|
|
47
|
+
if (CUSTOMER_DATA_PLANE_ID_PATTERN.test(placementId)) {
|
|
48
|
+
return exports.CUSTOMER_DATA_PLANE_PLACEMENT_TYPE;
|
|
49
|
+
}
|
|
50
|
+
return exports.REGION_PLACEMENT_TYPE;
|
|
51
|
+
}
|
|
52
|
+
function placementIdToAri(placementId) {
|
|
53
|
+
return ari_1.EcosystemAppPlacementAri.create({ placementType: placementIdToPlacementType(placementId), placementId });
|
|
30
54
|
}
|
|
31
|
-
function
|
|
32
|
-
return
|
|
55
|
+
function parsePlacementAriString(placementAri) {
|
|
56
|
+
return ari_1.EcosystemAppPlacementAri.parse(placementAri);
|
|
33
57
|
}
|
|
34
58
|
function buildContextAri(cloudId, product) {
|
|
35
59
|
return ari_1.AnyAri.create({
|
package/out/graphql/gql/gql.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function graphql(source: "\n query forge_cli_getApplicationLogsV2(\n $appId: String!\n $environmentId: String!\n $dateSearchInput: DateSearchInput\n $offset: Int!\n $limit: Int!\n $queryStartTime: String!\n $runtime: String\n $functionKeys: [String]\n $containers: [String]\n $instances: [String]\n $services: [String]\n ) {\n appLogsWithMetaData(\n appId: $appId\n environmentId: $environmentId\n limit: $limit\n offset: $offset\n queryStartTime: $queryStartTime\n query: {\n dates: $dateSearchInput\n runtime: $runtime\n functionKeys: $functionKeys\n containers: $containers\n instances: $instances\n services: $services\n }\n ) {\n appLogs {\n appId\n appVersion\n message\n environmentId\n invocationId\n functionKey\n lvl\n error\n other\n ts\n browserName\n browserVersion\n errorType\n extensionType\n installationId\n logSource\n osName\n renderType\n userAgent\n }\n appLogsFilterBuckets {\n containers {\n key\n count\n __typename\n }\n services {\n key\n count\n __typename\n }\n functionKeys {\n key\n count\n __typename\n }\n __typename\n }\n hasNextPage\n totalLogs\n __typename\n }\n }\n "): typeof import('./graphql').Forge_Cli_GetApplicationLogsV2Document;
|
|
1
|
+
export declare function graphql(source: "\n query forge_cli_getApplicationLogsV2(\n $appId: String!\n $environmentId: String!\n $dateSearchInput: DateSearchInput\n $offset: Int!\n $limit: Int!\n $queryStartTime: String!\n $runtime: String\n $functionKeys: [String]\n $containers: [String]\n $instances: [String]\n $services: [String]\n $placements: [String]\n ) {\n appLogsWithMetaData(\n appId: $appId\n environmentId: $environmentId\n limit: $limit\n offset: $offset\n queryStartTime: $queryStartTime\n query: {\n dates: $dateSearchInput\n runtime: $runtime\n functionKeys: $functionKeys\n containers: $containers\n instances: $instances\n services: $services\n placements: $placements\n }\n ) {\n appLogs {\n appId\n appVersion\n message\n environmentId\n invocationId\n functionKey\n lvl\n error\n other\n ts\n browserName\n browserVersion\n errorType\n extensionType\n installationId\n logSource\n osName\n renderType\n userAgent\n }\n appLogsFilterBuckets {\n containers {\n key\n count\n __typename\n }\n services {\n key\n count\n __typename\n }\n functionKeys {\n key\n count\n __typename\n }\n __typename\n }\n hasNextPage\n totalLogs\n __typename\n }\n }\n "): typeof import('./graphql').Forge_Cli_GetApplicationLogsV2Document;
|
|
2
2
|
export declare function graphql(source: "\n query forge_cli_getApplicationLogs(\n $appId: ID!\n $environmentId: [ID!]!\n $limit: Int!\n $contextAri: [ID!]\n $startTime: String\n ) {\n appLogs(\n appId: $appId\n environmentId: $environmentId\n last: $limit\n query: { installationContexts: $contextAri, dates: { earliestStart: $startTime } }\n ) {\n nodes {\n id\n function {\n key\n }\n appVersion\n trigger {\n type\n }\n appLogLines {\n edges {\n node {\n timestamp\n level\n message\n other\n }\n cursor\n }\n pageInfo {\n hasNextPage\n }\n }\n }\n }\n }\n "): typeof import('./graphql').Forge_Cli_GetApplicationLogsDocument;
|
|
3
3
|
export declare function graphql(source: "\n query forge_cli_getInvocationLogs($invocationId: ID!, $after: String) {\n appLogLines(after: $after, invocation: $invocationId) {\n metadata {\n id\n function {\n key\n }\n appVersion\n trigger {\n type\n }\n }\n edges {\n node {\n timestamp\n level\n message\n other\n }\n cursor\n }\n pageInfo {\n hasNextPage\n }\n }\n }\n "): typeof import('./graphql').Forge_Cli_GetInvocationLogsDocument;
|
|
4
4
|
export declare function graphql(source: "\n mutation forge_cli_createApplication($input: CreateAppInput!) {\n createApp(input: $input) {\n success\n errors {\n message\n extensions {\n errorType\n statusCode\n }\n }\n app {\n id\n environments {\n key\n }\n }\n }\n }\n "): typeof import('./graphql').Forge_Cli_CreateApplicationDocument;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gql.d.ts","sourceRoot":"","sources":["../../../src/graphql/gql/gql.ts"],"names":[],"mappings":"AAkLA,wBAAgB,OAAO,CAAC,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"gql.d.ts","sourceRoot":"","sources":["../../../src/graphql/gql/gql.ts"],"names":[],"mappings":"AAkLA,wBAAgB,OAAO,CAAC,MAAM,EAAE,k0DAAk0D,GAAG,cAAc,WAAW,EAAE,sCAAsC,CAAC;AAIv6D,wBAAgB,OAAO,CAAC,MAAM,EAAE,+6BAA+6B,GAAG,cAAc,WAAW,EAAE,oCAAoC,CAAC;AAIlhC,wBAAgB,OAAO,CAAC,MAAM,EAAE,wlBAAwlB,GAAG,cAAc,WAAW,EAAE,mCAAmC,CAAC;AAI1rB,wBAAgB,OAAO,CAAC,MAAM,EAAE,wZAAwZ,GAAG,cAAc,WAAW,EAAE,mCAAmC,CAAC;AAI1f,wBAAgB,OAAO,CAAC,MAAM,EAAE,4IAA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f,wBAAgB,OAAO,CAAC,MAAM,EAAE,sVAAsV,GAAG,cAAc,WAAW,EAAE,0CAA0C,CAAC;AAI/b,wBAAgB,OAAO,CAAC,MAAM,EAAE,gUAAgU,GAAG,cAAc,WAAW,EAAE,0CAA0C,CAAC"}
|
package/out/graphql/gql/gql.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.graphql = graphql;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const types = tslib_1.__importStar(require("./graphql"));
|
|
6
6
|
const documents = {
|
|
7
|
-
"\n query forge_cli_getApplicationLogsV2(\n $appId: String!\n $environmentId: String!\n $dateSearchInput: DateSearchInput\n $offset: Int!\n $limit: Int!\n $queryStartTime: String!\n $runtime: String\n $functionKeys: [String]\n $containers: [String]\n $instances: [String]\n $services: [String]\n ) {\n appLogsWithMetaData(\n appId: $appId\n environmentId: $environmentId\n limit: $limit\n offset: $offset\n queryStartTime: $queryStartTime\n query: {\n dates: $dateSearchInput\n runtime: $runtime\n functionKeys: $functionKeys\n containers: $containers\n instances: $instances\n services: $services\n }\n ) {\n appLogs {\n appId\n appVersion\n message\n environmentId\n invocationId\n functionKey\n lvl\n error\n other\n ts\n browserName\n browserVersion\n errorType\n extensionType\n installationId\n logSource\n osName\n renderType\n userAgent\n }\n appLogsFilterBuckets {\n containers {\n key\n count\n __typename\n }\n services {\n key\n count\n __typename\n }\n functionKeys {\n key\n count\n __typename\n }\n __typename\n }\n hasNextPage\n totalLogs\n __typename\n }\n }\n ": types.Forge_Cli_GetApplicationLogsV2Document,
|
|
7
|
+
"\n query forge_cli_getApplicationLogsV2(\n $appId: String!\n $environmentId: String!\n $dateSearchInput: DateSearchInput\n $offset: Int!\n $limit: Int!\n $queryStartTime: String!\n $runtime: String\n $functionKeys: [String]\n $containers: [String]\n $instances: [String]\n $services: [String]\n $placements: [String]\n ) {\n appLogsWithMetaData(\n appId: $appId\n environmentId: $environmentId\n limit: $limit\n offset: $offset\n queryStartTime: $queryStartTime\n query: {\n dates: $dateSearchInput\n runtime: $runtime\n functionKeys: $functionKeys\n containers: $containers\n instances: $instances\n services: $services\n placements: $placements\n }\n ) {\n appLogs {\n appId\n appVersion\n message\n environmentId\n invocationId\n functionKey\n lvl\n error\n other\n ts\n browserName\n browserVersion\n errorType\n extensionType\n installationId\n logSource\n osName\n renderType\n userAgent\n }\n appLogsFilterBuckets {\n containers {\n key\n count\n __typename\n }\n services {\n key\n count\n __typename\n }\n functionKeys {\n key\n count\n __typename\n }\n __typename\n }\n hasNextPage\n totalLogs\n __typename\n }\n }\n ": types.Forge_Cli_GetApplicationLogsV2Document,
|
|
8
8
|
"\n query forge_cli_getApplicationLogs(\n $appId: ID!\n $environmentId: [ID!]!\n $limit: Int!\n $contextAri: [ID!]\n $startTime: String\n ) {\n appLogs(\n appId: $appId\n environmentId: $environmentId\n last: $limit\n query: { installationContexts: $contextAri, dates: { earliestStart: $startTime } }\n ) {\n nodes {\n id\n function {\n key\n }\n appVersion\n trigger {\n type\n }\n appLogLines {\n edges {\n node {\n timestamp\n level\n message\n other\n }\n cursor\n }\n pageInfo {\n hasNextPage\n }\n }\n }\n }\n }\n ": types.Forge_Cli_GetApplicationLogsDocument,
|
|
9
9
|
"\n query forge_cli_getInvocationLogs($invocationId: ID!, $after: String) {\n appLogLines(after: $after, invocation: $invocationId) {\n metadata {\n id\n function {\n key\n }\n appVersion\n trigger {\n type\n }\n }\n edges {\n node {\n timestamp\n level\n message\n other\n }\n cursor\n }\n pageInfo {\n hasNextPage\n }\n }\n }\n ": types.Forge_Cli_GetInvocationLogsDocument,
|
|
10
10
|
"\n mutation forge_cli_createApplication($input: CreateAppInput!) {\n createApp(input: $input) {\n success\n errors {\n message\n extensions {\n errorType\n statusCode\n }\n }\n app {\n id\n environments {\n key\n }\n }\n }\n }\n ": types.Forge_Cli_CreateApplicationDocument,
|