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
+3-11Lines changed: 3 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,19 +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
-
.. In the configuration XML, place your cursor before the opening `<flow>` tag, and type `http`.
242
-
+
243
-
Ensure that the cursor is not inside the `<flow/>` element.
244
-
+
245
-
.. Type `http`, and select the `http:listener-config` snippet:
246
-
+
247
-
image::anypoint-code-builder::add-http-config-snippet.png["http:listener-config snippet highlighted in the configuration XML menu"]
248
-
+
249
-
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/int-ai-gen-flow-examples.adoc
+4-4Lines changed: 4 additions & 4 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,add configurations for your Salesforce instance.
168
+
To run this flow,add the required configurations for your Salesforce instance in 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:
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:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/tut-graphql-test-first-implementation.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
@@ -44,7 +44,7 @@ curl --request POST \
44
44
If you receive the error `curl: (7) Failed to connect to localhost port 8081 after 0 ms: Couldn't connect to server`, stop and rerun the application in debug mode. For guidance with stopping the application, see xref:int-debug-mule-apps.adoc[].
45
45
+
46
46
TIP: Tools such as Postman provide a way to build GraphQL queries. For example,
47
-
in Postman, you can place your query in the *Body* tab and find the code snippet for a `curl` request. The resulting command includes newline (`\\n`) and tab (`\\t`) characters that you can delete from the `curl` command's `--data` value. For more information, see https://learning.postman.com/docs/sending-requests/graphql/graphql-http/[Make an HTTP call with GraphQL] in the Postman documentation.
47
+
in Postman, you can place your query in the *Body* tab and copy the example `curl` request. The resulting command includes newline (`\\n`) and tab (`\\t`) characters that you can delete from the `curl` command's `--data` value. For more information, see https://learning.postman.com/docs/sending-requests/graphql/graphql-http/[Make an HTTP call with GraphQL] in the Postman documentation.
48
48
+
49
49
Anypoint Code Builder returns the following output in the terminal (manually reformatted to enhance readability):
Copy file name to clipboardExpand all lines: modules/ROOT/pages/tut-slack-create-config-files-sfdc.adoc
+27-11Lines changed: 27 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,34 +37,50 @@ email:
37
37
slack:
38
38
token: "yourSlackToken"
39
39
--
40
-
. Navigate to your `new-case-salesforce.xml` file, add a new line before the `</mule>` tag, type `configuration` and select *mule:configurationProperties*:
40
+
. Navigate to your `new-case-salesforce.xml` file, add a new line before the `</mule>` tag, and paste this line:
41
41
+
42
-
image::select-mule-config-properties-contacts-sync.png["Code snippet with *mule:configurationProperties* highlighted in search results"]
Use the values in your `config.yaml` file to connect the Salesforce Connector to your Salesforce environment:
53
60
54
-
. In your `new-case-salesforce.xml` file, create a new line after the `<configuration-properties/>` element, type `salesforce`, and select *salesforce:sfdc-config*:
61
+
. In your `new-case-salesforce.xml` file, create a new line after the `<configuration-properties/>` element, and paste the following code:
55
62
+
56
-
image::sync-api-select-sfdc-config.png["Code snippet with *Salesforce:sfdc-config* highlighted in search results"]
57
-
. Set the *name* field to `Salesforce-Config`.
58
-
. Create a new line, type `basic` and select *Salesforce:Basic*:
59
-
+
60
-
image::basic-auth-sfdc-connector.png["Code snippet with *Salesforce:basic* highlighted in search results"]
61
-
. Configure the `username` and `password` properties to use your configuration file values:
When you move your cursor over the `${salesforce.username}` and `${salesforce.password}` elements, Anypoint Code Builder shows the values from the configuration file.
@@ -95,7 +111,7 @@ If you get an error, verify the error message to troubleshoot further.
95
111
* `objectType`: *Case*
96
112
* `config-ref`: *Salesforce-Config*
97
113
* `name`: *On New Case*
98
-
. In the `<salesforce:new-object-listener/>` element, replace `<scheduling-strategy/>` with the following snippet:
114
+
. In the `<salesforce:new-object-listener/>` element, replace `<scheduling-strategy/>` with the following XML:
99
115
+
100
116
[source,XML]
101
117
--
@@ -112,7 +128,7 @@ image::add-logger-end-flow-canvas.png["The flow canvas with the *Add Flow* plus
112
128
+
113
129
image::drag-logger-canvas.png["A workflow with the *Logger* component added"]
114
130
+
115
-
A `logger` component is added to the `flow` snippet in the code editor.
131
+
A `logger` component is added to the flow in the code editor.
116
132
+
117
133
. Replace the `logger` component in the code editor with the following:
0 commit comments