Skip to content

Commit 19dd714

Browse files
authored
Merge pull request #9932 from ballerina-platform/automate-bbes-fad8cdc458d0a5fc01e7355302696a9bc3df2a32
[Automated] Update Ballerina By Example(BBEs) pages
2 parents fad8cdc + 94edb27 commit 19dd714

File tree

1,099 files changed

+3192
-2255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,099 files changed

+3192
-2255
lines changed

_data/ballerina-by-example-nav.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,6 +1735,15 @@ sublinks:
17351735
- title: Call stored procedures
17361736
id: 7
17371737
url: mysql-call-stored-procedures
1738+
- title: Change data capture
1739+
id: 64
1740+
sublinks:
1741+
- title: Listen to database
1742+
id: 1
1743+
url: cdc-service
1744+
- title: Group events by table
1745+
id: 2
1746+
url: cdc-advanced-service
17381747
- title: Common libraries
17391748
id: 3
17401749
sublinks:

swan-lake/by-example/access-json-elements/content.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export function AccessJsonElements({ codeSnippets }) {
8888
className="bg-transparent border-0 m-0 p-2 ms-auto"
8989
onClick={() => {
9090
window.open(
91-
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.12.3/examples/access-json-elements",
91+
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.12.7/examples/access-json-elements",
9292
"_blank",
9393
);
9494
}}
@@ -257,7 +257,7 @@ export function AccessJsonElements({ codeSnippets }) {
257257

258258
<Row className="mt-auto mb-5">
259259
<Col sm={6}>
260-
<Link title="JSON type" href="/learn/by-example/json-type">
260+
<Link title="JSON type" href="/learn/by-example/json-type/">
261261
<div className="btnContainer d-flex align-items-center me-auto">
262262
<svg
263263
xmlns="http://www.w3.org/2000/svg"
@@ -292,7 +292,7 @@ export function AccessJsonElements({ codeSnippets }) {
292292
<Col sm={6}>
293293
<Link
294294
title="Access optional JSON elements"
295-
href="/learn/by-example/access-optional-json-elements"
295+
href="/learn/by-example/access-optional-json-elements/"
296296
>
297297
<div className="btnContainer d-flex align-items-center ms-auto">
298298
<div className="d-flex flex-column me-4">

swan-lake/by-example/access-json-elements/liquid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"lax",
1313
"access"
1414
],
15-
"permalink": "/learn/by-example/access-json-elements",
15+
"permalink": "/learn/by-example/access-json-elements/",
1616
"active": "access-json-elements"
1717
}

swan-lake/by-example/access-optional-json-elements/content.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function AccessOptionalJsonElements({ codeSnippets }) {
6262
className="bg-transparent border-0 m-0 p-2 ms-auto"
6363
onClick={() => {
6464
window.open(
65-
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.12.3/examples/access-optional-json-elements",
65+
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.12.7/examples/access-optional-json-elements",
6666
"_blank",
6767
);
6868
}}
@@ -230,7 +230,7 @@ export function AccessOptionalJsonElements({ codeSnippets }) {
230230
<Col sm={6}>
231231
<Link
232232
title="Access JSON elements"
233-
href="/learn/by-example/access-json-elements"
233+
href="/learn/by-example/access-json-elements/"
234234
>
235235
<div className="btnContainer d-flex align-items-center me-auto">
236236
<svg
@@ -266,7 +266,7 @@ export function AccessOptionalJsonElements({ codeSnippets }) {
266266
<Col sm={6}>
267267
<Link
268268
title="Match statement with maps"
269-
href="/learn/by-example/match-statement-with-maps"
269+
href="/learn/by-example/match-statement-with-maps/"
270270
>
271271
<div className="btnContainer d-flex align-items-center ms-auto">
272272
<div className="d-flex flex-column me-4">

swan-lake/by-example/access-optional-json-elements/liquid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"lax",
1212
"access"
1313
],
14-
"permalink": "/learn/by-example/access-optional-json-elements",
14+
"permalink": "/learn/by-example/access-optional-json-elements/",
1515
"active": "access-optional-json-elements"
1616
}

swan-lake/by-example/advanced-conflict-handling/content.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function AdvancedConflictHandling({ codeSnippets }) {
7676
className="bg-transparent border-0 m-0 p-2 ms-auto"
7777
onClick={() => {
7878
window.open(
79-
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.12.3/examples/advanced-conflict-handling",
79+
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.12.7/examples/advanced-conflict-handling",
8080
"_blank",
8181
);
8282
}}
@@ -325,7 +325,7 @@ export function AdvancedConflictHandling({ codeSnippets }) {
325325
<Col sm={6}>
326326
<Link
327327
title="On conflict clause"
328-
href="/learn/by-example/on-conflict-clause"
328+
href="/learn/by-example/on-conflict-clause/"
329329
>
330330
<div className="btnContainer d-flex align-items-center me-auto">
331331
<svg
@@ -361,7 +361,7 @@ export function AdvancedConflictHandling({ codeSnippets }) {
361361
<Col sm={6}>
362362
<Link
363363
title="Iterate over XML with a query"
364-
href="/learn/by-example/iterating-over-xml-with-query"
364+
href="/learn/by-example/iterating-over-xml-with-query/"
365365
>
366366
<div className="btnContainer d-flex align-items-center ms-auto">
367367
<div className="d-flex flex-column me-4">

swan-lake/by-example/advanced-conflict-handling/liquid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"on conflict",
1414
"error"
1515
],
16-
"permalink": "/learn/by-example/advanced-conflict-handling",
16+
"permalink": "/learn/by-example/advanced-conflict-handling/",
1717
"active": "advanced-conflict-handling"
1818
}

swan-lake/by-example/aggregation/content.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function Aggregation({ codeSnippets }) {
8484
className="bg-transparent border-0 m-0 p-2 ms-auto"
8585
onClick={() => {
8686
window.open(
87-
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.12.3/examples/aggregation",
87+
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.12.7/examples/aggregation",
8888
"_blank",
8989
);
9090
}}
@@ -324,7 +324,7 @@ export function Aggregation({ codeSnippets }) {
324324
<Col sm={6}>
325325
<Link
326326
title="Querying streams"
327-
href="/learn/by-example/querying-with-streams"
327+
href="/learn/by-example/querying-with-streams/"
328328
>
329329
<div className="btnContainer d-flex align-items-center me-auto">
330330
<svg
@@ -358,7 +358,7 @@ export function Aggregation({ codeSnippets }) {
358358
</Link>
359359
</Col>
360360
<Col sm={6}>
361-
<Link title="Query actions" href="/learn/by-example/query-actions">
361+
<Link title="Query actions" href="/learn/by-example/query-actions/">
362362
<div className="btnContainer d-flex align-items-center ms-auto">
363363
<div className="d-flex flex-column me-4">
364364
<span className="btnNext">Next</span>

swan-lake/by-example/aggregation/liquid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"aggregate",
1111
"collect"
1212
],
13-
"permalink": "/learn/by-example/aggregation",
13+
"permalink": "/learn/by-example/aggregation/",
1414
"active": "aggregation"
1515
}

swan-lake/by-example/all-bbes.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4384,6 +4384,29 @@
43844384
}
43854385
]
43864386
},
4387+
{
4388+
"title": "Change data capture",
4389+
"column": 3,
4390+
"category": "Network libraries",
4391+
"samples": [
4392+
{
4393+
"name": "Listen to database",
4394+
"url": "cdc-service",
4395+
"verifyBuild": true,
4396+
"verifyOutput": false,
4397+
"disablePlayground": true,
4398+
"isLearnByExample": false
4399+
},
4400+
{
4401+
"name": "Group events by table",
4402+
"url": "cdc-advanced-service",
4403+
"verifyBuild": true,
4404+
"verifyOutput": false,
4405+
"disablePlayground": true,
4406+
"isLearnByExample": false
4407+
}
4408+
]
4409+
},
43874410
{
43884411
"title": "Avro",
43894412
"column": 0,

0 commit comments

Comments
 (0)