You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/_partials/acb-component-info.adoc
+4-14Lines changed: 4 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ For reference documentation on specific connector and component configurations,
52
52
53
53
//
54
54
// tag::note-component-add-config[]
55
-
When adding components, you can start from xref:int-work-with-code-snippets.adoc[code snippets], the canvas, or the configuration XML for your app.
55
+
When adding components, you can start from the canvas or the configuration XML for your app.
56
56
You can configure components from their configuration panels in the canvas or from the XML.
57
57
// end::note-component-add-config[]
58
58
//
@@ -234,21 +234,11 @@ The configuration XML file now includes the XML for the HTTP Listener within the
234
234
235
235
</flow>
236
236
----
237
-
. Add another component, this time using the XML configuration menu.
237
+
. Add another component, this time using the configuration XML.
238
238
+
239
-
For example, add the `<http:listener-config/>`component from a snippet.
239
+
In the configuration XML, place your cursor before the opening `<flow>`tag. Ensure that the cursor is not inside the `<flow/>` element. Add the following code:
240
240
+
241
-
For more information about snippets, see xref:anypoint-code-builder::int-work-with-code-snippets.adoc[].
242
-
+
243
-
.. In the configuration XML, place your cursor before the opening `<flow>` tag, and type `http`.
244
-
+
245
-
Ensure that the cursor is not inside the `<flow/>` element.
246
-
+
247
-
.. Type `http`, and select the `http:listener-config` snippet:
248
-
+
249
-
image::anypoint-code-builder::add-http-config-snippet.png["http:listener-config snippet highlighted in the configuration XML menu"]
250
-
+
251
-
The snippet adds the following code:
241
+
// image::anypoint-code-builder::add-http-config-snippet.png["http:listener-config highlighted in the configuration XML menu"]
Copy file name to clipboardExpand all lines: modules/ROOT/pages/af-project-files.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1145,7 +1145,7 @@ The `ref` element is used in different elements in the agent network YAML, and i
1145
1145
1146
1146
The `ref` element represents another asset that exists in Exchange. The type of asset referenced depends on the context (such as agent, MCP server, LLM provider). The semantic is always that of referencing an asset that exists in Exchange, or will exist when the agent network is published (meaning, it's defined in the file). If referenced, it's in the `dependencies` section of `exchange.json`.
1147
1147
1148
-
This snippet represents a link to an HR agent. The `name` attribute doesn't point to the agent's human friendly or logical name (which can change); instead, it references the `assetId` that `hr-agent` has in Exchange.
1148
+
This example represents a link to an HR agent. The `name` attribute doesn't point to the agent's human friendly or logical name (which can change); instead, it references the `assetId` that `hr-agent` has in Exchange.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/index.adoc
-7Lines changed: 0 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,13 +83,6 @@ A flow reference enables you to trigger execution of a flow or subflow from anot
83
83
[[business-groups]]
84
84
* Business groups organize APIs, Mule applications, and other resources within an Anypoint Platform organization. Organization administrators create and control access to business groups. For details about business groups, organizations, and related management features, see xref:access-management::business-groups.adoc[].
85
85
86
-
[[snippets]]
87
-
== Code Snippets
88
-
89
-
Snippets are code patterns that you can insert from the IDE into the configuration XML files of your Mule applications. Using code snippets for reusable code patterns helps you work more efficiently and reduces the potential for configuration errors.
90
-
91
-
The IDE provides built-in snippets, and you can create your own user snippets. To use and create code snippets, see xref:int-work-with-code-snippets.adoc[].
Copy file name to clipboardExpand all lines: modules/ROOT/pages/int-ai-gen-flow-examples.adoc
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ After reviewing and inserting the generated flow into your project:
71
71
----
72
72
+
73
73
This example flow is configured to poll for new cases every 5000 milliseconds.
74
-
. Use built-in snippets to add configurations for your Salesforce instance and email inbox.
74
+
. Add the required configurations for your Salesforce instance and email inbox in your configuration XML.
75
75
76
76
The following is an example of the completed flow:
77
77
@@ -165,7 +165,7 @@ The `type` attribute is set to `Account` to specify the object type to update.
165
165
166
166
=== Complete the Flow
167
167
168
-
To run this flow, use built-in snippets to add configurations for your Salesforce instance. For more information about built-in snippets, see xref:int-work-with-code-snippets.adoc[].
168
+
To run this flow, add the required configurations for your Salesforce instancein your configuration XML.
169
169
170
170
The following is an example of the completed flow:
171
171
@@ -265,7 +265,7 @@ output application/java
265
265
After reviewing and inserting the generated flow into your project:
266
266
267
267
. Update the name of the database table and fields to match what is configured in your MySQL database.
268
-
. To run this flow, use built-in snippets to add configurations for your Salesforce instance.
268
+
. To run this flow, add the required configurations for your Salesforce instance in your configuration XML.
269
269
270
270
The following is an example of a completed flow:
271
271
@@ -372,7 +372,7 @@ After reviewing and inserting the generated flow into your project:
372
372
. Update the `watermarkColumn` in the Database *Listener* to whichever database column is used to indicate new records.
373
373
+
374
374
The values that are taken from this column are used to filter the contents of the next poll, so that only rows with a greater watermark value are processed.
375
-
. To run this flow, use built-in snippets to add configurations for your database and email inbox.
375
+
. To run this flow, add the required configurations for your database and email inbox in your configuration XML.
376
376
377
377
The following is an example of the completed flow:
378
378
@@ -430,7 +430,6 @@ The following is an example of the completed flow:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/int-create-secure-configs.adoc
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -391,11 +391,9 @@ The POM file includes dependencies for the components in the configuration XML.
391
391
392
392
To use an encrypted value in a Mule application:
393
393
394
-
. Before the `<flow/>` element in the configuration XML, add the Secure Configuration Properties _snippet_ (`<secure-properties:config/>`) by pressing Cmd+Space (Mac) or Ctrl+Space (Windows), typing the initial letters of the element name, such as `secu`, and then selecting the snippet:
394
+
. Before the `<flow/>` element in the configuration XML, add the following Secure Configuration Properties configuration (`<secure-properties:config/>`):
@@ -409,12 +407,10 @@ The XML for an unmodified snippet looks like this before a `<flow/>` element:
409
407
...
410
408
----
411
409
+
412
-
The snippet preconfigures parts of the element that the basic XML configuration does not, so be sure to select the _snippet_ and _not_ the basic XML for this element, which has the same name but a different icon. Like all snippets, this snippet is identified by a two-dimensional box icon, while the basic XML for this element has a three-dimensional box icon.
413
-
+
414
-
When you _first_ add the `<secure-properties:config/>` snippet to the configuration XML, you can tab to the `algorithm` attribute to select another algorithm, or you can change the value manually:
410
+
. Optionally change the `algorithm` attribute to select another algorithm:
415
411
+
416
412
image::int-secure-config-algorithms.png["List of supported algorithms in Secure Configuration Properties module."]
417
-
. Configure the snippet with values for the `file`, `key`, and `algorithm` attributes, for example:
413
+
. Configure the element with values for the `file`, `key`, and `algorithm` attributes, for example:
418
414
+
419
415
[source,xml]
420
416
----
@@ -431,7 +427,7 @@ If you want to use the variable `$\{env}` in your filename configuration, see <<
431
427
* `name`: A name of your choice for the encryption key (defaults to `${encryption.key}`)
432
428
+
433
429
This name serves as the key for the encryption value (password) used to encrypt your secure properties with the Secure Properties Tool.
434
-
* `algorithm`: Algorithm you used to encrypt your secure properties (defaults to Blowfish in the snippet). Other <<algorithms, algorithms>> are available.
430
+
* `algorithm`: Algorithm you used to encrypt your secure properties (defaults to Blowfish in the previous example). Other <<algorithms, algorithms>> are available.
435
431
. In the connector or component XML, add the key of an encrypted property as the value of an XML attribute, for example:
436
432
+
437
433
[source,xml]
@@ -510,7 +506,7 @@ Before you begin:
510
506
511
507
To hide sensitive values from the Runtime Manager UI when you deploy to CloudHub or CloudHub 2.0:
512
508
513
-
. In the `mule-artifact.json` file for your application, provide the _name_ of the encryption key (`encryption.key` by default) that you provided in the global `<secure-properties:config/>` snippet within your configuration XML, for example:
509
+
. In the `mule-artifact.json` file for your application, provide the _name_ of the encryption key (`encryption.key` by default) that you provided in the global `<secure-properties:config/>` element within your configuration XML, for example:
0 commit comments