Skip to content

Commit

Permalink
Merge pull request #9198 from ballerina-platform/automate-bbes-8ef2ff…
Browse files Browse the repository at this point in the history
…b0584573056dfaacb2f61436c83780f00d

[Automated] Update Ballerina By Example(BBEs) pages
  • Loading branch information
sm1990 authored Aug 2, 2024
2 parents 8ef2ffb + a20a16d commit c0ecc52
Show file tree
Hide file tree
Showing 522 changed files with 1,302 additions and 734 deletions.
16 changes: 11 additions & 5 deletions _data/ballerina-by-example-nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -628,20 +628,26 @@ sublinks:
- title: Inter-worker message passing
id: 10
url: inter-worker-message-passing
- title: Inter-worker failure propagation
- title: Conditional send
id: 11
url: conditional-send
- title: Inter-worker failure propagation
id: 12
url: inter-worker-failure-propagation
- title: Named worker with on fail clause
id: 13
url: named-worker-with-on-fail-clause
- title: Synchronize message passing
id: 12
id: 14
url: synchronize-message-passing
- title: Asynchronize message passing
id: 13
id: 15
url: asynchronize-message-passing
- title: Flush
id: 14
id: 16
url: flush
- title: Fork
id: 15
id: 17
url: fork
- title: Transactions
id: 31
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/access-json-elements/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function AccessJsonElements({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/access-json-elements",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/access-json-elements",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function AccessOptionalJsonElements({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/access-optional-json-elements",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/access-optional-json-elements",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/aggregation/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function Aggregation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/aggregation",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/aggregation",
"_blank",
);
}}
Expand Down
16 changes: 15 additions & 1 deletion swan-lake/by-example/all-bbes.json
Original file line number Diff line number Diff line change
Expand Up @@ -1475,13 +1475,27 @@
"verifyOutput": true,
"isLearnByExample": true
},
{
"name": "Conditional send",
"url": "conditional-send",
"verifyBuild": true,
"verifyOutput": true,
"isLearnByExample": true
},
{
"name": "Inter-worker failure propagation",
"url": "inter-worker-failure-propagation",
"verifyBuild": true,
"verifyOutput": true,
"isLearnByExample": true
},
{
"name": "Named worker with on fail clause",
"url": "named-worker-with-on-fail-clause",
"verifyBuild": true,
"verifyOutput": true,
"isLearnByExample": true
},
{
"name": "Synchronize message passing",
"url": "synchronize-message-passing",
Expand Down Expand Up @@ -3535,7 +3549,7 @@
"name": "Send/Receive",
"url": "soap-client-send-receive",
"verifyBuild": true,
"verifyOutput": true,
"verifyOutput": false,
"disablePlayground": true,
"isLearnByExample": false
}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/alternate-wait/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function AlternateWait({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/alternate-wait",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/alternate-wait",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/annotations/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function Annotations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/annotations",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/annotations",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/anonymous-function/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function AnonymousFunction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/anonymous-function",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/anonymous-function",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/any-type/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function AnyType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/any-type",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/any-type",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/anydata-type/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function AnydataType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/anydata-type",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/anydata-type",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/array-map-symmetry/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export function ArrayMapSymmetry({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/array-map-symmetry",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/array-map-symmetry",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/arrays/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function Arrays({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/arrays",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/arrays",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function AsynchronizeMessagePassing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/asynchronize-message-passing",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/asynchronize-message-passing",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function AsynchronousFunctionCalls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/asynchronous-function-calls",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/asynchronous-function-calls",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/avro-serdes/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function AvroSerdes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/avro-serdes",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/avro-serdes",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function AwsLambdaDynamodbTrigger({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/aws-lambda-dynamodb-trigger",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/aws-lambda-dynamodb-trigger",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export function AwsLambdaExecutionContext({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/aws-lambda-execution-context",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/aws-lambda-execution-context",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/aws-lambda-hello-world/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export function AwsLambdaHelloWorld({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/aws-lambda-hello-world",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/aws-lambda-hello-world",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/aws-lambda-s3-trigger/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export function AwsLambdaS3Trigger({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/aws-lambda-s3-trigger",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/aws-lambda-s3-trigger",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export function AzureFunctionsCosmosdbTrigger({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/azure-functions-cosmosdb-trigger",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/azure-functions-cosmosdb-trigger",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export function AzureFunctionsHelloWorld({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/azure-functions-hello-world",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/azure-functions-hello-world",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export function AzureFunctionsHttpTriggerWithQueue({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/azure-functions-http-trigger-with-queue",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/azure-functions-http-trigger-with-queue",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export function AzureFunctionsTimerTrigger({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/azure-functions-timer-trigger",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/azure-functions-timer-trigger",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/backtick-templates/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function BacktickTemplates({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/backtick-templates",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/backtick-templates",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/binary-data/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function BinaryData({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/binary-data",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/binary-data",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export function BindingPatternsInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/binding-patterns-in-match-statement",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/binding-patterns-in-match-statement",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/binding-patterns/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function BindingPatterns({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/binding-patterns",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/binding-patterns",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/boolean/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function Boolean({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/boolean",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/boolean",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/break-statement/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function BreakStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/break-statement",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/break-statement",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/built-in-integer-subtypes/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export function BuiltInIntegerSubtypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/built-in-integer-subtypes",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/built-in-integer-subtypes",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/built-in-string-subtype/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function BuiltInStringSubtype({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/built-in-string-subtype",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/built-in-string-subtype",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/cache-basics/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export function CacheBasics({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/cache-basics",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/cache-basics",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/cache-invalidation/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function CacheInvalidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/cache-invalidation",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/cache-invalidation",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function CastingJsonToUserDefinedType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/casting-json-to-user-defined-type",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/casting-json-to-user-defined-type",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/check-expression/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function CheckExpression({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/check-expression",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/check-expression",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/check-semantics/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function CheckSemantics({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/check-semantics",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/check-semantics",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/client-class/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export function ClientClass({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.0/examples/client-class",
"https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.9.2/examples/client-class",
"_blank",
);
}}
Expand Down
Loading

0 comments on commit c0ecc52

Please sign in to comment.