mulesoft-anypoint-cli-agent-fabric-plugin 1.5.0 → 1.6.1
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/README.md +39 -26
- package/TROUBLESHOOTING.md +58 -2
- package/dist/commands/agent-network/project/agent-console.d.ts +3 -2
- package/dist/commands/agent-network/project/agent-console.js +3 -1
- package/dist/commands/agent-network/project/agent-console.js.map +1 -1
- package/dist/commands/agent-network/project/broker/create.d.ts +3 -2
- package/dist/commands/agent-network/project/broker/create.js +3 -1
- package/dist/commands/agent-network/project/broker/create.js.map +1 -1
- package/dist/commands/agent-network/project/build.d.ts +4 -3
- package/dist/commands/agent-network/project/build.js +13 -8
- package/dist/commands/agent-network/project/build.js.map +1 -1
- package/dist/commands/agent-network/project/create.d.ts +5 -4
- package/dist/commands/agent-network/project/create.js +10 -5
- package/dist/commands/agent-network/project/create.js.map +1 -1
- package/dist/commands/agent-network/project/deploy.d.ts +4 -2
- package/dist/commands/agent-network/project/deploy.js +27 -6
- package/dist/commands/agent-network/project/deploy.js.map +1 -1
- package/dist/commands/agent-network/project/export-logs.d.ts +3 -2
- package/dist/commands/agent-network/project/export-logs.js +3 -2
- package/dist/commands/agent-network/project/export-logs.js.map +1 -1
- package/dist/commands/agent-network/project/mcp/introspect.d.ts +7 -3
- package/dist/commands/agent-network/project/mcp/introspect.js +14 -9
- package/dist/commands/agent-network/project/mcp/introspect.js.map +1 -1
- package/dist/commands/agent-network/project/publish.d.ts +3 -4
- package/dist/commands/agent-network/project/publish.js +9 -13
- package/dist/commands/agent-network/project/publish.js.map +1 -1
- package/dist/commands/agent-network/project/run-local.d.ts +4 -2
- package/dist/commands/agent-network/project/run-local.js +173 -15
- package/dist/commands/agent-network/project/run-local.js.map +1 -1
- package/dist/commands/agent-network/project/secrets.d.ts +3 -2
- package/dist/commands/agent-network/project/secrets.js +3 -1
- package/dist/commands/agent-network/project/secrets.js.map +1 -1
- package/dist/commands/agent-network/project/stop-local.d.ts +3 -2
- package/dist/commands/agent-network/project/stop-local.js +3 -2
- package/dist/commands/agent-network/project/stop-local.js.map +1 -1
- package/dist/commands/agent-network/project/undeploy.d.ts +3 -2
- package/dist/commands/agent-network/project/undeploy.js +3 -3
- package/dist/commands/agent-network/project/undeploy.js.map +1 -1
- package/dist/commands/agent-network/project/unpublish.d.ts +3 -2
- package/dist/commands/agent-network/project/unpublish.js +3 -3
- package/dist/commands/agent-network/project/unpublish.js.map +1 -1
- package/dist/commands/agent-network/setup/dependencies.d.ts +4 -3
- package/dist/commands/agent-network/setup/dependencies.js +7 -4
- package/dist/commands/agent-network/setup/dependencies.js.map +1 -1
- package/dist/commands/agent-network/setup/gateways.d.ts +3 -2
- package/dist/commands/agent-network/setup/gateways.js +3 -3
- package/dist/commands/agent-network/setup/gateways.js.map +1 -1
- package/dist/errors/base-error.d.ts +5 -0
- package/dist/errors/base-error.js +29 -10
- package/dist/errors/base-error.js.map +1 -1
- package/dist/errors/error-factory.d.ts +26 -1
- package/dist/errors/error-factory.js +157 -5
- package/dist/errors/error-factory.js.map +1 -1
- package/dist/helpers/dependency-manager.d.ts +14 -5
- package/dist/helpers/dependency-manager.js +185 -51
- package/dist/helpers/dependency-manager.js.map +1 -1
- package/dist/helpers/policy-helper.js +256 -26
- package/dist/helpers/policy-helper.js.map +1 -1
- package/dist/helpers/proxy-fetch.d.ts +5 -0
- package/dist/helpers/proxy-fetch.js +102 -0
- package/dist/helpers/proxy-fetch.js.map +1 -0
- package/dist/helpers/types.d.ts +5 -0
- package/dist/helpers/utils.d.ts +3 -2
- package/dist/helpers/utils.js +23 -20
- package/dist/helpers/utils.js.map +1 -1
- package/dist/hooks/init/check-node-version.d.ts +6 -0
- package/dist/hooks/init/check-node-version.js +34 -0
- package/dist/hooks/init/check-node-version.js.map +1 -0
- package/dist/resources/runtime-dependencies.json +5 -1
- package/dist/resources/schemas/runtime-dependencies-schema.json +21 -0
- package/dist/types/agent-network-v2.d.ts +20 -1
- package/dist/types/agent-network-v2.js.map +1 -1
- package/dist/types/types.d.ts +5 -0
- package/dist/utils/agent-fabric-commands.d.ts +24 -0
- package/dist/utils/agent-fabric-commands.js +39 -0
- package/dist/utils/agent-fabric-commands.js.map +1 -0
- package/dist/utils/builders/policies-factory.d.ts +1 -1
- package/dist/utils/builders/policies-factory.js +32 -1
- package/dist/utils/builders/policies-factory.js.map +1 -1
- package/dist/utils/builders/project-builder-impl.d.ts +12 -0
- package/dist/utils/builders/project-builder-impl.js +23 -3
- package/dist/utils/builders/project-builder-impl.js.map +1 -1
- package/dist/utils/builders/project-builder.d.ts +10 -2
- package/dist/utils/builders/project-builder.js +2 -1
- package/dist/utils/builders/project-builder.js.map +1 -1
- package/dist/utils/builders/space-serializer.d.ts +2 -0
- package/dist/utils/builders/space-serializer.js +12 -2
- package/dist/utils/builders/space-serializer.js.map +1 -1
- package/dist/utils/builders/v1/broker-builder.d.ts +1 -0
- package/dist/utils/builders/v1/broker-builder.js +43 -8
- package/dist/utils/builders/v1/broker-builder.js.map +1 -1
- package/dist/utils/builders/v1/network-builder.js +12 -2
- package/dist/utils/builders/v1/network-builder.js.map +1 -1
- package/dist/utils/builders/v2/connection-interfaces.d.ts +5 -0
- package/dist/utils/builders/v2/connection-interfaces.js +68 -0
- package/dist/utils/builders/v2/connection-interfaces.js.map +1 -0
- package/dist/utils/builders/v2/connections-builder.js +30 -4
- package/dist/utils/builders/v2/connections-builder.js.map +1 -1
- package/dist/utils/builders/v2/network-builder.js +8 -1
- package/dist/utils/builders/v2/network-builder.js.map +1 -1
- package/dist/utils/constants.d.ts +7 -0
- package/dist/utils/constants.js +9 -2
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/facets/agent-graph-facet.js +3 -2
- package/dist/utils/facets/agent-graph-facet.js.map +1 -1
- package/dist/utils/facets/api-instance-facet.js +3 -5
- package/dist/utils/facets/api-instance-facet.js.map +1 -1
- package/dist/utils/facets/asset-facet.d.ts +1 -0
- package/dist/utils/facets/asset-facet.js +41 -15
- package/dist/utils/facets/asset-facet.js.map +1 -1
- package/dist/utils/facets/connection-facet.js +4 -6
- package/dist/utils/facets/connection-facet.js.map +1 -1
- package/dist/utils/facets/deployment-helpers.d.ts +1 -1
- package/dist/utils/facets/deployment-helpers.js +3 -2
- package/dist/utils/facets/deployment-helpers.js.map +1 -1
- package/dist/utils/facets/deployment-runner.js +84 -5
- package/dist/utils/facets/deployment-runner.js.map +1 -1
- package/dist/utils/facets/facets.d.ts +5 -0
- package/dist/utils/facets/facets.js +49 -11
- package/dist/utils/facets/facets.js.map +1 -1
- package/dist/utils/facets/mule-application-facet.js +1 -1
- package/dist/utils/facets/mule-application-facet.js.map +1 -1
- package/dist/utils/facets/publication-metadata-patcher.d.ts +7 -1
- package/dist/utils/facets/publication-metadata-patcher.js +32 -17
- package/dist/utils/facets/publication-metadata-patcher.js.map +1 -1
- package/dist/utils/facets/secret-manager-client.d.ts +13 -0
- package/dist/utils/facets/secret-manager-client.js +106 -1
- package/dist/utils/facets/secret-manager-client.js.map +1 -1
- package/dist/utils/facets/secret-ref-validator.d.ts +11 -0
- package/dist/utils/facets/secret-ref-validator.js +80 -0
- package/dist/utils/facets/secret-ref-validator.js.map +1 -0
- package/dist/utils/facets/secret-tls-validator.d.ts +2 -1
- package/dist/utils/facets/secret-tls-validator.js +2 -3
- package/dist/utils/facets/secret-tls-validator.js.map +1 -1
- package/dist/utils/gateway.d.ts +3 -0
- package/dist/utils/gateway.js +69 -0
- package/dist/utils/gateway.js.map +1 -1
- package/dist/utils/logger.js +1 -1
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/maven-proxy.d.ts +10 -0
- package/dist/utils/maven-proxy.js +118 -0
- package/dist/utils/maven-proxy.js.map +1 -0
- package/dist/utils/registry/registry-errors.d.ts +4 -0
- package/dist/utils/registry/registry-errors.js +36 -0
- package/dist/utils/registry/registry-errors.js.map +1 -0
- package/dist/utils/registry/registry-response.d.ts +46 -0
- package/dist/utils/registry/registry-response.js +264 -0
- package/dist/utils/registry/registry-response.js.map +1 -0
- package/dist/utils/request-executor.d.ts +9 -1
- package/dist/utils/request-executor.js +6 -3
- package/dist/utils/request-executor.js.map +1 -1
- package/dist/utils/run-local/build-status.js +2 -0
- package/dist/utils/run-local/build-status.js.map +1 -1
- package/dist/utils/run-local/runtime-environment-manager.d.ts +21 -0
- package/dist/utils/run-local/runtime-environment-manager.js +228 -2
- package/dist/utils/run-local/runtime-environment-manager.js.map +1 -1
- package/dist/utils/sanitize.d.ts +2 -0
- package/dist/utils/sanitize.js +31 -0
- package/dist/utils/sanitize.js.map +1 -1
- package/dist/utils/variables.d.ts +23 -6
- package/dist/utils/variables.js +75 -15
- package/dist/utils/variables.js.map +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -23,10 +23,11 @@ Create a new broker in an existing agent network project
|
|
|
23
23
|
|
|
24
24
|
```
|
|
25
25
|
USAGE
|
|
26
|
-
$ anypoint-cli-agent-fabric-plugin agent-network project broker create -n <value> [--path <value>]
|
|
26
|
+
$ anypoint-cli-agent-fabric-plugin agent-network project broker create -n <value> [--debug] [--path <value>]
|
|
27
27
|
|
|
28
28
|
FLAGS
|
|
29
29
|
-n, --name=<value> (required) Name of the broker
|
|
30
|
+
--debug Enable debug logging (equivalent to ANYPOINT_LOG_LEVEL=DEBUG).
|
|
30
31
|
--path=<value> [default: .] Path to the project directory (where exchange.json lives)
|
|
31
32
|
|
|
32
33
|
DESCRIPTION
|
|
@@ -48,18 +49,21 @@ Build the current project using the Maven wrapper (mvnw or mvnw.cmd)
|
|
|
48
49
|
USAGE
|
|
49
50
|
$ anypoint-cli-agent-fabric-plugin agent-network project build [--password <value> [--username <value> | --client_id <value> |
|
|
50
51
|
]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment <value>] [--host
|
|
51
|
-
<value>] [--collectMetrics] [--path <value>] [--
|
|
52
|
+
<value>] [--collectMetrics] [--debug] [--path <value>] [--forceUpdate] [--maven-proxy]
|
|
52
53
|
|
|
53
54
|
FLAGS
|
|
54
55
|
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
|
|
55
56
|
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
|
|
56
57
|
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
|
|
57
58
|
--[no-]collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
|
|
58
|
-
--debug Enable debug mode
|
|
59
|
+
--debug Enable debug mode. Sets the log level to DEBUG (equivalent to ANYPOINT_LOG_LEVEL=DEBUG)
|
|
60
|
+
and enables Maven -X.
|
|
59
61
|
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
|
|
60
62
|
--forceUpdate Force update the dependencies
|
|
61
63
|
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
|
|
62
64
|
environment variable.
|
|
65
|
+
--[no-]maven-proxy Generate Maven proxy settings from HTTPS_PROXY and NO_PROXY for schema 1.0.0 builds. Use
|
|
66
|
+
--no-maven-proxy to disable.
|
|
63
67
|
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
|
|
64
68
|
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
|
|
65
69
|
--path=<value> [default: .] The path to the project.
|
|
@@ -79,9 +83,9 @@ Create a new project in the current directory
|
|
|
79
83
|
```
|
|
80
84
|
USAGE
|
|
81
85
|
$ anypoint-cli-agent-fabric-plugin agent-network project create -n <value> [--password <value> [--username <value> | --client_id
|
|
82
|
-
<value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--
|
|
83
|
-
[--
|
|
84
|
-
|
|
86
|
+
<value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--host <value>]
|
|
87
|
+
[--collectMetrics] [-o <value>] [--group-id <value>] [--asset-id <value>] [--asset-version <value>] [--api-version
|
|
88
|
+
<value>] [--tab-size <value>] [--create-dir] [--empty-project]
|
|
85
89
|
|
|
86
90
|
FLAGS
|
|
87
91
|
-n, --name=<value> (required) Name of the project
|
|
@@ -94,9 +98,9 @@ FLAGS
|
|
|
94
98
|
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
|
|
95
99
|
--[no-]collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
|
|
96
100
|
--[no-]create-dir Create new directory at output-dir for the new project using project's name
|
|
101
|
+
--debug Enable debug logging (equivalent to ANYPOINT_LOG_LEVEL=DEBUG).
|
|
97
102
|
--empty-project Scaffold a minimal project with no example content: only exchange.json and a bare
|
|
98
103
|
agent-network.yaml, with no brokers directory
|
|
99
|
-
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
|
|
100
104
|
--group-id=<value> Group Id (GAV)
|
|
101
105
|
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
|
|
102
106
|
environment variable.
|
|
@@ -120,10 +124,10 @@ Deploys the Agent Network application
|
|
|
120
124
|
USAGE
|
|
121
125
|
$ anypoint-cli-agent-fabric-plugin agent-network project deploy [--password <value> [--username <value> | --client_id <value> |
|
|
122
126
|
]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment <value>] [--host
|
|
123
|
-
<value>] [--collectMetrics] [-g <value>] [-i <value>] [-e <value>] [-t <value>]
|
|
124
|
-
[--disable-tracing] [--property <value>] [--deployment-properties-file <value>]
|
|
125
|
-
[--
|
|
126
|
-
[--disable-autopublish] [--json]
|
|
127
|
+
<value>] [--collectMetrics] [--debug] [-g <value>] [-i <value>] [-e <value>] [-t <value>]
|
|
128
|
+
[--dont-wait-for-agent-network] [--disable-tracing] [--property <value>] [--deployment-properties-file <value>]
|
|
129
|
+
[--deployment-property <value>] [--path <value>] [--max-retries <value>] [--request-timeout <value>]
|
|
130
|
+
[--process-timeout <value>] [--disable-autopublish] [--json]
|
|
127
131
|
|
|
128
132
|
FLAGS
|
|
129
133
|
-e, --egress-gw=<value> Name of the target egress gw (separate-gateways mode; requires --ingress-gw).
|
|
@@ -144,12 +148,14 @@ FLAGS
|
|
|
144
148
|
variable.
|
|
145
149
|
--[no-]collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment
|
|
146
150
|
variable.
|
|
151
|
+
--debug Enable debug logging (equivalent to ANYPOINT_LOG_LEVEL=DEBUG).
|
|
147
152
|
--deployment-properties-file=<value> Path to a YAML file of typed deployment settings, keyed by scope (e.g. a
|
|
148
153
|
top-level "brokers:" mapping vCores, replicas, resources.*, logging.level,
|
|
149
154
|
runtimeVersion). Mutually exclusive with --deployment-property.
|
|
150
155
|
--deployment-property=<value>... [default: ] Typed deployment setting in format <scope>:<name>:<value> (e.g.,
|
|
151
156
|
--deployment-property brokers:vCores:0.1). Repeatable. Mutually exclusive with
|
|
152
|
-
--deployment-properties-file.
|
|
157
|
+
--deployment-properties-file. brokers:replicas other than 1 is rejected on
|
|
158
|
+
Runtime Fabric.
|
|
153
159
|
--disable-autopublish Disable automatic publishing when lock file is not found.
|
|
154
160
|
--disable-tracing Disable tracing functionalities
|
|
155
161
|
--dont-wait-for-agent-network Do not wait for the Agent Network to be ready
|
|
@@ -182,6 +188,8 @@ EXAMPLES
|
|
|
182
188
|
$ agent-network project deploy --path ./my-project --property myAgent.url:https://api.example.com
|
|
183
189
|
|
|
184
190
|
$ agent-network project deploy --deployment-property brokers:replicas:3
|
|
191
|
+
|
|
192
|
+
$ agent-network project deploy --deployment-property brokers:resources.cpu.reserved:50m
|
|
185
193
|
```
|
|
186
194
|
|
|
187
195
|
Replica count defaults to `1`. Set `--deployment-property brokers:replicas:3`, or use
|
|
@@ -193,10 +201,11 @@ brokers:
|
|
|
193
201
|
```
|
|
194
202
|
|
|
195
203
|
`replicas` must be an integer of at least `1`; quoted YAML strings are rejected.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
not
|
|
204
|
+
On CloudHub 2.0 and private space it maps to `target.replicas` for Agent Graph and
|
|
205
|
+
Mule runtime applications, for both new deployments and redeployments. Runtime Fabric
|
|
206
|
+
always sends `1`, and an explicit replica count other than `1` is rejected. It does
|
|
207
|
+
not scale gateway infrastructure. Target capacity and platform quotas still apply;
|
|
208
|
+
deployment readiness polling does not guarantee that every requested replica is running.
|
|
200
209
|
|
|
201
210
|
|
|
202
211
|
## `anypoint-cli-agent-fabric-plugin agent-network project publish`
|
|
@@ -207,14 +216,15 @@ Publish current Agent Network project to Anypoint Platform
|
|
|
207
216
|
USAGE
|
|
208
217
|
$ anypoint-cli-agent-fabric-plugin agent-network project publish [--password <value> [--username <value> | --client_id <value> |
|
|
209
218
|
]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment <value>] [--host
|
|
210
|
-
<value>] [--collectMetrics] [--json] [--path <value>]
|
|
219
|
+
<value>] [--collectMetrics] [--debug] [--json] [--path <value>]
|
|
211
220
|
|
|
212
221
|
FLAGS
|
|
213
222
|
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
|
|
214
223
|
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
|
|
215
224
|
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
|
|
216
225
|
--[no-]collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
|
|
217
|
-
--debug Enable debug mode
|
|
226
|
+
--debug Enable debug mode. Sets the log level to DEBUG (equivalent to ANYPOINT_LOG_LEVEL=DEBUG)
|
|
227
|
+
and prints the Exchange publish response.
|
|
218
228
|
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
|
|
219
229
|
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
|
|
220
230
|
environment variable.
|
|
@@ -241,8 +251,8 @@ Undeploys the Agent Network application, removing all deployed resources
|
|
|
241
251
|
USAGE
|
|
242
252
|
$ anypoint-cli-agent-fabric-plugin agent-network project undeploy [--password <value> [--username <value> | --client_id <value> |
|
|
243
253
|
]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment <value>] [--host
|
|
244
|
-
<value>] [--collectMetrics] [--path <value> | --gav <value>] [--api-version <value>] [--request-timeout
|
|
245
|
-
[--process-timeout <value>] [--dry-run | ] [--json]
|
|
254
|
+
<value>] [--collectMetrics] [--debug] [--path <value> | --gav <value>] [--api-version <value>] [--request-timeout
|
|
255
|
+
<value>] [--process-timeout <value>] [--dry-run | ] [--json]
|
|
246
256
|
|
|
247
257
|
FLAGS
|
|
248
258
|
--api-version=<value> [default: v1] Api Version used to discover remotely deployed resources when using --gav.
|
|
@@ -250,6 +260,7 @@ FLAGS
|
|
|
250
260
|
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
|
|
251
261
|
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
|
|
252
262
|
--[no-]collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
|
|
263
|
+
--debug Enable debug logging (equivalent to ANYPOINT_LOG_LEVEL=DEBUG).
|
|
253
264
|
--dry-run Preview the deploy-plane resources that would be undeployed without deleting anything.
|
|
254
265
|
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
|
|
255
266
|
--gav=<value> Parent asset GAV (groupId:assetId:version). Discovers deployed resources remotely.
|
|
@@ -288,8 +299,8 @@ Removes the Agent Network assets from Anypoint Exchange. By default performs a s
|
|
|
288
299
|
USAGE
|
|
289
300
|
$ anypoint-cli-agent-fabric-plugin agent-network project unpublish [--password <value> [--username <value> | --client_id <value> |
|
|
290
301
|
]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment <value>] [--host
|
|
291
|
-
<value>] [--collectMetrics] [--path <value> | --gav <value>] [--api-version <value>] [--hard-delete]
|
|
292
|
-
[--json]
|
|
302
|
+
<value>] [--collectMetrics] [--debug] [--path <value> | --gav <value>] [--api-version <value>] [--hard-delete]
|
|
303
|
+
[--dry-run | ] [--json]
|
|
293
304
|
|
|
294
305
|
FLAGS
|
|
295
306
|
--api-version=<value> [default: v1] Api Version used to discover remotely published assets when using --gav.
|
|
@@ -297,6 +308,7 @@ FLAGS
|
|
|
297
308
|
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
|
|
298
309
|
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
|
|
299
310
|
--[no-]collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
|
|
311
|
+
--debug Enable debug logging (equivalent to ANYPOINT_LOG_LEVEL=DEBUG).
|
|
300
312
|
--dry-run Preview the Exchange assets that would be unpublished without deleting anything.
|
|
301
313
|
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
|
|
302
314
|
--gav=<value> Parent asset GAV (groupId:assetId:version). Discovers assets remotely. Use --environment
|
|
@@ -342,8 +354,8 @@ Set up the Agent Network environment with the required gateways.
|
|
|
342
354
|
USAGE
|
|
343
355
|
$ anypoint-cli-agent-fabric-plugin agent-network setup gateways [--password <value> [--username <value> | --client_id <value> |
|
|
344
356
|
]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment <value>] [--host
|
|
345
|
-
<value>] [--collectMetrics] [-t <value>] [-g <value>] [-i <value>] [-e <value>]
|
|
346
|
-
[--update]
|
|
357
|
+
<value>] [--collectMetrics] [--debug] [-t <value>] [-g <value>] [-i <value>] [-e <value>]
|
|
358
|
+
[--dont-wait-for-gateways-running] [--update]
|
|
347
359
|
|
|
348
360
|
FLAGS
|
|
349
361
|
-e, --egress-gw=<value> Name of the egress gw (separate-gateway mode; requires --ingress-gw)
|
|
@@ -357,6 +369,7 @@ FLAGS
|
|
|
357
369
|
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment
|
|
358
370
|
variable.
|
|
359
371
|
--[no-]collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
|
|
372
|
+
--debug Enable debug logging (equivalent to ANYPOINT_LOG_LEVEL=DEBUG).
|
|
360
373
|
--dont-wait-for-gateways-running Do not wait for the Gateways to be running
|
|
361
374
|
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
|
|
362
375
|
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
|
|
@@ -373,7 +386,7 @@ DESCRIPTION
|
|
|
373
386
|
|
|
374
387
|
## `anypoint-cli-agent-fabric-plugin conf [KEY] [VALUE]`
|
|
375
388
|
|
|
376
|
-
Manage authentication credentials in a configuration file (config.json)
|
|
389
|
+
Manage authentication credentials in a configuration file (config.json)
|
|
377
390
|
|
|
378
391
|
```
|
|
379
392
|
USAGE
|
|
@@ -480,7 +493,7 @@ Hitting an error? See [TROUBLESHOOTING.md](TROUBLESHOOTING.md) for a reference o
|
|
|
480
493
|
|
|
481
494
|
### Prerequisites
|
|
482
495
|
|
|
483
|
-
- Node.js >=
|
|
496
|
+
- Node.js >= 22.23.4 (22.x), >= 24.22.1 (24.x), or >= 26.12.1
|
|
484
497
|
- npm
|
|
485
498
|
|
|
486
499
|
### Setup
|
package/TROUBLESHOOTING.md
CHANGED
|
@@ -40,6 +40,20 @@ Use the fields as follows:
|
|
|
40
40
|
|
|
41
41
|
Some errors are **pass-through errors**: the top-level `errorMessage` is generic, and the specific cause is nested in the `cause` field. For those (for example codes `2010`, `3030`, `9001`), read the `cause` block and then consult Part B for the underlying service failure.
|
|
42
42
|
|
|
43
|
+
### Using an internal Nexus mirror
|
|
44
|
+
|
|
45
|
+
Set `ANYPOINT_AGENT_FABRIC_REPOSITORY_URL` to the base URL of your mirror before running `agent-network project build`:
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
export ANYPOINT_AGENT_FABRIC_REPOSITORY_URL=https://nexus.example.com/repository
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
- The URL is the parent of a repository named `releases`, not the repository itself. The plugin requests `<url>/releases/com/mulesoft/agents/agent-fabric-transformation/<version>/agent-fabric-transformation-<version>.jar`. If your proxy repository has a different name (for example `maven-proxy`), expose it under the name `releases` below that base (a repository or a group), otherwise the download fails with error 6001.
|
|
52
|
+
- The URL must be `https://` (error 6007 otherwise). Redirects to `http://` are refused.
|
|
53
|
+
- The downloaded `agent-fabric-transformation` JAR must match the SHA-256 shipped with the plugin (error 6009 otherwise), so the mirror has to serve the exact published artifact.
|
|
54
|
+
- A response that is not a JAR, typically an HTML login or block page from a proxy, fails with error 6008.
|
|
55
|
+
- When the plugin is upgraded to a release that pins a different JAR version, the next `build` downloads it once and refreshes the cache.
|
|
56
|
+
|
|
43
57
|
---
|
|
44
58
|
|
|
45
59
|
## Part A — CLI error-code reference
|
|
@@ -73,7 +87,7 @@ Error codes are grouped into bands by area:
|
|
|
73
87
|
| 1002 | `invalidAgentNetworkProject` | The project failed validation. | Check the validation output printed above the error; fix the reported issue and rebuild. |
|
|
74
88
|
| 1003 | `buildAssetsError` | An asset failed to build. | Read the nested `cause`; usually a malformed asset file in the assets directory. |
|
|
75
89
|
| 1004 | `variableNotFound` | A `${placeholder}` has no matching variable. | Declare the variable under `metadata.variables` in `exchange.json`. |
|
|
76
|
-
| 1005 | `validatingAgentNetworkError` | Project validation exited with a non-zero status. | Review the validator output for the specific failure. |
|
|
90
|
+
| 1005 | `validatingAgentNetworkError` | Project validation exited with a non-zero status. | Review the validator output for the specific failure. If it doesn't explain the failure, verify `JAVA_HOME` points to a supported JDK. |
|
|
77
91
|
| 1006 | `buildingAgentNetworkError` | The build process exited with a non-zero status. | Check the build logs printed above the error. |
|
|
78
92
|
| 1007 | `wrapperNotFoundError` | The Maven wrapper (`mvnw`/`mvnw.cmd`) is missing. | Ensure the project is a Maven project and the wrapper is present and executable. |
|
|
79
93
|
| 1008 | `buildBrokersAppError` | The Brokers App failed to build. | Check the logs; usually an AgentScript compile error. |
|
|
@@ -112,6 +126,16 @@ Error codes are grouped into bands by area:
|
|
|
112
126
|
| 1036 | `variableKeyCollision` | Two `metadata.variables` entries in `exchange.json` flatten to the same dotted key (e.g. `"a.b"` and nested `a` → `b`). | Rename one entry, or use nested objects consistently. |
|
|
113
127
|
| 1037 | `variableNameContainsColon` | A `metadata.variables` key or category in `exchange.json` contains a `:`, which is a restricted character and is not allowed. | Remove the `:` from the reported key or category (the message shows its full path). |
|
|
114
128
|
| 1038 | `unsupportedAuthenticationKind` | A connection (or `card.authentication`) declares an authentication `kind` the CLI does not recognize. | Use a supported kind (`basic`, `apiKey`, `apikey-client-credentials`, `oauth2-client-credentials`, `oauth2-obo` with flow `oauth2-token-exchange` or `microsoft-entra-obo`, `in-task-authorization-code`). Fix the YAML and rebuild. |
|
|
129
|
+
| 1042 | `a2aInterfacesNotSupportedForV03` | `interfaces` was declared on a connection to an A2A v0.3 agent. | Remove `interfaces` from the A2A v0.3 connection, or point the connection at an A2A v1 agent. |
|
|
130
|
+
| 1043 | `invalidA2aInterfaceBasePath` | An `interfaces.*.basePath` failed validation. | Ensure each `interfaces.*.basePath` is an absolute path starting with `/` (root and trailing `/` are allowed) with no `..` segments (including percent-encoded forms), mid-path empty segments (`//`), or URL schemes. |
|
|
131
|
+
| 1044 | `invalidA2aInterfaceProtocol` | An `interfaces` binding key is not one of the supported protocols. | Use only `jsonrpc`, `http`, or `grpc` as binding keys under `interfaces`. |
|
|
132
|
+
| 1045 | `invalidA2aInterfacesShape` | `interfaces`, an `interfaces` binding, or a card policy's `interfacePaths` is present but not a plain object. | Use a plain object: `interfaces` keyed by `jsonrpc`, `http`, or `grpc`, each binding `{ basePath }`, and `interfacePaths` a map of path strings. |
|
|
133
|
+
| 1046 | `javaHomeNotSet` | `JAVA_HOME` isn't set; schema 1.0.0 builds need a JDK to generate the brokers application. | Set `JAVA_HOME` to the installation directory of a supported JDK. |
|
|
134
|
+
| 1047 | `javaExecutableError` | The `java` executable under `JAVA_HOME` couldn't be launched (missing or not executable). | Point `JAVA_HOME` at a valid JDK installation (it must contain `bin/java`, or `bin\java.exe` on Windows). |
|
|
135
|
+
| 1048 | `invalidSecretRefDeclaration` | A `secretRef` variable is missing `group` or `name`, or is combined with `default`, `secret`, or `optional: true`. | Declare `secretRef` as `{ group, name }` and remove `default`, `secret`, and `optional`. |
|
|
136
|
+
| 1049 | `secretRefNotWholeSensitiveField` | Shared secret '<name>' at '<location>' is not allowed. A shared secret is only valid as the entire value of a sensitive policy configuration field. | The placeholder is outside policy configuration. Move it onto a field marked `security:sensitive` (or legacy `sensitive: true`). Placement outside policy configuration is a build error. |
|
|
137
|
+
| 1049 ⚠ | `secretRefNotEntireFieldValue` | Shared secret '<name>' at '<location>' is not allowed. A shared secret can only be used as the entire value of the field and cannot be prefixed or suffixed. | Same code as 1049. The placeholder is embedded in a larger string, such as `prefix-${var.name}` or `${var.name}-suffix`. Use `${var.name}` alone. |
|
|
138
|
+
| 1049 ⚠ | `secretRefFieldNotSensitive` | Shared secret '<name>' at '<location>' is not allowed. A shared secret is not supported on this policy configuration field because the field does not accept a sensitive value. | Same code as 1049. The placeholder is the entire value, but the policy schema does not mark that field sensitive (`security:sensitive` or legacy `sensitive: true`). Move it to a sensitive field. A field reached only through `patternProperties` is not treated as sensitive. |
|
|
115
139
|
|
|
116
140
|
> **⚠ Code collision (1020–1024) — known defect.** Codes 1020 through 1024 are each currently assigned to **two** different errors: a broker-interface error and an MCP-introspection error. The `errorMessage` text disambiguates which one you hit (broker interface vs. `server.json`/MCP YAML). This is a defect that will be fixed by renumbering the MCP block; until then, match on the message, not the number alone.
|
|
117
141
|
|
|
@@ -129,6 +153,10 @@ Error codes are grouped into bands by area:
|
|
|
129
153
|
| 2010 | `unpublishError` | Reports a failure that occurred during the unpublish stage. | Read the nested `cause` for the specific reason; see [Exchange](#exchange) — note the known 403 issue. |
|
|
130
154
|
| 2011 | `incompatibleTargetVersionPublish` | The `target/` artifact was built with an incompatible CLI version. | Rebuild with the current CLI version, then publish. |
|
|
131
155
|
| 2012 | `projectNotBuiltPublish` | No build artifact was found at publish time. | Run `agent-network project build` first. |
|
|
156
|
+
| 2013 | `publicationAggregateFailure` | One or more components failed during the publication stage; the message lists each underlying failure. | Fix the listed reasons (see the matching specific error code), then publish again. |
|
|
157
|
+
| 2014 | `unrecognizedComponentKindForPublicationOrder` | A component's kind is not recognized, so its publication order cannot be determined. | Rebuild the project with the current CLI version; if it persists, file a ticket. |
|
|
158
|
+
| 2015 | `metadataPatchParseFailed` | A serialized metadata file could not be parsed when patching versions, so publish aborted. | Rebuild with `agent-network project build`, then publish again. |
|
|
159
|
+
| 2016 | `registryPublishError` | The Registry API reported a failed `specification` step while publishing an asset, or failed the request with a failed aspect. The message names the aspect, step, system and reason, lists aspects that were not attempted, and ends with `(requestId: …)` when the service returned a request id. A `specification` status of `ERROR`, `ROLLED_BACK` or `PARTIAL` counts as failed (this set is not part of the service contract), and so does a `FAILED` status that is padded, decorated with control or zero-width characters or differs only in case. A rejected (non-2xx) response that lists failed steps is also reported as 2016, including side-aspect failures, and the message states the HTTP status. A step with a missing, blank or whitespace-only status that carries an `error` also counts as failed. A list is read as the latest projection when any element has a string `aspect` and either a `steps` array or no `stepName`; an aspect that omits `steps` is treated as having none and is named as `<aspect>: <missing steps>` in the unrecognized-statuses text, so a failed `specification` in such a body is still reported. It is also raised when a successful response lists aspects but returns no published version, except for unchanged re-publishes; that message also lists any failed side aspects from the response. Failed side aspects on a successful publish only log a warning. | Fix the reason shown for the named aspect/step, then publish again. If it is not actionable, file a ticket with the `requestId` from the error. |
|
|
132
160
|
|
|
133
161
|
### Deploy errors (3000–3999)
|
|
134
162
|
|
|
@@ -178,6 +206,11 @@ Error codes are grouped into bands by area:
|
|
|
178
206
|
| 3052 | `deploymentSettingsInvalid` | Deployment settings failed semantic validation. | Fix the reported setting. |
|
|
179
207
|
| 3053 | `runtimeVersionNotFound` | The requested runtime version isn't available. | Use one of the available versions listed in the message. |
|
|
180
208
|
| 3054 | `mixedRuntimeTypesInDeploy` | The deploy set mixes Mule apps and Agent Graphs. | Split into separate deploys. |
|
|
209
|
+
| 3055 | `deploymentAggregateFailure` | One or more deployment-stage facets failed; the message summarizes the stage. | Fix the failures listed in the command output and redeploy. |
|
|
210
|
+
| 3056 | `runtimeVersionNotResolved` | A runtime version was required but not resolved before deployment. | *Internal* — rebuild and retry; if it persists, open a support case with the `requestId`. |
|
|
211
|
+
| 3057 | `undeployEnvironmentIdRequired` | `--gav` undeploy was invoked without an environment ID. | Pass `--environment` (or ensure the session has an environment selected). |
|
|
212
|
+
| 3058 | `undeployEnvironmentRequired` | Undeploy ran with no selected environment. | Use `--environment` to specify one. |
|
|
213
|
+
| 3059 | `publicationBeforeDeploymentFailed` | Automatic publish-before-deploy failed, so deploy was aborted. | Fix the publication error in the nested cause, then redeploy. |
|
|
181
214
|
| 3060 | `llmAuthenticationKindNotSupported` | An LLM connection's authentication kind isn't declared by the referenced llm-metadata. | Use one of the supported kinds listed in the message, or publish an LLM asset that declares the kind. The legacy path (no `inputFormat`) accepts only `apiKey`. |
|
|
182
215
|
| 3061 | `llmAssetRequiresV2` | A V1 Agent Network references an LLM asset that declares `inputFormat` (V2-only). | Migrate the project to schema 2.0.0, or reference an LLM asset without `inputFormat`. |
|
|
183
216
|
| 3062 | `llmInputFormatRequiresAuthentication` | An LLM asset declares `inputFormat` but no non-empty `authentication`. | Add `authentication` to the LLM metadata (use `[{kind: 'none'}]` for no auth) and republish. |
|
|
@@ -187,6 +220,16 @@ Error codes are grouped into bands by area:
|
|
|
187
220
|
| 3066 | `llmAdapterPolicyLookupFailed` | Resolving the LLM asset's adapter policy failed (not a 404, for example a 5xx). | Retry; if it persists, check Exchange availability and your access to the policy. |
|
|
188
221
|
| 3067 | `cardAuthenticationUpstreamsError` | Configuring dual egress upstreams (`agent` / `card`) for agent-card authentication failed in API Manager (create PATCH, update PATCH, or upstreams GET). | Confirm Flex Gateway ≥ **1.5.0**, that the connection is `a2a`/`a2a_v1`, and that outbound policies are enabled for the environment (`OUTBOUND_POLICIES_GCL_ENABLED`). An older CLI cannot update a connection that already has two upstreams, because it still PATCHes `endpoint.uri`, which API Manager rejects (ADR 0005 finding 7). Read the nested `cause`; see [API Manager](#api-manager). See ADR 0005. |
|
|
189
222
|
| 3068 | `outboundPolicyUpstreamLabelNotFound` | An outbound policy was bound to a labelled upstream (`agent` or `card`) that API Manager did not return. | Redeploy so upstreams and routing match the desired set; if it persists, the PATCH response may be missing a label — open a support case with the `requestId`. |
|
|
223
|
+
| 3069 | `secretRefGroupNotFound` | The secret group referenced by a shared secret (`secretRef` variable) does not exist in the target environment. | Create the group in that environment, or fix the `secretRef.group` name. A missing name is an empty list match, not an HTTP 404. |
|
|
224
|
+
| 3070 | `sharedSecretNotFound` | The shared secret name does not exist in the resolved secret group. | Add a Blob secret with that name, or fix `secretRef.name`. |
|
|
225
|
+
| 3071 | `secretRefNotEligible` | The secret group is not downloadable, or the shared secret is not type Blob. | Use a downloadable group and a Blob secret. Username-password, symmetric-key, and S3 secrets are not eligible. |
|
|
226
|
+
| 3072 | `secretRefValidationFailed` | Shared secret validation failed before deploy. The message lists every failure. | Fix each listed group, secret, eligibility, or non-UUID id problem and deploy again. Nothing is published until this passes. |
|
|
227
|
+
| 3072 ⚠ | `duplicateSecretGroup` | More than one secret group is named for the variable. | Same code as 3072. Remove the duplicate group name in the target environment. The pre-publish gate reports this sentence inside the consolidated 3072. |
|
|
228
|
+
| 3072 ⚠ | `duplicateSharedSecret` | More than one shared secret is named in the group for the variable. | Same code as 3072. Remove the duplicate secret name in that group. The pre-publish gate reports this sentence inside the consolidated 3072. |
|
|
229
|
+
| 3072 ⚠ | `secretRefIdNotUuid` | A resolved secret-group or shared-secret id is not a UUID. | Same code as 3072. The secret manager returned an id the CLI cannot turn into a Blob URN. |
|
|
230
|
+
| 3073 | `sharedSecretsCallFailed` | The Secret Manager call failed while resolving shared secrets, or the response was not an array. | Retry the deploy. If it persists, confirm the session can read Secret Manager in the target environment. |
|
|
231
|
+
| 3074 | `secretRefPropertyNotAllowed` | `--property` was passed for a shared secret (`secretRef` variable) on platform deploy. | Remove that `--property`. Platform deploy resolves it from Secret Manager. Local deploy accepts `--property` for the same variable. |
|
|
232
|
+
| 3075 | `gatewayNotDeployable` | The Flex gateway cannot serve a deployment. Deploy proceeds only for UI status `RUNNING`, `UPDATING`, or `OUTDATED`. Apply-state `status` is mapped with `desiredStatus` (`RUNNING` and `STARTED` are the same started state) and the `running` flag. `desiredStatus` `STOPPED` or `DELETED` is rejected even while the spec is applying; the message says `STOPPED` or `DELETED` rather than `UPDATING` or `OUTDATED`. | Start the gateway and redeploy when the status is `STOPPED`, `STOPPING`, or `NOT_RUNNING`. When the status is `STARTING`, wait until the gateway is RUNNING, then redeploy. When the status is `DELETING` or `DELETED`, choose a different gateway. |
|
|
190
233
|
|
|
191
234
|
### Gateway setup errors (4000–4999)
|
|
192
235
|
|
|
@@ -220,12 +263,15 @@ Error codes are grouped into bands by area:
|
|
|
220
263
|
|
|
221
264
|
| Code | Name | What it means | How to fix |
|
|
222
265
|
| --- | --- | --- | --- |
|
|
223
|
-
| 6001 | `downloadFileError` | A dependency download failed. | Check network access; retry. |
|
|
266
|
+
| 6001 | `downloadFileError` | A dependency download failed. The message includes the URL (credentials stripped) and the HTTP status when available. | Check network access and proxy settings; retry. A download that receives no data for 60 seconds is aborted (`no data received for 60s`); `maven-metadata.xml` requests time out after 30 seconds of inactivity. Slow proxies that scan the file first can exceed this: ask your network team to allow the Nexus host without inspection or use an internal mirror. |
|
|
224
267
|
| 6002 | `couldNotFindVersion` | No resolvable version in `maven-metadata.xml`. | Confirm the dependency exists in the repository and that you have network access to it. |
|
|
225
268
|
| 6003 | `invalidStrategyVersion` | A dependency strategy/version config is invalid. | Correct the strategy/version in the descriptor. |
|
|
226
269
|
| 6004 | `invalidMetadataFile` | A dependency metadata file is invalid. | Re-run setup to refresh the cached dependency. |
|
|
227
270
|
| 6005 | `runtimeDependenciesFileNotFound` | The runtime dependency manifest is missing. | Run `agent-network setup dependencies`. |
|
|
228
271
|
| 6006 | `invalidDependencyVersion` | A dependency version isn't valid SemVer. | Use SemVer (for example `2.1.3`). |
|
|
272
|
+
| 6007 | `insecureRepositoryUrl` | The repository URL set with `--nexus-url` or `ANYPOINT_AGENT_FABRIC_REPOSITORY_URL` is not a valid `https://` URL. | Use an `https://` URL. |
|
|
273
|
+
| 6008 | `downloadedFileNotArchive` | The downloaded dependency is not a JAR (usually an HTML page from a proxy, captive portal or mirror). | Verify the repository URL and that your proxy CA is trusted (`NODE_EXTRA_CA_CERTS`); retry. |
|
|
274
|
+
| 6009 | `checksumMismatch` | The downloaded dependency does not match the SHA-256 pinned by this plugin release. The file is discarded. | Verify the mirror serves the unmodified artifact version pinned by the plugin; update the plugin if the mirror is current. |
|
|
229
275
|
|
|
230
276
|
### Create command errors (7000–7999)
|
|
231
277
|
|
|
@@ -400,6 +446,16 @@ Backs organization, entitlement, and credential validation at build/publish/depl
|
|
|
400
446
|
| Retrieve entitlements | non-2xx (code 5001) | Transient, or the organization lacks the entitlement. | Retry; verify the organization is entitled to Agent Fabric. |
|
|
401
447
|
| Credential validation | failure (code 10001) | Expired or invalid credentials. | Re-authenticate. |
|
|
402
448
|
|
|
449
|
+
### Building schema 1.0.0 projects behind a proxy
|
|
450
|
+
|
|
451
|
+
Schema 1.0.0 builds run `./mvnw clean package`. Maven ignores `HTTPS_PROXY`, so when `HTTPS_PROXY` (or `https_proxy`, `HTTP_PROXY`, `http_proxy`) is set, the CLI writes `target/maven-proxy-settings.xml` with the proxy host and port and passes it to Maven as `-gs` (global settings). `NO_PROXY` / `no_proxy` entries become Maven `nonProxyHosts`, so internal mirrors such as Nexus can bypass the proxy; a bare host such as `corp.local` also matches its subdomains, and a leading-dot entry such as `.corp.local` matches both `corp.local` and its subdomains. CIDR ranges (for example `10.0.0.0/8`) are not supported, so list the hosts by name. Only `http://` and `https://` proxy URLs are used; a value without a scheme is treated as `http://`. Maven always connects to the proxy over plain HTTP, so an `https://` proxy URL logs a warning; use an `http://` URL for the proxy. The same proxy is used for HTTP and HTTPS repositories. The file is generated only when the user settings Maven reads (`.mvn/settings.xml` if present, otherwise `~/.m2/settings.xml`) declare no active `<proxy>`; otherwise your proxies and their `nonProxyHosts` are used unchanged and `HTTPS_PROXY` is ignored for Maven. When the file is generated, `-gs` replaces the global `conf/settings.xml` of the Maven installation for that build; the generated file keeps Maven's default `maven-default-http-blocker` mirror so plain-HTTP repositories stay blocked, and a mirror in your own settings still takes precedence. The CLI logs the applied proxy at info level; pass `--no-maven-proxy` to `agent-network project build` to skip generating it. Schema 2.0.0 (AgentScript) builds do not run Maven and are not affected.
|
|
452
|
+
|
|
453
|
+
| Symptom | Likely cause | Fix |
|
|
454
|
+
| --- | --- | --- |
|
|
455
|
+
| Warning that the proxy URL includes credentials | Credentials in `HTTPS_PROXY` are deliberately not forwarded to Maven, so they never appear in arguments, environment or logs. | Declare the proxy with an encrypted password in a `<proxy>` block of `.mvn/settings.xml`. |
|
|
456
|
+
| An internal mirror (for example Nexus) is unreachable after the CLI started applying `HTTPS_PROXY` | `HTTPS_PROXY` is exported globally and the internal host is not covered by `NO_PROXY` (CIDR entries such as `10.0.0.0/8` are not supported), so Maven now sends its traffic through the proxy. | List the internal hosts by name in `NO_PROXY`, or run `agent-network project build --no-maven-proxy`. |
|
|
457
|
+
| Dependencies still fail to resolve behind a proxy | An active `<proxy>` in your own settings disables the generated one, or a `<mirror>` redirects the repositories. | Fix the proxy block in `.mvn/settings.xml` (or `~/.m2/settings.xml` when there is no `.mvn/settings.xml`), or set it inactive so `HTTPS_PROXY` is used. |
|
|
458
|
+
|
|
403
459
|
### Known platform issues vs. plugin issues
|
|
404
460
|
|
|
405
461
|
| Item | Status / code | Classification |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export default class AgentConsole extends
|
|
1
|
+
import { AgentFabricCommand } from '../../../utils/agent-fabric-commands';
|
|
2
|
+
export default class AgentConsole extends AgentFabricCommand {
|
|
3
3
|
static description: string;
|
|
4
4
|
static hidden: boolean;
|
|
5
5
|
static examples: string[];
|
|
@@ -7,6 +7,7 @@ export default class AgentConsole extends Command {
|
|
|
7
7
|
path: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
8
8
|
port: import("@oclif/core/lib/interfaces").OptionFlag<number>;
|
|
9
9
|
'gateway-url': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
10
|
+
debug: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
10
11
|
};
|
|
11
12
|
run(): Promise<void>;
|
|
12
13
|
private static discoverAgents;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const core_1 = require("@oclif/core");
|
|
4
|
+
const agent_fabric_commands_1 = require("../../../utils/agent-fabric-commands");
|
|
4
5
|
const node_http_1 = require("node:http");
|
|
5
6
|
const node_fs_1 = require("node:fs");
|
|
6
7
|
const node_path_1 = require("node:path");
|
|
@@ -19,7 +20,7 @@ function consoleErrorStatus(error) {
|
|
|
19
20
|
}
|
|
20
21
|
return 500;
|
|
21
22
|
}
|
|
22
|
-
class AgentConsole extends
|
|
23
|
+
class AgentConsole extends agent_fabric_commands_1.AgentFabricCommand {
|
|
23
24
|
async run() {
|
|
24
25
|
const { flags } = await this.parse(AgentConsole);
|
|
25
26
|
const cwd = process.cwd();
|
|
@@ -159,6 +160,7 @@ AgentConsole.examples = [
|
|
|
159
160
|
'$ agent-network project agent-console --gateway-url http://localhost:8081',
|
|
160
161
|
];
|
|
161
162
|
AgentConsole.flags = {
|
|
163
|
+
...agent_fabric_commands_1.AgentFabricCommand.flags,
|
|
162
164
|
path: core_1.Flags.file({
|
|
163
165
|
description: 'The path to the project.',
|
|
164
166
|
default: '.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-console.js","sourceRoot":"","sources":["../../../../src/commands/agent-network/project/agent-console.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"ag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
-
import {
|
|
2
|
-
export default class Create extends
|
|
1
|
+
import { AgentFabricCommand } from '../../../../utils/agent-fabric-commands';
|
|
2
|
+
export default class Create extends AgentFabricCommand {
|
|
3
3
|
static description: string;
|
|
4
4
|
static examples: string[];
|
|
5
5
|
static flags: {
|
|
6
6
|
name: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
7
7
|
path: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
8
|
+
debug: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
8
9
|
};
|
|
9
10
|
run(): Promise<void>;
|
|
10
11
|
}
|
|
@@ -8,9 +8,10 @@ const files_1 = require("../../../../utils/files");
|
|
|
8
8
|
const yaml_1 = require("yaml");
|
|
9
9
|
const logger_1 = require("../../../../utils/logger");
|
|
10
10
|
const core_1 = require("@oclif/core");
|
|
11
|
+
const agent_fabric_commands_1 = require("../../../../utils/agent-fabric-commands");
|
|
11
12
|
const path = tslib_1.__importStar(require("node:path"));
|
|
12
13
|
const fs = tslib_1.__importStar(require("fs-extra"));
|
|
13
|
-
class Create extends
|
|
14
|
+
class Create extends agent_fabric_commands_1.AgentFabricCommand {
|
|
14
15
|
async run() {
|
|
15
16
|
const { flags } = await this.parse(Create);
|
|
16
17
|
const brokerName = flags.name;
|
|
@@ -178,6 +179,7 @@ Create.examples = [
|
|
|
178
179
|
'$ agent-network project broker create --name my-broker --path ./my-project',
|
|
179
180
|
];
|
|
180
181
|
Create.flags = {
|
|
182
|
+
...agent_fabric_commands_1.AgentFabricCommand.flags,
|
|
181
183
|
name: core_1.Flags.string({
|
|
182
184
|
char: 'n',
|
|
183
185
|
description: 'Name of the broker',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../src/commands/agent-network/project/broker/create.ts"],"names":[],"mappings":";;;AAAA,qDAAgE;AAChE,oEAA6D;AAC7D,2DAA6F;AAC7F,mDAAoF;AACpF,+BAAkD;AAClD,qDAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../src/commands/agent-network/project/broker/create.ts"],"names":[],"mappings":";;;AAAA,qDAAgE;AAChE,oEAA6D;AAC7D,2DAA6F;AAC7F,mDAAoF;AACpF,+BAAkD;AAClD,qDAA4C;AAC5C,sCAAiC;AACjC,mFAA0E;AAC1E,wDAAiC;AACjC,qDAA8B;AAE9B,MAAqB,MAAO,SAAQ,0CAAkB;IAsBpD,KAAK,CAAC,GAAG;QACP,MAAM,EAAC,KAAK,EAAC,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;QACxC,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,CAAA;QAC7B,MAAM,WAAW,GAAG,KAAK,CAAC,IAAI,IAAI,GAAG,CAAA;QAErC,IAAI,CAAC,UAAU,IAAI,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;YAC5C,MAAM,4BAAY,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAA;QACvD,CAAC;QAED,MAAM,QAAQ,GAAG,IAAA,gCAAuB,EAAC,UAAU,CAAC,CAAA;QAEpD,mCAAmC;QACnC,gHAAgH;QAChH,MAAM,iBAAiB,GAAG,kCAAkC,CAAA;QAC5D,0EAA0E;QAC1E,qEAAqE;QACrE,mEAAmE;QACnE,iEAAiE;QACjE,4CAA4C;QAC5C,MAAM,oBAAoB,GAAG,uBAAuB,CAAA;QACpD,IAAI,CAAC,QAAQ,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,oBAAoB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YACxH,MAAM,4BAAY,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAA;QAChD,CAAC;QAED,IAAI,QAAQ,CAAC,MAAM,GAAG,0CAA8B,EAAE,CAAC;YACrD,MAAM,4BAAY,CAAC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,KAAK,EAAE,CAAC,CAAA;YACrE,IAAI,CAAC;gBACH,IAAA,mBAAW,EAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;gBAC/B,YAAG,CAAC,IAAI,CAAC,+BAA+B,QAAQ,EAAE,CAAC,CAAA;YACrD,CAAC;YAAC,OAAO,aAAa,EAAE,CAAC;gBACvB,YAAG,CAAC,KAAK,CAAC,uBAAuB,QAAQ,KAAK,aAAa,EAAE,CAAC,CAAA;YAChE,CAAC;YAED,MAAM,KAAK,CAAA;QACb,CAAC;QAED,YAAG,CAAC,IAAI,CAAC,YAAY,QAAQ,QAAQ,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC,CAAA;QAEpE,YAAG,CAAC,IAAI,CAAC,IAAI,QAAQ,yBAAyB,CAAC,CAAA;IACjD,CAAC;;AAhNM,kBAAW,GAAG,0DAA0D,CAAA;AAExE,eAAQ,GAAG;IAChB,wDAAwD;IACxD,8DAA8D;IAC9D,4EAA4E;CAC7E,CAAA;AAEM,YAAK,GAAG;IACb,GAAG,0CAAkB,CAAC,KAAK;IAC3B,IAAI,EAAE,YAAK,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,oBAAoB;QACjC,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,IAAI,EAAE,YAAK,CAAC,MAAM,CAAC;QACjB,WAAW,EAAE,2DAA2D;QACxE,OAAO,EAAE,GAAG;KACb,CAAC;CACH,CAAA;kBApBkB,MAAM"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export default class Build extends
|
|
1
|
+
import { AgentFabricAuthenticationCommand } from '../../../utils/agent-fabric-commands';
|
|
2
|
+
export default class Build extends AgentFabricAuthenticationCommand {
|
|
3
3
|
static description: string;
|
|
4
4
|
static examples: string[];
|
|
5
5
|
static flags: {
|
|
6
|
-
path: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
7
6
|
debug: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
7
|
+
path: import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
8
8
|
forceUpdate: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
9
|
+
'maven-proxy': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
9
10
|
'cache-dir': import("@oclif/core/lib/interfaces").OptionFlag<string>;
|
|
10
11
|
"skip-environment": import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
11
12
|
collectMetrics: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
const tslib_1 = require("tslib");
|
|
9
9
|
const core_1 = require("@oclif/core");
|
|
10
|
-
const
|
|
10
|
+
const agent_fabric_commands_1 = require("../../../utils/agent-fabric-commands");
|
|
11
11
|
const node_path_1 = tslib_1.__importStar(require("node:path"));
|
|
12
12
|
const fs = tslib_1.__importStar(require("node:fs"));
|
|
13
13
|
const error_factory_1 = require("../../../errors/error-factory");
|
|
@@ -20,7 +20,7 @@ const uris_1 = require("../../../utils/uris");
|
|
|
20
20
|
const logger_1 = require("../../../utils/logger");
|
|
21
21
|
const constants_1 = require("../../../utils/constants");
|
|
22
22
|
const request_logging_1 = require("../../../helpers/request-logging");
|
|
23
|
-
class Build extends
|
|
23
|
+
class Build extends agent_fabric_commands_1.AgentFabricAuthenticationCommand {
|
|
24
24
|
async run() {
|
|
25
25
|
const { flags } = await this.parse(Build);
|
|
26
26
|
const cwd = process.cwd();
|
|
@@ -52,7 +52,7 @@ class Build extends anypoint_cli_command_lib_1.AuthenticationBaseCommand {
|
|
|
52
52
|
const disposeHttpLogging = (0, request_logging_1.installHttpLogging)(this.req);
|
|
53
53
|
let workspace;
|
|
54
54
|
try {
|
|
55
|
-
workspace = await projectBuilder.build(new project_builder_1.ProjectContext(agentNetworkDescriptor, targetDir, isWindows, basePath, lowerEnv, cacheDir,
|
|
55
|
+
workspace = await projectBuilder.build(new project_builder_1.ProjectContext(agentNetworkDescriptor, targetDir, isWindows, basePath, lowerEnv, cacheDir, logger_1.Log.isDebugEnabled(), flags.forceUpdate, mulesoftOrg, this.req, flags['maven-proxy']));
|
|
56
56
|
}
|
|
57
57
|
finally {
|
|
58
58
|
disposeHttpLogging();
|
|
@@ -66,19 +66,24 @@ Build.examples = [
|
|
|
66
66
|
'$ agent-network project build',
|
|
67
67
|
];
|
|
68
68
|
Build.flags = {
|
|
69
|
-
...
|
|
69
|
+
...agent_fabric_commands_1.AgentFabricAuthenticationCommand.flags,
|
|
70
|
+
debug: core_1.Flags.boolean({
|
|
71
|
+
description: 'Enable debug mode. Sets the log level to DEBUG (equivalent to ANYPOINT_LOG_LEVEL=DEBUG) and enables Maven -X.',
|
|
72
|
+
default: false,
|
|
73
|
+
}),
|
|
70
74
|
path: core_1.Flags.file({
|
|
71
75
|
description: 'The path to the project.',
|
|
72
76
|
default: '.',
|
|
73
77
|
}),
|
|
74
|
-
debug: core_1.Flags.boolean({
|
|
75
|
-
description: 'Enable debug mode',
|
|
76
|
-
default: false,
|
|
77
|
-
}),
|
|
78
78
|
forceUpdate: core_1.Flags.boolean({
|
|
79
79
|
description: 'Force update the dependencies',
|
|
80
80
|
default: false,
|
|
81
81
|
}),
|
|
82
|
+
'maven-proxy': core_1.Flags.boolean({
|
|
83
|
+
description: 'Generate Maven proxy settings from HTTPS_PROXY and NO_PROXY for schema 1.0.0 builds. Use --no-maven-proxy to disable.',
|
|
84
|
+
default: true,
|
|
85
|
+
allowNo: true,
|
|
86
|
+
}),
|
|
82
87
|
'cache-dir': core_1.Flags.string({
|
|
83
88
|
description: 'Specify the directory where the command will find the required downloaded dependencies',
|
|
84
89
|
default: node_path_1.default.join(__dirname, '../../../../jvmLib'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.js","sourceRoot":"","sources":["../../../../src/commands/agent-network/project/build.ts"],"names":[],"mappings":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