diff --git a/swan-lake/by-example/access-json-elements/content.jsx b/swan-lake/by-example/access-json-elements/content.jsx
index ca54933d704..572ed369266 100644
--- a/swan-lake/by-example/access-json-elements/content.jsx
+++ b/swan-lake/by-example/access-json-elements/content.jsx
@@ -88,7 +88,7 @@ export function AccessJsonElements({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/access-json-elements/access_json_elements.md",
+ "https://play.ballerina.io/?gist=e841a45f3e27484fcd739171b0d4170a&file=access_json_elements.bal",
"_blank",
);
}}
@@ -96,140 +96,16 @@ export function AccessJsonElements({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -237,7 +113,7 @@ export function AccessJsonElements({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/access-json-elements",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/access-json-elements",
"_blank",
);
}}
diff --git a/swan-lake/by-example/access-optional-json-elements/content.jsx b/swan-lake/by-example/access-optional-json-elements/content.jsx
index 711d680f6be..b2722a69073 100644
--- a/swan-lake/by-example/access-optional-json-elements/content.jsx
+++ b/swan-lake/by-example/access-optional-json-elements/content.jsx
@@ -62,7 +62,7 @@ export function AccessOptionalJsonElements({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/access-optional-json-elements/access_optional_json_elements.md",
+ "https://play.ballerina.io/?gist=fe616421a37281798ae2b0b92143ae18&file=access_optional_json_elements.bal",
"_blank",
);
}}
@@ -70,140 +70,16 @@ export function AccessOptionalJsonElements({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -211,7 +87,7 @@ export function AccessOptionalJsonElements({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/access-optional-json-elements",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/access-optional-json-elements",
"_blank",
);
}}
diff --git a/swan-lake/by-example/aggregation/content.jsx b/swan-lake/by-example/aggregation/content.jsx
index b9f09a12fbe..08448863e7f 100644
--- a/swan-lake/by-example/aggregation/content.jsx
+++ b/swan-lake/by-example/aggregation/content.jsx
@@ -84,7 +84,7 @@ export function Aggregation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/aggregation/aggregation.md",
+ "https://play.ballerina.io/?gist=333cd26d653231237aee45e0d2977468&file=aggregation.bal",
"_blank",
);
}}
@@ -92,140 +92,16 @@ export function Aggregation({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -233,7 +109,7 @@ export function Aggregation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/aggregation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/aggregation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/alternate-wait/content.jsx b/swan-lake/by-example/alternate-wait/content.jsx
index cc474c50508..3814163216a 100644
--- a/swan-lake/by-example/alternate-wait/content.jsx
+++ b/swan-lake/by-example/alternate-wait/content.jsx
@@ -68,7 +68,7 @@ export function AlternateWait({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/alternate-wait/alternate_wait.md",
+ "https://play.ballerina.io/?gist=ee5a195493a9c91761f58b44fcf5ae87&file=alternate_wait.bal",
"_blank",
);
}}
@@ -76,140 +76,16 @@ export function AlternateWait({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -217,7 +93,7 @@ export function AlternateWait({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/alternate-wait",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/alternate-wait",
"_blank",
);
}}
diff --git a/swan-lake/by-example/annotations/content.jsx b/swan-lake/by-example/annotations/content.jsx
index 51d1a5345c9..36aeedb7d80 100644
--- a/swan-lake/by-example/annotations/content.jsx
+++ b/swan-lake/by-example/annotations/content.jsx
@@ -72,7 +72,7 @@ export function Annotations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/annotations/annotations.md",
+ "https://play.ballerina.io/?gist=af4a6df96f864d0b1d8c7887ec68d5d4&file=annotations.bal",
"_blank",
);
}}
@@ -80,140 +80,16 @@ export function Annotations({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -221,7 +97,7 @@ export function Annotations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/annotations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/annotations",
"_blank",
);
}}
diff --git a/swan-lake/by-example/anonymous-function/content.jsx b/swan-lake/by-example/anonymous-function/content.jsx
index 196c8f564b9..122b831a54a 100644
--- a/swan-lake/by-example/anonymous-function/content.jsx
+++ b/swan-lake/by-example/anonymous-function/content.jsx
@@ -62,7 +62,7 @@ export function AnonymousFunction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/anonymous-function/anonymous_function.md",
+ "https://play.ballerina.io/?gist=9a46089001c8658dc34da799149073dd&file=anonymous_function.bal",
"_blank",
);
}}
@@ -70,140 +70,16 @@ export function AnonymousFunction({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -211,7 +87,7 @@ export function AnonymousFunction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/anonymous-function",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/anonymous-function",
"_blank",
);
}}
diff --git a/swan-lake/by-example/any-type/content.jsx b/swan-lake/by-example/any-type/content.jsx
index a726901d706..ccf1c92e3ae 100644
--- a/swan-lake/by-example/any-type/content.jsx
+++ b/swan-lake/by-example/any-type/content.jsx
@@ -60,7 +60,7 @@ export function AnyType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/any-type/any_type.md",
+ "https://play.ballerina.io/?gist=b0647e925982faad29043ca6e310d4f5&file=any_type.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function AnyType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function AnyType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/any-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/any-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/anydata-type/content.jsx b/swan-lake/by-example/anydata-type/content.jsx
index ef2711cbc9a..3f74c37a92b 100644
--- a/swan-lake/by-example/anydata-type/content.jsx
+++ b/swan-lake/by-example/anydata-type/content.jsx
@@ -58,7 +58,7 @@ export function AnydataType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/anydata-type/anydata_type.md",
+ "https://play.ballerina.io/?gist=7ff59f5752e54549f71f718f7b0b3f8d&file=anydata_type.bal",
"_blank",
);
}}
@@ -66,140 +66,16 @@ export function AnydataType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -207,7 +83,7 @@ export function AnydataType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/anydata-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/anydata-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/array-map-symmetry/content.jsx b/swan-lake/by-example/array-map-symmetry/content.jsx
index f538e901556..8088f80cef8 100644
--- a/swan-lake/by-example/array-map-symmetry/content.jsx
+++ b/swan-lake/by-example/array-map-symmetry/content.jsx
@@ -120,7 +120,7 @@ export function ArrayMapSymmetry({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/array-map-symmetry/array_map_symmetry.md",
+ "https://play.ballerina.io/?gist=8d7f0747eff8bd13f73d1752d064ad08&file=array_map_symmetry.bal",
"_blank",
);
}}
@@ -128,140 +128,16 @@ export function ArrayMapSymmetry({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -269,7 +145,7 @@ export function ArrayMapSymmetry({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/array-map-symmetry",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/array-map-symmetry",
"_blank",
);
}}
diff --git a/swan-lake/by-example/arrays/content.jsx b/swan-lake/by-example/arrays/content.jsx
index cdfe279a556..2ccd5539ab9 100644
--- a/swan-lake/by-example/arrays/content.jsx
+++ b/swan-lake/by-example/arrays/content.jsx
@@ -99,7 +99,7 @@ export function Arrays({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/arrays/arrays.md",
+ "https://play.ballerina.io/?gist=804da0b46091c930077233d6740450c3&file=arrays.bal",
"_blank",
);
}}
@@ -107,140 +107,16 @@ export function Arrays({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -248,7 +124,7 @@ export function Arrays({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/arrays",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/arrays",
"_blank",
);
}}
diff --git a/swan-lake/by-example/asynchronize-message-passing/content.jsx b/swan-lake/by-example/asynchronize-message-passing/content.jsx
index 20632b597a6..da8a3d9ef25 100644
--- a/swan-lake/by-example/asynchronize-message-passing/content.jsx
+++ b/swan-lake/by-example/asynchronize-message-passing/content.jsx
@@ -63,7 +63,7 @@ export function AsynchronizeMessagePassing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/asynchronize-message-passing/asynchronize_message_passing.md",
+ "https://play.ballerina.io/?gist=80a3428d3a90a21c28ac5208e8973f5a&file=asynchronize_message_passing.bal",
"_blank",
);
}}
@@ -71,140 +71,16 @@ export function AsynchronizeMessagePassing({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -212,7 +88,7 @@ export function AsynchronizeMessagePassing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/asynchronize-message-passing",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/asynchronize-message-passing",
"_blank",
);
}}
diff --git a/swan-lake/by-example/asynchronous-function-calls/content.jsx b/swan-lake/by-example/asynchronous-function-calls/content.jsx
index 33cf7c65eb6..63d24725f4f 100644
--- a/swan-lake/by-example/asynchronous-function-calls/content.jsx
+++ b/swan-lake/by-example/asynchronous-function-calls/content.jsx
@@ -58,7 +58,7 @@ export function AsynchronousFunctionCalls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/asynchronous-function-calls/asynchronous_function_calls.md",
+ "https://play.ballerina.io/?gist=118bf1cdbefcefe110e77509b5a8dde9&file=asynchronous_function_calls.bal",
"_blank",
);
}}
@@ -66,140 +66,16 @@ export function AsynchronousFunctionCalls({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -207,7 +83,7 @@ export function AsynchronousFunctionCalls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/asynchronous-function-calls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/asynchronous-function-calls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/aws-lambda-dynamodb-trigger/content.jsx b/swan-lake/by-example/aws-lambda-dynamodb-trigger/content.jsx
index 84e38712752..fcbe98195bd 100644
--- a/swan-lake/by-example/aws-lambda-dynamodb-trigger/content.jsx
+++ b/swan-lake/by-example/aws-lambda-dynamodb-trigger/content.jsx
@@ -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.8.2/examples/aws-lambda-dynamodb-trigger",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/aws-lambda-dynamodb-trigger",
"_blank",
);
}}
@@ -438,7 +438,7 @@ export function AwsLambdaDynamodbTrigger({ codeSnippets }) {
- 8.
+ 7.
Under the Trigger section, click{" "}
Create trigger , select the{" "}
@@ -449,7 +449,7 @@ export function AwsLambdaDynamodbTrigger({ codeSnippets }) {
- 9.
+ 8.
Click Explore table items , and click{" "}
Create items under the{" "}
@@ -459,7 +459,7 @@ export function AwsLambdaDynamodbTrigger({ codeSnippets }) {
- 10.
+ 9.
Enter a value under the Attributes section to add
an entry to the DynamoDB table to invoke the Lambda function, and
@@ -469,7 +469,7 @@ export function AwsLambdaDynamodbTrigger({ codeSnippets }) {
- 11.
+ 10.
Click the Monitor tab of the Lambda function in the
AWS Management Console, and click{" "}
diff --git a/swan-lake/by-example/aws-lambda-execution-context/content.jsx b/swan-lake/by-example/aws-lambda-execution-context/content.jsx
index c6cd2c11fe4..d948d3fe390 100644
--- a/swan-lake/by-example/aws-lambda-execution-context/content.jsx
+++ b/swan-lake/by-example/aws-lambda-execution-context/content.jsx
@@ -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.8.2/examples/aws-lambda-execution-context",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/aws-lambda-execution-context",
"_blank",
);
}}
diff --git a/swan-lake/by-example/aws-lambda-hello-world/content.jsx b/swan-lake/by-example/aws-lambda-hello-world/content.jsx
index da9e2712ce3..6a23ef4ed0b 100644
--- a/swan-lake/by-example/aws-lambda-hello-world/content.jsx
+++ b/swan-lake/by-example/aws-lambda-hello-world/content.jsx
@@ -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.8.2/examples/aws-lambda-hello-world",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/aws-lambda-hello-world",
"_blank",
);
}}
diff --git a/swan-lake/by-example/aws-lambda-s3-trigger/content.jsx b/swan-lake/by-example/aws-lambda-s3-trigger/content.jsx
index b2fcf83c586..a094cec5347 100644
--- a/swan-lake/by-example/aws-lambda-s3-trigger/content.jsx
+++ b/swan-lake/by-example/aws-lambda-s3-trigger/content.jsx
@@ -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.8.2/examples/aws-lambda-s3-trigger",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/aws-lambda-s3-trigger",
"_blank",
);
}}
diff --git a/swan-lake/by-example/azure-functions-cosmosdb-trigger/content.jsx b/swan-lake/by-example/azure-functions-cosmosdb-trigger/content.jsx
index 77838d88be8..4ff5dce08f5 100644
--- a/swan-lake/by-example/azure-functions-cosmosdb-trigger/content.jsx
+++ b/swan-lake/by-example/azure-functions-cosmosdb-trigger/content.jsx
@@ -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.8.2/examples/azure-functions-cosmosdb-trigger",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/azure-functions-cosmosdb-trigger",
"_blank",
);
}}
diff --git a/swan-lake/by-example/azure-functions-hello-world/content.jsx b/swan-lake/by-example/azure-functions-hello-world/content.jsx
index 495051c11b7..cafbdae09cb 100644
--- a/swan-lake/by-example/azure-functions-hello-world/content.jsx
+++ b/swan-lake/by-example/azure-functions-hello-world/content.jsx
@@ -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.8.2/examples/azure-functions-hello-world",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/azure-functions-hello-world",
"_blank",
);
}}
diff --git a/swan-lake/by-example/azure-functions-http-trigger-with-queue/content.jsx b/swan-lake/by-example/azure-functions-http-trigger-with-queue/content.jsx
index 7aa438931d2..113b930914b 100644
--- a/swan-lake/by-example/azure-functions-http-trigger-with-queue/content.jsx
+++ b/swan-lake/by-example/azure-functions-http-trigger-with-queue/content.jsx
@@ -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.8.2/examples/azure-functions-http-trigger-with-queue",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/azure-functions-http-trigger-with-queue",
"_blank",
);
}}
diff --git a/swan-lake/by-example/azure-functions-timer-trigger/content.jsx b/swan-lake/by-example/azure-functions-timer-trigger/content.jsx
index d23c1c112a9..c028b902c75 100644
--- a/swan-lake/by-example/azure-functions-timer-trigger/content.jsx
+++ b/swan-lake/by-example/azure-functions-timer-trigger/content.jsx
@@ -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.8.2/examples/azure-functions-timer-trigger",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/azure-functions-timer-trigger",
"_blank",
);
}}
diff --git a/swan-lake/by-example/backtick-templates/content.jsx b/swan-lake/by-example/backtick-templates/content.jsx
index fe0d4d60b12..da46315e159 100644
--- a/swan-lake/by-example/backtick-templates/content.jsx
+++ b/swan-lake/by-example/backtick-templates/content.jsx
@@ -73,7 +73,7 @@ export function BacktickTemplates({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/backtick-templates/backtick_templates.md",
+ "https://play.ballerina.io/?gist=a7b6c6f752196cfb1789976267765c07&file=backtick_templates.bal",
"_blank",
);
}}
@@ -81,140 +81,16 @@ export function BacktickTemplates({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -222,7 +98,7 @@ export function BacktickTemplates({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/backtick-templates",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/backtick-templates",
"_blank",
);
}}
diff --git a/swan-lake/by-example/binary-data/content.jsx b/swan-lake/by-example/binary-data/content.jsx
index fcb8f48a9a4..cdd940ec1d3 100644
--- a/swan-lake/by-example/binary-data/content.jsx
+++ b/swan-lake/by-example/binary-data/content.jsx
@@ -50,7 +50,7 @@ export function BinaryData({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/binary-data/binary_data.md",
+ "https://play.ballerina.io/?gist=9c748ad9b0a32a5a7c1ea13b44ddbb7f&file=binary_data.bal",
"_blank",
);
}}
@@ -58,140 +58,16 @@ export function BinaryData({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -199,7 +75,7 @@ export function BinaryData({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/binary-data",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/binary-data",
"_blank",
);
}}
diff --git a/swan-lake/by-example/binding-patterns-in-match-statement/content.jsx b/swan-lake/by-example/binding-patterns-in-match-statement/content.jsx
index 586f47853f4..73c36ec6047 100644
--- a/swan-lake/by-example/binding-patterns-in-match-statement/content.jsx
+++ b/swan-lake/by-example/binding-patterns-in-match-statement/content.jsx
@@ -97,7 +97,7 @@ export function BindingPatternsInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/binding-patterns-in-match-statement/binding_patterns_in_match_statement.md",
+ "https://play.ballerina.io/?gist=0d9f4f48d3dad8238f03145e8588fe59&file=binding_patterns_in_match_statement.bal",
"_blank",
);
}}
@@ -105,140 +105,16 @@ export function BindingPatternsInMatchStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -246,7 +122,7 @@ export function BindingPatternsInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/binding-patterns-in-match-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/binding-patterns-in-match-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/binding-patterns/content.jsx b/swan-lake/by-example/binding-patterns/content.jsx
index 4701e28dae1..fe508cfe20e 100644
--- a/swan-lake/by-example/binding-patterns/content.jsx
+++ b/swan-lake/by-example/binding-patterns/content.jsx
@@ -55,7 +55,7 @@ export function BindingPatterns({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/binding-patterns/binding_patterns.md",
+ "https://play.ballerina.io/?gist=ba9dd69b97ba4730ecb493465afc5a47&file=binding_patterns.bal",
"_blank",
);
}}
@@ -63,140 +63,16 @@ export function BindingPatterns({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -204,7 +80,7 @@ export function BindingPatterns({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/binding-patterns",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/binding-patterns",
"_blank",
);
}}
diff --git a/swan-lake/by-example/boolean/content.jsx b/swan-lake/by-example/boolean/content.jsx
index b742267e7c6..4f7698a98a8 100644
--- a/swan-lake/by-example/boolean/content.jsx
+++ b/swan-lake/by-example/boolean/content.jsx
@@ -51,7 +51,7 @@ export function Boolean({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/boolean/boolean.md",
+ "https://play.ballerina.io/?gist=0a93af563b3616a18287dc1cb1252ad5&file=boolean.bal",
"_blank",
);
}}
@@ -59,140 +59,16 @@ export function Boolean({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -200,7 +76,7 @@ export function Boolean({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/boolean",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/boolean",
"_blank",
);
}}
diff --git a/swan-lake/by-example/break-statement/content.jsx b/swan-lake/by-example/break-statement/content.jsx
index 7d960d00c33..5dad43c161d 100644
--- a/swan-lake/by-example/break-statement/content.jsx
+++ b/swan-lake/by-example/break-statement/content.jsx
@@ -59,7 +59,7 @@ export function BreakStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/break-statement/break_statement.md",
+ "https://play.ballerina.io/?gist=98d50760fb0c88e959e83e193876c5c1&file=break_statement.bal",
"_blank",
);
}}
@@ -67,140 +67,16 @@ export function BreakStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -208,7 +84,7 @@ export function BreakStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/break-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/break-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/built-in-integer-subtypes/content.jsx b/swan-lake/by-example/built-in-integer-subtypes/content.jsx
index 6511fcf4af9..74f1563deee 100644
--- a/swan-lake/by-example/built-in-integer-subtypes/content.jsx
+++ b/swan-lake/by-example/built-in-integer-subtypes/content.jsx
@@ -138,7 +138,7 @@ export function BuiltInIntegerSubtypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/built-in-integer-subtypes/built_in_integer_subtypes.md",
+ "https://play.ballerina.io/?gist=c995e7a6ae739ceb72fe8fa9243bd8b9&file=built_in_integer_subtypes.bal",
"_blank",
);
}}
@@ -146,140 +146,16 @@ export function BuiltInIntegerSubtypes({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -287,7 +163,7 @@ export function BuiltInIntegerSubtypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/built-in-integer-subtypes",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/built-in-integer-subtypes",
"_blank",
);
}}
diff --git a/swan-lake/by-example/built-in-string-subtype/content.jsx b/swan-lake/by-example/built-in-string-subtype/content.jsx
index ba219efa7f6..4628653aa03 100644
--- a/swan-lake/by-example/built-in-string-subtype/content.jsx
+++ b/swan-lake/by-example/built-in-string-subtype/content.jsx
@@ -59,7 +59,7 @@ export function BuiltInStringSubtype({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/built-in-string-subtype/built_in_string_subtype.md",
+ "https://play.ballerina.io/?gist=dd111515dfed33ad3a508e8766ffc2f4&file=built_in_string_subtype.bal",
"_blank",
);
}}
@@ -67,140 +67,16 @@ export function BuiltInStringSubtype({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -208,7 +84,7 @@ export function BuiltInStringSubtype({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/built-in-string-subtype",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/built-in-string-subtype",
"_blank",
);
}}
diff --git a/swan-lake/by-example/cache-basics/content.jsx b/swan-lake/by-example/cache-basics/content.jsx
index a9979907e49..9727d5081d9 100644
--- a/swan-lake/by-example/cache-basics/content.jsx
+++ b/swan-lake/by-example/cache-basics/content.jsx
@@ -74,7 +74,7 @@ export function CacheBasics({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/cache-basics/cache_basics.md",
+ "https://play.ballerina.io/?gist=e9fbefec6ab53f67f8822f17a9df1d80&file=cache_basics.bal",
"_blank",
);
}}
@@ -82,140 +82,16 @@ export function CacheBasics({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -223,7 +99,7 @@ export function CacheBasics({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/cache-basics",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/cache-basics",
"_blank",
);
}}
diff --git a/swan-lake/by-example/cache-invalidation/content.jsx b/swan-lake/by-example/cache-invalidation/content.jsx
index fb5694916f5..bb1038edad4 100644
--- a/swan-lake/by-example/cache-invalidation/content.jsx
+++ b/swan-lake/by-example/cache-invalidation/content.jsx
@@ -86,7 +86,7 @@ export function CacheInvalidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/cache-invalidation/cache_invalidation.md",
+ "https://play.ballerina.io/?gist=75a672c07005da531c077d143857f65c&file=cache_invalidation.bal",
"_blank",
);
}}
@@ -94,140 +94,16 @@ export function CacheInvalidation({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -235,7 +111,7 @@ export function CacheInvalidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/cache-invalidation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/cache-invalidation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/casting-json-to-user-defined-type/content.jsx b/swan-lake/by-example/casting-json-to-user-defined-type/content.jsx
index f74841bd03d..78eb3673d93 100644
--- a/swan-lake/by-example/casting-json-to-user-defined-type/content.jsx
+++ b/swan-lake/by-example/casting-json-to-user-defined-type/content.jsx
@@ -73,7 +73,7 @@ export function CastingJsonToUserDefinedType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/casting-json-to-user-defined-type/casting_json_to_user_defined_type.md",
+ "https://play.ballerina.io/?gist=4b2edcd4e039f58159c9f568a808e03e&file=casting_json_to_user_defined_type.bal",
"_blank",
);
}}
@@ -81,140 +81,16 @@ export function CastingJsonToUserDefinedType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -222,7 +98,7 @@ export function CastingJsonToUserDefinedType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/casting-json-to-user-defined-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/casting-json-to-user-defined-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/check-expression/content.jsx b/swan-lake/by-example/check-expression/content.jsx
index f7c4393f01e..5bb66558394 100644
--- a/swan-lake/by-example/check-expression/content.jsx
+++ b/swan-lake/by-example/check-expression/content.jsx
@@ -60,7 +60,7 @@ export function CheckExpression({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/check-expression/check_expression.md",
+ "https://play.ballerina.io/?gist=bc2b3b154bda4ff8afc19e211d4acf3e&file=check_expression.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function CheckExpression({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function CheckExpression({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/check-expression",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/check-expression",
"_blank",
);
}}
diff --git a/swan-lake/by-example/check-semantics/content.jsx b/swan-lake/by-example/check-semantics/content.jsx
index 9da43c7b32c..5210721161c 100644
--- a/swan-lake/by-example/check-semantics/content.jsx
+++ b/swan-lake/by-example/check-semantics/content.jsx
@@ -83,7 +83,7 @@ export function CheckSemantics({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/check-semantics/check_semantics.md",
+ "https://play.ballerina.io/?gist=2c7d6c1a13cfa118a18f07fb577e3b43&file=check_semantics.bal",
"_blank",
);
}}
@@ -91,140 +91,16 @@ export function CheckSemantics({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -232,7 +108,7 @@ export function CheckSemantics({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/check-semantics",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/check-semantics",
"_blank",
);
}}
diff --git a/swan-lake/by-example/client-class/content.jsx b/swan-lake/by-example/client-class/content.jsx
index 3643fec0c7a..f70d44e53de 100644
--- a/swan-lake/by-example/client-class/content.jsx
+++ b/swan-lake/by-example/client-class/content.jsx
@@ -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.8.2/examples/client-class",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/client-class",
"_blank",
);
}}
diff --git a/swan-lake/by-example/combining-isolated-functions-and-lock/content.jsx b/swan-lake/by-example/combining-isolated-functions-and-lock/content.jsx
index cd8f30d6c3f..18b8917c609 100644
--- a/swan-lake/by-example/combining-isolated-functions-and-lock/content.jsx
+++ b/swan-lake/by-example/combining-isolated-functions-and-lock/content.jsx
@@ -101,7 +101,7 @@ export function CombiningIsolatedFunctionsAndLock({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/combining-isolated-functions-and-lock/combining_isolated_functions_and_lock.md",
+ "https://play.ballerina.io/?gist=48c1b8b2e5fa1d7acb22c783c69a6414&file=combining_isolated_functions_and_lock.bal",
"_blank",
);
}}
@@ -109,140 +109,16 @@ export function CombiningIsolatedFunctionsAndLock({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -250,7 +126,7 @@ export function CombiningIsolatedFunctionsAndLock({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/combining-isolated-functions-and-lock",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/combining-isolated-functions-and-lock",
"_blank",
);
}}
diff --git a/swan-lake/by-example/commit-rollback-handlers/content.jsx b/swan-lake/by-example/commit-rollback-handlers/content.jsx
index 86dbbc8fcad..1154f842d4a 100644
--- a/swan-lake/by-example/commit-rollback-handlers/content.jsx
+++ b/swan-lake/by-example/commit-rollback-handlers/content.jsx
@@ -74,7 +74,7 @@ export function CommitRollbackHandlers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/commit-rollback-handlers/commit_rollback_handlers.md",
+ "https://play.ballerina.io/?gist=d167a9d417f3802238ee0cf7921c05c0&file=commit_rollback_handlers.bal",
"_blank",
);
}}
@@ -82,140 +82,16 @@ export function CommitRollbackHandlers({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -223,7 +99,7 @@ export function CommitRollbackHandlers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/commit-rollback-handlers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/commit-rollback-handlers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/computed-field-key/content.jsx b/swan-lake/by-example/computed-field-key/content.jsx
index 4ff563e12f3..ee9c150ee35 100644
--- a/swan-lake/by-example/computed-field-key/content.jsx
+++ b/swan-lake/by-example/computed-field-key/content.jsx
@@ -62,7 +62,7 @@ export function ComputedFieldKey({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/computed-field-key/computed_field_key.md",
+ "https://play.ballerina.io/?gist=a3ce1845c0ca62d1d9b3e50772779a6c&file=computed_field_key.bal",
"_blank",
);
}}
@@ -70,140 +70,16 @@ export function ComputedFieldKey({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -211,7 +87,7 @@ export function ComputedFieldKey({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/computed-field-key",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/computed-field-key",
"_blank",
);
}}
diff --git a/swan-lake/by-example/configurable-variables/content.jsx b/swan-lake/by-example/configurable-variables/content.jsx
index d977abc953e..6a5b1e05af8 100644
--- a/swan-lake/by-example/configurable-variables/content.jsx
+++ b/swan-lake/by-example/configurable-variables/content.jsx
@@ -51,7 +51,7 @@ export function ConfigurableVariables({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/configurable-variables",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/configurable-variables",
"_blank",
);
}}
diff --git a/swan-lake/by-example/configuring-via-cli/content.jsx b/swan-lake/by-example/configuring-via-cli/content.jsx
index d39d651a2ba..944552e9be7 100644
--- a/swan-lake/by-example/configuring-via-cli/content.jsx
+++ b/swan-lake/by-example/configuring-via-cli/content.jsx
@@ -75,7 +75,7 @@ export function ConfiguringViaCli({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/configuring-via-cli",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/configuring-via-cli",
"_blank",
);
}}
diff --git a/swan-lake/by-example/configuring-via-toml/content.jsx b/swan-lake/by-example/configuring-via-toml/content.jsx
index aee645335b7..a8a88db9d1c 100644
--- a/swan-lake/by-example/configuring-via-toml/content.jsx
+++ b/swan-lake/by-example/configuring-via-toml/content.jsx
@@ -87,7 +87,7 @@ export function ConfiguringViaToml({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/configuring-via-toml",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/configuring-via-toml",
"_blank",
);
}}
diff --git a/swan-lake/by-example/const-and-final/content.jsx b/swan-lake/by-example/const-and-final/content.jsx
index 51500595a14..a6bb620a645 100644
--- a/swan-lake/by-example/const-and-final/content.jsx
+++ b/swan-lake/by-example/const-and-final/content.jsx
@@ -62,7 +62,7 @@ export function ConstAndFinal({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/const-and-final/const_and_final.md",
+ "https://play.ballerina.io/?gist=ee391bd00a5d43572b6650d3ded34780&file=const_and_final.bal",
"_blank",
);
}}
@@ -70,140 +70,16 @@ export function ConstAndFinal({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -211,7 +87,7 @@ export function ConstAndFinal({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/const-and-final",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/const-and-final",
"_blank",
);
}}
diff --git a/swan-lake/by-example/constraint-validations/content.jsx b/swan-lake/by-example/constraint-validations/content.jsx
index b015e6bba4a..d6f61d9ccc8 100644
--- a/swan-lake/by-example/constraint-validations/content.jsx
+++ b/swan-lake/by-example/constraint-validations/content.jsx
@@ -93,7 +93,7 @@ export function ConstraintValidations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/constraint-validations/constraint_validations.md",
+ "https://play.ballerina.io/?gist=03b42e463700fc3e1a0d0ff0c32aa964&file=constraint_validations.bal",
"_blank",
);
}}
@@ -101,140 +101,16 @@ export function ConstraintValidations({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -242,7 +118,7 @@ export function ConstraintValidations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/constraint-validations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/constraint-validations",
"_blank",
);
}}
diff --git a/swan-lake/by-example/consuming-services/content.jsx b/swan-lake/by-example/consuming-services/content.jsx
index 7e32a8c8cde..91b3cf1aebd 100644
--- a/swan-lake/by-example/consuming-services/content.jsx
+++ b/swan-lake/by-example/consuming-services/content.jsx
@@ -54,7 +54,7 @@ export function ConsumingServices({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/consuming-services/consuming_services.md",
+ "https://play.ballerina.io/?gist=d2b6ae0284b5aec4d8c64c3b33e78a98&file=consuming_services.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function ConsumingServices({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function ConsumingServices({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/consuming-services",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/consuming-services",
"_blank",
);
}}
diff --git a/swan-lake/by-example/continue-statement/content.jsx b/swan-lake/by-example/continue-statement/content.jsx
index e871d5e4123..1371e05ac10 100644
--- a/swan-lake/by-example/continue-statement/content.jsx
+++ b/swan-lake/by-example/continue-statement/content.jsx
@@ -60,7 +60,7 @@ export function ContinueStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/continue-statement/continue_statement.md",
+ "https://play.ballerina.io/?gist=f4cab58ecd00d0a102b224d70be1be21&file=continue_statement.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function ContinueStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function ContinueStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/continue-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/continue-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/controlling-openness/content.jsx b/swan-lake/by-example/controlling-openness/content.jsx
index dcef8cfbc3f..58302cd59ac 100644
--- a/swan-lake/by-example/controlling-openness/content.jsx
+++ b/swan-lake/by-example/controlling-openness/content.jsx
@@ -75,7 +75,7 @@ export function ControllingOpenness({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/controlling-openness/controlling_openness.md",
+ "https://play.ballerina.io/?gist=155d262a6462ddd6205987ebe2b5680c&file=controlling_openness.bal",
"_blank",
);
}}
@@ -83,140 +83,16 @@ export function ControllingOpenness({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -224,7 +100,7 @@ export function ControllingOpenness({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/controlling-openness",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/controlling-openness",
"_blank",
);
}}
diff --git a/swan-lake/by-example/convert-from-json-to-user-defined-type/content.jsx b/swan-lake/by-example/convert-from-json-to-user-defined-type/content.jsx
index 23e57511a51..90bac1c4036 100644
--- a/swan-lake/by-example/convert-from-json-to-user-defined-type/content.jsx
+++ b/swan-lake/by-example/convert-from-json-to-user-defined-type/content.jsx
@@ -82,7 +82,7 @@ export function ConvertFromJsonToUserDefinedType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/convert-from-json-to-user-defined-type/convert_from_json_to_user_defined_type.md",
+ "https://play.ballerina.io/?gist=25554102a562e5f0e75f22a0f79bb56e&file=convert_from_json_to_user_defined_type.bal",
"_blank",
);
}}
@@ -90,140 +90,16 @@ export function ConvertFromJsonToUserDefinedType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -231,7 +107,7 @@ export function ConvertFromJsonToUserDefinedType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/convert-from-json-to-user-defined-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/convert-from-json-to-user-defined-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/converting-from-table-and-xml-to-json/content.jsx b/swan-lake/by-example/converting-from-table-and-xml-to-json/content.jsx
index e223b949810..39897bb8716 100644
--- a/swan-lake/by-example/converting-from-table-and-xml-to-json/content.jsx
+++ b/swan-lake/by-example/converting-from-table-and-xml-to-json/content.jsx
@@ -53,7 +53,7 @@ export function ConvertingFromTableAndXmlToJson({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/converting-from-table-and-xml-to-json/converting_from_table_and_xml_to_json.md",
+ "https://play.ballerina.io/?gist=8c6ba9caaccbcd4f8de032fb084d6f6e&file=converting_from_table_and_xml_to_json.bal",
"_blank",
);
}}
@@ -61,140 +61,16 @@ export function ConvertingFromTableAndXmlToJson({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -202,7 +78,7 @@ export function ConvertingFromTableAndXmlToJson({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/converting-from-table-and-xml-to-json",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/converting-from-table-and-xml-to-json",
"_blank",
);
}}
diff --git a/swan-lake/by-example/converting-from-user-defined-type-to-json/content.jsx b/swan-lake/by-example/converting-from-user-defined-type-to-json/content.jsx
index cf2f7de0e47..d5eb290958c 100644
--- a/swan-lake/by-example/converting-from-user-defined-type-to-json/content.jsx
+++ b/swan-lake/by-example/converting-from-user-defined-type-to-json/content.jsx
@@ -72,7 +72,7 @@ export function ConvertingFromUserDefinedTypeToJson({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/converting-from-user-defined-type-to-json/converting_from_user_defined_type_to_json.md",
+ "https://play.ballerina.io/?gist=c274acdd503545d91b3aa7f9e4a4d9e6&file=converting_from_user_defined_type_to_json.bal",
"_blank",
);
}}
@@ -80,140 +80,16 @@ export function ConvertingFromUserDefinedTypeToJson({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -221,7 +97,7 @@ export function ConvertingFromUserDefinedTypeToJson({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/converting-from-user-defined-type-to-json",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/converting-from-user-defined-type-to-json",
"_blank",
);
}}
diff --git a/swan-lake/by-example/counter-metrics/content.jsx b/swan-lake/by-example/counter-metrics/content.jsx
index 5b38a72db56..17a155d7d9d 100644
--- a/swan-lake/by-example/counter-metrics/content.jsx
+++ b/swan-lake/by-example/counter-metrics/content.jsx
@@ -117,7 +117,7 @@ export function CounterMetrics({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/counter-metrics",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/counter-metrics",
"_blank",
);
}}
diff --git a/swan-lake/by-example/covariance/content.jsx b/swan-lake/by-example/covariance/content.jsx
index 0452cc534e1..d20badb19be 100644
--- a/swan-lake/by-example/covariance/content.jsx
+++ b/swan-lake/by-example/covariance/content.jsx
@@ -53,7 +53,7 @@ export function Covariance({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/covariance/covariance.md",
+ "https://play.ballerina.io/?gist=907508b5fecbfa6fd2d24822c8097912&file=covariance.bal",
"_blank",
);
}}
@@ -61,140 +61,16 @@ export function Covariance({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -202,7 +78,7 @@ export function Covariance({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/covariance",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/covariance",
"_blank",
);
}}
diff --git a/swan-lake/by-example/create-maps-with-query/content.jsx b/swan-lake/by-example/create-maps-with-query/content.jsx
index b91475fd70b..7803d00ae79 100644
--- a/swan-lake/by-example/create-maps-with-query/content.jsx
+++ b/swan-lake/by-example/create-maps-with-query/content.jsx
@@ -66,7 +66,7 @@ export function CreateMapsWithQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/create-maps-with-query/create_maps_with_query.md",
+ "https://play.ballerina.io/?gist=400b17619168f0e2cca600aa277473e0&file=create_maps_with_query.bal",
"_blank",
);
}}
@@ -74,140 +74,16 @@ export function CreateMapsWithQuery({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -215,7 +91,7 @@ export function CreateMapsWithQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/create-maps-with-query",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/create-maps-with-query",
"_blank",
);
}}
diff --git a/swan-lake/by-example/create-streams-with-query/content.jsx b/swan-lake/by-example/create-streams-with-query/content.jsx
index 93bd1e421e9..afa3d1e4188 100644
--- a/swan-lake/by-example/create-streams-with-query/content.jsx
+++ b/swan-lake/by-example/create-streams-with-query/content.jsx
@@ -69,7 +69,7 @@ export function CreateStreamsWithQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/create-streams-with-query/create_streams_with_query.md",
+ "https://play.ballerina.io/?gist=6e8fc572b9d61212841528f458f704e7&file=create_streams_with_query.bal",
"_blank",
);
}}
@@ -77,140 +77,16 @@ export function CreateStreamsWithQuery({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -218,7 +94,7 @@ export function CreateStreamsWithQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/create-streams-with-query",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/create-streams-with-query",
"_blank",
);
}}
diff --git a/swan-lake/by-example/create-tables-with-query/content.jsx b/swan-lake/by-example/create-tables-with-query/content.jsx
index fdb2979da39..1e3346690ea 100644
--- a/swan-lake/by-example/create-tables-with-query/content.jsx
+++ b/swan-lake/by-example/create-tables-with-query/content.jsx
@@ -69,7 +69,7 @@ export function CreateTablesWithQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/create-tables-with-query/create_tables_with_query.md",
+ "https://play.ballerina.io/?gist=f4eebf5afed93d7eddc1183db5a49215&file=create_tables_with_query.bal",
"_blank",
);
}}
@@ -77,140 +77,16 @@ export function CreateTablesWithQuery({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -218,7 +94,7 @@ export function CreateTablesWithQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/create-tables-with-query",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/create-tables-with-query",
"_blank",
);
}}
diff --git a/swan-lake/by-example/custom-prefetch-methods/content.jsx b/swan-lake/by-example/custom-prefetch-methods/content.jsx
index b05c7b9cd0f..5ffa381539f 100644
--- a/swan-lake/by-example/custom-prefetch-methods/content.jsx
+++ b/swan-lake/by-example/custom-prefetch-methods/content.jsx
@@ -149,7 +149,7 @@ export function CustomPrefetchMethods({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/custom-prefetch-methods",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/custom-prefetch-methods",
"_blank",
);
}}
@@ -298,7 +298,7 @@ export function CustomPrefetchMethods({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/custom-prefetch-methods",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/custom-prefetch-methods",
"_blank",
);
}}
diff --git a/swan-lake/by-example/decimal-type/content.jsx b/swan-lake/by-example/decimal-type/content.jsx
index 41cc3802393..06d70d61fcb 100644
--- a/swan-lake/by-example/decimal-type/content.jsx
+++ b/swan-lake/by-example/decimal-type/content.jsx
@@ -63,7 +63,7 @@ export function DecimalType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/decimal-type/decimal_type.md",
+ "https://play.ballerina.io/?gist=457428cc7ef4670a95d2557dde50fda7&file=decimal_type.bal",
"_blank",
);
}}
@@ -71,140 +71,16 @@ export function DecimalType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -212,7 +88,7 @@ export function DecimalType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/decimal-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/decimal-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/default-values-for-function-parameters/content.jsx b/swan-lake/by-example/default-values-for-function-parameters/content.jsx
index ceeb1955ee5..32ef37c0dbb 100644
--- a/swan-lake/by-example/default-values-for-function-parameters/content.jsx
+++ b/swan-lake/by-example/default-values-for-function-parameters/content.jsx
@@ -54,7 +54,7 @@ export function DefaultValuesForFunctionParameters({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/default-values-for-function-parameters/default_values_for_function_parameters.md",
+ "https://play.ballerina.io/?gist=bf2411906f3e53d6cdd17573c840080c&file=default_values_for_function_parameters.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function DefaultValuesForFunctionParameters({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function DefaultValuesForFunctionParameters({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/default-values-for-function-parameters",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/default-values-for-function-parameters",
"_blank",
);
}}
diff --git a/swan-lake/by-example/default-values-for-record-fields/content.jsx b/swan-lake/by-example/default-values-for-record-fields/content.jsx
index 4d8b94381cd..63464f3d739 100644
--- a/swan-lake/by-example/default-values-for-record-fields/content.jsx
+++ b/swan-lake/by-example/default-values-for-record-fields/content.jsx
@@ -70,7 +70,7 @@ export function DefaultValuesForRecordFields({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/default-values-for-record-fields/default_values_for_record_fields.md",
+ "https://play.ballerina.io/?gist=80fb7816abc673d7115923c5d5051878&file=default_values_for_record_fields.bal",
"_blank",
);
}}
@@ -78,140 +78,16 @@ export function DefaultValuesForRecordFields({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -219,7 +95,7 @@ export function DefaultValuesForRecordFields({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/default-values-for-record-fields",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/default-values-for-record-fields",
"_blank",
);
}}
diff --git a/swan-lake/by-example/defining-classes/content.jsx b/swan-lake/by-example/defining-classes/content.jsx
index da0644ec60f..30bffb63d9f 100644
--- a/swan-lake/by-example/defining-classes/content.jsx
+++ b/swan-lake/by-example/defining-classes/content.jsx
@@ -76,7 +76,7 @@ export function DefiningClasses({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/defining-classes/defining_classes.md",
+ "https://play.ballerina.io/?gist=92ec5ff9725f85698b544abfea6bb4b8&file=defining_classes.bal",
"_blank",
);
}}
@@ -84,140 +84,16 @@ export function DefiningClasses({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -225,7 +101,7 @@ export function DefiningClasses({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/defining-classes",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/defining-classes",
"_blank",
);
}}
diff --git a/swan-lake/by-example/dependent-types/content.jsx b/swan-lake/by-example/dependent-types/content.jsx
index 13e0f3b196b..8dcfd6e43bd 100644
--- a/swan-lake/by-example/dependent-types/content.jsx
+++ b/swan-lake/by-example/dependent-types/content.jsx
@@ -58,7 +58,7 @@ export function DependentTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/dependent-types/dependent_types.md",
+ "https://play.ballerina.io/?gist=04b6e36b45a6a9657d89bdabf5e1abcc&file=dependent_types.bal",
"_blank",
);
}}
@@ -66,140 +66,16 @@ export function DependentTypes({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -207,7 +83,7 @@ export function DependentTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/dependent-types",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/dependent-types",
"_blank",
);
}}
diff --git a/swan-lake/by-example/destructure-records-using-query/content.jsx b/swan-lake/by-example/destructure-records-using-query/content.jsx
index 22afc22b75a..fb5f82b03bf 100644
--- a/swan-lake/by-example/destructure-records-using-query/content.jsx
+++ b/swan-lake/by-example/destructure-records-using-query/content.jsx
@@ -73,7 +73,7 @@ export function DestructureRecordsUsingQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/destructure-records-using-query/destructure_records_using_query.md",
+ "https://play.ballerina.io/?gist=09c7867bd9de64392e6c79da98dbebbf&file=destructure_records_using_query.bal",
"_blank",
);
}}
@@ -81,140 +81,16 @@ export function DestructureRecordsUsingQuery({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -222,7 +98,7 @@ export function DestructureRecordsUsingQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/destructure-records-using-query",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/destructure-records-using-query",
"_blank",
);
}}
diff --git a/swan-lake/by-example/directories/content.jsx b/swan-lake/by-example/directories/content.jsx
index 76aa28dceb3..88367004558 100644
--- a/swan-lake/by-example/directories/content.jsx
+++ b/swan-lake/by-example/directories/content.jsx
@@ -79,7 +79,7 @@ export function Directories({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/directories/directories.md",
+ "https://play.ballerina.io/?gist=7f93de07efa9ecea142a837c49e9b116&file=directories.bal",
"_blank",
);
}}
@@ -87,140 +87,16 @@ export function Directories({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -228,7 +104,7 @@ export function Directories({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/directories",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/directories",
"_blank",
);
}}
diff --git a/swan-lake/by-example/directory-listener/content.jsx b/swan-lake/by-example/directory-listener/content.jsx
index 19e3d02ade9..a653eb252cb 100644
--- a/swan-lake/by-example/directory-listener/content.jsx
+++ b/swan-lake/by-example/directory-listener/content.jsx
@@ -86,7 +86,7 @@ export function DirectoryListener({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/directory-listener",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/directory-listener",
"_blank",
);
}}
diff --git a/swan-lake/by-example/distinct-object-types/content.jsx b/swan-lake/by-example/distinct-object-types/content.jsx
index cdb47867efa..db7764ebd31 100644
--- a/swan-lake/by-example/distinct-object-types/content.jsx
+++ b/swan-lake/by-example/distinct-object-types/content.jsx
@@ -74,7 +74,7 @@ export function DistinctObjectTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/distinct-object-types/distinct_object_types.md",
+ "https://play.ballerina.io/?gist=f80598eaa6bae21027d65d37090e0fe8&file=distinct_object_types.bal",
"_blank",
);
}}
@@ -82,140 +82,16 @@ export function DistinctObjectTypes({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -223,7 +99,7 @@ export function DistinctObjectTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/distinct-object-types",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/distinct-object-types",
"_blank",
);
}}
diff --git a/swan-lake/by-example/docker-hello-world/content.jsx b/swan-lake/by-example/docker-hello-world/content.jsx
index 9bbd21c9fa2..7a736cfa385 100644
--- a/swan-lake/by-example/docker-hello-world/content.jsx
+++ b/swan-lake/by-example/docker-hello-world/content.jsx
@@ -67,7 +67,7 @@ export function DockerHelloWorld({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/docker-hello-world",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/docker-hello-world",
"_blank",
);
}}
@@ -166,7 +166,7 @@ export function DockerHelloWorld({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/docker-hello-world",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/docker-hello-world",
"_blank",
);
}}
diff --git a/swan-lake/by-example/documentation/content.jsx b/swan-lake/by-example/documentation/content.jsx
index 181190b77c6..40c90284f30 100644
--- a/swan-lake/by-example/documentation/content.jsx
+++ b/swan-lake/by-example/documentation/content.jsx
@@ -47,7 +47,7 @@ export function Documentation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/documentation/documentation.md",
+ "https://play.ballerina.io/?gist=1c56c6a25bcda39303bb47c5b2118422&file=documentation.bal",
"_blank",
);
}}
@@ -55,140 +55,16 @@ export function Documentation({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -196,7 +72,7 @@ export function Documentation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/documentation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/documentation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/dynamic-listener/content.jsx b/swan-lake/by-example/dynamic-listener/content.jsx
index 84fe4d358b5..1c43f1caa75 100644
--- a/swan-lake/by-example/dynamic-listener/content.jsx
+++ b/swan-lake/by-example/dynamic-listener/content.jsx
@@ -70,7 +70,7 @@ export function DynamicListener({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/dynamic-listener",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/dynamic-listener",
"_blank",
);
}}
diff --git a/swan-lake/by-example/edi-to-record/content.jsx b/swan-lake/by-example/edi-to-record/content.jsx
index a26c60d85d7..eb0c10aab16 100644
--- a/swan-lake/by-example/edi-to-record/content.jsx
+++ b/swan-lake/by-example/edi-to-record/content.jsx
@@ -101,7 +101,7 @@ export function EdiToRecord({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/edi-to-record/edi_to_record.md",
+ "https://play.ballerina.io/?gist=0f664265c8be814d057315d775a625bc&file=schema.json",
"_blank",
);
}}
@@ -109,140 +109,16 @@ export function EdiToRecord({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -250,7 +126,7 @@ export function EdiToRecord({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/edi-to-record",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/edi-to-record",
"_blank",
);
}}
@@ -338,7 +214,7 @@ export function EdiToRecord({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/edi-to-record/edi_to_record.md",
+ "https://play.ballerina.io/?gist=0f664265c8be814d057315d775a625bc&file=schema.json",
"_blank",
);
}}
@@ -346,140 +222,16 @@ export function EdiToRecord({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -487,7 +239,7 @@ export function EdiToRecord({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/edi-to-record",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/edi-to-record",
"_blank",
);
}}
@@ -577,7 +329,7 @@ export function EdiToRecord({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/edi-to-record/edi_to_record.md",
+ "https://play.ballerina.io/?gist=0f664265c8be814d057315d775a625bc&file=schema.json",
"_blank",
);
}}
@@ -585,140 +337,16 @@ export function EdiToRecord({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -726,7 +354,7 @@ export function EdiToRecord({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/edi-to-record",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/edi-to-record",
"_blank",
);
}}
@@ -1026,7 +654,7 @@ export function EdiToRecord({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/edi-to-record/edi_to_record.md",
+ "https://play.ballerina.io/?gist=f8b6a2ea534da4b993fb25b7c93ad6bf&file=edi_to_record.bal",
"_blank",
);
}}
@@ -1034,140 +662,16 @@ export function EdiToRecord({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -1175,7 +679,7 @@ export function EdiToRecord({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/edi-to-record",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/edi-to-record",
"_blank",
);
}}
diff --git a/swan-lake/by-example/email-client-ssl-tls/content.jsx b/swan-lake/by-example/email-client-ssl-tls/content.jsx
index 777cece1cf0..9126d009dc4 100644
--- a/swan-lake/by-example/email-client-ssl-tls/content.jsx
+++ b/swan-lake/by-example/email-client-ssl-tls/content.jsx
@@ -74,7 +74,7 @@ export function EmailClientSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/email-client-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/email-client-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/email-service-ssl-tls/content.jsx b/swan-lake/by-example/email-service-ssl-tls/content.jsx
index b8c6b331926..385d24cc760 100644
--- a/swan-lake/by-example/email-service-ssl-tls/content.jsx
+++ b/swan-lake/by-example/email-service-ssl-tls/content.jsx
@@ -80,7 +80,7 @@ export function EmailServiceSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/email-service-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/email-service-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/ensureType-function/content.jsx b/swan-lake/by-example/ensureType-function/content.jsx
index c128721a998..a55fc5585e2 100644
--- a/swan-lake/by-example/ensureType-function/content.jsx
+++ b/swan-lake/by-example/ensureType-function/content.jsx
@@ -54,7 +54,7 @@ export function EnsureTypeFunction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/ensureType-function/ensureType_function.md",
+ "https://play.ballerina.io/?gist=51448b3bdd4f548b6d65a5880637f5ac&file=ensureType_function.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function EnsureTypeFunction({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function EnsureTypeFunction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/ensureType-function",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/ensureType-function",
"_blank",
);
}}
diff --git a/swan-lake/by-example/enumerations/content.jsx b/swan-lake/by-example/enumerations/content.jsx
index fdc9b244323..4afac1adc53 100644
--- a/swan-lake/by-example/enumerations/content.jsx
+++ b/swan-lake/by-example/enumerations/content.jsx
@@ -61,7 +61,7 @@ export function Enumerations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/enumerations/enumerations.md",
+ "https://play.ballerina.io/?gist=b1a5d62c510728ca62a59d1a8a59a4a0&file=enumerations.bal",
"_blank",
);
}}
@@ -69,140 +69,16 @@ export function Enumerations({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -210,7 +86,7 @@ export function Enumerations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/enumerations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/enumerations",
"_blank",
);
}}
diff --git a/swan-lake/by-example/environment-variables/content.jsx b/swan-lake/by-example/environment-variables/content.jsx
index 377c694f052..c5fca1cddaa 100644
--- a/swan-lake/by-example/environment-variables/content.jsx
+++ b/swan-lake/by-example/environment-variables/content.jsx
@@ -59,7 +59,7 @@ export function EnvironmentVariables({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/environment-variables/environment_variables.md",
+ "https://play.ballerina.io/?gist=6b8f6a5bb1c7fe0566b6114c9aafa78d&file=environment_variables.bal",
"_blank",
);
}}
@@ -67,140 +67,16 @@ export function EnvironmentVariables({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -208,7 +84,7 @@ export function EnvironmentVariables({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/environment-variables",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/environment-variables",
"_blank",
);
}}
diff --git a/swan-lake/by-example/error-binding-pattern-in-match-statement/content.jsx b/swan-lake/by-example/error-binding-pattern-in-match-statement/content.jsx
index 45c08cbe52e..17c8c9386ca 100644
--- a/swan-lake/by-example/error-binding-pattern-in-match-statement/content.jsx
+++ b/swan-lake/by-example/error-binding-pattern-in-match-statement/content.jsx
@@ -88,7 +88,7 @@ export function ErrorBindingPatternInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-binding-pattern-in-match-statement/error_binding_pattern_in_match_statement.md",
+ "https://play.ballerina.io/?gist=b82343645c3817ddfb961bb8187f84ac&file=error_binding_pattern_in_match_statement.bal",
"_blank",
);
}}
@@ -96,140 +96,16 @@ export function ErrorBindingPatternInMatchStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -237,7 +113,7 @@ export function ErrorBindingPatternInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-binding-pattern-in-match-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/error-binding-pattern-in-match-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/error-binding-pattern/content.jsx b/swan-lake/by-example/error-binding-pattern/content.jsx
index c1aebacab97..060a14b1b33 100644
--- a/swan-lake/by-example/error-binding-pattern/content.jsx
+++ b/swan-lake/by-example/error-binding-pattern/content.jsx
@@ -75,7 +75,7 @@ export function ErrorBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-binding-pattern/error_binding_pattern.md",
+ "https://play.ballerina.io/?gist=659025b0e296544682ec9e0c1205f99a&file=error_binding_pattern.bal",
"_blank",
);
}}
@@ -83,140 +83,16 @@ export function ErrorBindingPattern({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -224,7 +100,7 @@ export function ErrorBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-binding-pattern",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/error-binding-pattern",
"_blank",
);
}}
diff --git a/swan-lake/by-example/error-cause/content.jsx b/swan-lake/by-example/error-cause/content.jsx
index 6e2c145309a..e03dfe08847 100644
--- a/swan-lake/by-example/error-cause/content.jsx
+++ b/swan-lake/by-example/error-cause/content.jsx
@@ -60,7 +60,7 @@ export function ErrorCause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-cause/error_cause.md",
+ "https://play.ballerina.io/?gist=7d5ecef563ab246bbc2a98ccf3120a73&file=error_cause.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function ErrorCause({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function ErrorCause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-cause",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/error-cause",
"_blank",
);
}}
diff --git a/swan-lake/by-example/error-detail/content.jsx b/swan-lake/by-example/error-detail/content.jsx
index b65e98e9f16..e32643bb68a 100644
--- a/swan-lake/by-example/error-detail/content.jsx
+++ b/swan-lake/by-example/error-detail/content.jsx
@@ -60,7 +60,7 @@ export function ErrorDetail({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-detail/error_detail.md",
+ "https://play.ballerina.io/?gist=6371bdbc08dbeb4de7f451153e9e0932&file=error_detail.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function ErrorDetail({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function ErrorDetail({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-detail",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/error-detail",
"_blank",
);
}}
diff --git a/swan-lake/by-example/error-handling/content.jsx b/swan-lake/by-example/error-handling/content.jsx
index 98b1f9c4e77..69f1244cdbf 100644
--- a/swan-lake/by-example/error-handling/content.jsx
+++ b/swan-lake/by-example/error-handling/content.jsx
@@ -64,7 +64,7 @@ export function ErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-handling/error_handling.md",
+ "https://play.ballerina.io/?gist=0bc5b5b272322fce8954fa8f58f0522d&file=error_handling.bal",
"_blank",
);
}}
@@ -72,140 +72,16 @@ export function ErrorHandling({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -213,7 +89,7 @@ export function ErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-handling",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/error-handling",
"_blank",
);
}}
diff --git a/swan-lake/by-example/error-reporting/content.jsx b/swan-lake/by-example/error-reporting/content.jsx
index 8a6c502a7ee..282b0eee4af 100644
--- a/swan-lake/by-example/error-reporting/content.jsx
+++ b/swan-lake/by-example/error-reporting/content.jsx
@@ -79,7 +79,7 @@ export function ErrorReporting({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-reporting/error_reporting.md",
+ "https://play.ballerina.io/?gist=8f3e652c3bd6d242782a7093b38289e9&file=error_reporting.bal",
"_blank",
);
}}
@@ -87,140 +87,16 @@ export function ErrorReporting({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -228,7 +104,7 @@ export function ErrorReporting({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-reporting",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/error-reporting",
"_blank",
);
}}
diff --git a/swan-lake/by-example/error-subtyping/content.jsx b/swan-lake/by-example/error-subtyping/content.jsx
index 371bc821f44..fb2d4a0666d 100644
--- a/swan-lake/by-example/error-subtyping/content.jsx
+++ b/swan-lake/by-example/error-subtyping/content.jsx
@@ -64,7 +64,7 @@ export function ErrorSubtyping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-subtyping/error_subtyping.md",
+ "https://play.ballerina.io/?gist=7a36968b5262bb6db3c2c0e8def0f1bc&file=error_subtyping.bal",
"_blank",
);
}}
@@ -72,140 +72,16 @@ export function ErrorSubtyping({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -213,7 +89,7 @@ export function ErrorSubtyping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-subtyping",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/error-subtyping",
"_blank",
);
}}
diff --git a/swan-lake/by-example/error-type-intersection/content.jsx b/swan-lake/by-example/error-type-intersection/content.jsx
index 09765bedab6..50073154362 100644
--- a/swan-lake/by-example/error-type-intersection/content.jsx
+++ b/swan-lake/by-example/error-type-intersection/content.jsx
@@ -69,7 +69,7 @@ export function ErrorTypeIntersection({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-type-intersection/error_type_intersection.md",
+ "https://play.ballerina.io/?gist=b5b5e94dd0a503bf7dd1897a767ebefe&file=error_type_intersection.bal",
"_blank",
);
}}
@@ -77,140 +77,16 @@ export function ErrorTypeIntersection({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -218,7 +94,7 @@ export function ErrorTypeIntersection({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/error-type-intersection",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/error-type-intersection",
"_blank",
);
}}
diff --git a/swan-lake/by-example/expression-oriented-style/content.jsx b/swan-lake/by-example/expression-oriented-style/content.jsx
index ad87abb4a44..6da94ab8d25 100644
--- a/swan-lake/by-example/expression-oriented-style/content.jsx
+++ b/swan-lake/by-example/expression-oriented-style/content.jsx
@@ -72,7 +72,7 @@ export function ExpressionOrientedStyle({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/expression-oriented-style/expression_oriented_style.md",
+ "https://play.ballerina.io/?gist=1cefca823cfd18b6eb78e06a81a12f76&file=expression_oriented_style.bal",
"_blank",
);
}}
@@ -80,140 +80,16 @@ export function ExpressionOrientedStyle({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -221,7 +97,7 @@ export function ExpressionOrientedStyle({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/expression-oriented-style",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/expression-oriented-style",
"_blank",
);
}}
diff --git a/swan-lake/by-example/filepaths/content.jsx b/swan-lake/by-example/filepaths/content.jsx
index aeace780821..21512db9f14 100644
--- a/swan-lake/by-example/filepaths/content.jsx
+++ b/swan-lake/by-example/filepaths/content.jsx
@@ -79,7 +79,7 @@ export function Filepaths({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/filepaths/filepaths.md",
+ "https://play.ballerina.io/?gist=39a8a4395bd1c78de01cd55f60d67142&file=filepaths.bal",
"_blank",
);
}}
@@ -87,140 +87,16 @@ export function Filepaths({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -228,7 +104,7 @@ export function Filepaths({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/filepaths",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/filepaths",
"_blank",
);
}}
diff --git a/swan-lake/by-example/files/content.jsx b/swan-lake/by-example/files/content.jsx
index 3f497cc6eac..3b9a6028d0f 100644
--- a/swan-lake/by-example/files/content.jsx
+++ b/swan-lake/by-example/files/content.jsx
@@ -83,7 +83,7 @@ export function Files({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/files/files.md",
+ "https://play.ballerina.io/?gist=031c5315e05357c9a808aed6431c1aa8&file=files.bal",
"_blank",
);
}}
@@ -91,140 +91,16 @@ export function Files({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -232,7 +108,7 @@ export function Files({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/files",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/files",
"_blank",
);
}}
diff --git a/swan-lake/by-example/filler-values-of-a-list/content.jsx b/swan-lake/by-example/filler-values-of-a-list/content.jsx
index c95ef5ff618..9178fc97412 100644
--- a/swan-lake/by-example/filler-values-of-a-list/content.jsx
+++ b/swan-lake/by-example/filler-values-of-a-list/content.jsx
@@ -60,7 +60,7 @@ export function FillerValuesOfAList({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/filler-values-of-a-list/filler_values_of_a_list.md",
+ "https://play.ballerina.io/?gist=6f177e5fbe3d6e9599756bf656ddd1d4&file=filler_values_of_a_list.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function FillerValuesOfAList({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function FillerValuesOfAList({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/filler-values-of-a-list",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/filler-values-of-a-list",
"_blank",
);
}}
diff --git a/swan-lake/by-example/floating-point-numbers/content.jsx b/swan-lake/by-example/floating-point-numbers/content.jsx
index 7ce916a93e5..d59dfdcf1e7 100644
--- a/swan-lake/by-example/floating-point-numbers/content.jsx
+++ b/swan-lake/by-example/floating-point-numbers/content.jsx
@@ -54,7 +54,7 @@ export function FloatingPointNumbers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/floating-point-numbers/floating_point_numbers.md",
+ "https://play.ballerina.io/?gist=47607b28f8a6ac63cadad6ea0fa5054e&file=floating_point_numbers.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function FloatingPointNumbers({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function FloatingPointNumbers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/floating-point-numbers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/floating-point-numbers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/flush/content.jsx b/swan-lake/by-example/flush/content.jsx
index ed96ac08f50..92fc704d8de 100644
--- a/swan-lake/by-example/flush/content.jsx
+++ b/swan-lake/by-example/flush/content.jsx
@@ -67,7 +67,7 @@ export function Flush({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/flush/flush.md",
+ "https://play.ballerina.io/?gist=9339b41f61eaee766f0eb3be314c2814&file=flush.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function Flush({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function Flush({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/flush",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/flush",
"_blank",
);
}}
diff --git a/swan-lake/by-example/foreach-statement/content.jsx b/swan-lake/by-example/foreach-statement/content.jsx
index 02b903dafff..d23c087bb37 100644
--- a/swan-lake/by-example/foreach-statement/content.jsx
+++ b/swan-lake/by-example/foreach-statement/content.jsx
@@ -73,7 +73,7 @@ export function ForeachStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/foreach-statement/foreach_statement.md",
+ "https://play.ballerina.io/?gist=ee471c05fcc1e445d69001b581c3fc63&file=foreach_statement.bal",
"_blank",
);
}}
@@ -81,140 +81,16 @@ export function ForeachStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -222,7 +98,7 @@ export function ForeachStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/foreach-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/foreach-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/ftp-client-receive-file/content.jsx b/swan-lake/by-example/ftp-client-receive-file/content.jsx
index 5f1268024bd..536c696d26b 100644
--- a/swan-lake/by-example/ftp-client-receive-file/content.jsx
+++ b/swan-lake/by-example/ftp-client-receive-file/content.jsx
@@ -65,7 +65,7 @@ export function FtpClientReceiveFile({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/ftp-client-receive-file",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/ftp-client-receive-file",
"_blank",
);
}}
diff --git a/swan-lake/by-example/ftp-client-send-file/content.jsx b/swan-lake/by-example/ftp-client-send-file/content.jsx
index a25202083b7..7ed45302587 100644
--- a/swan-lake/by-example/ftp-client-send-file/content.jsx
+++ b/swan-lake/by-example/ftp-client-send-file/content.jsx
@@ -64,7 +64,7 @@ export function FtpClientSendFile({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/ftp-client-send-file",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/ftp-client-send-file",
"_blank",
);
}}
diff --git a/swan-lake/by-example/ftp-service-receive-file/content.jsx b/swan-lake/by-example/ftp-service-receive-file/content.jsx
index b41ed94b4b3..2f98a130067 100644
--- a/swan-lake/by-example/ftp-service-receive-file/content.jsx
+++ b/swan-lake/by-example/ftp-service-receive-file/content.jsx
@@ -80,7 +80,7 @@ export function FtpServiceReceiveFile({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/ftp-service-receive-file",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/ftp-service-receive-file",
"_blank",
);
}}
diff --git a/swan-lake/by-example/ftp-service-send-file/content.jsx b/swan-lake/by-example/ftp-service-send-file/content.jsx
index f68c3a8d37d..2406379fb84 100644
--- a/swan-lake/by-example/ftp-service-send-file/content.jsx
+++ b/swan-lake/by-example/ftp-service-send-file/content.jsx
@@ -75,7 +75,7 @@ export function FtpServiceSendFile({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/ftp-service-send-file",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/ftp-service-send-file",
"_blank",
);
}}
diff --git a/swan-lake/by-example/function-closure/content.jsx b/swan-lake/by-example/function-closure/content.jsx
index 49c6e2f0e63..6e14d249d16 100644
--- a/swan-lake/by-example/function-closure/content.jsx
+++ b/swan-lake/by-example/function-closure/content.jsx
@@ -51,7 +51,7 @@ export function FunctionClosure({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/function-closure/function_closure.md",
+ "https://play.ballerina.io/?gist=a0fed17140a254ccf02558a197a7a627&file=function_closure.bal",
"_blank",
);
}}
@@ -59,140 +59,16 @@ export function FunctionClosure({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -200,7 +76,7 @@ export function FunctionClosure({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/function-closure",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/function-closure",
"_blank",
);
}}
diff --git a/swan-lake/by-example/function-pointers/content.jsx b/swan-lake/by-example/function-pointers/content.jsx
index 10f7eff0dc7..910d47aeb8f 100644
--- a/swan-lake/by-example/function-pointers/content.jsx
+++ b/swan-lake/by-example/function-pointers/content.jsx
@@ -64,7 +64,7 @@ export function FunctionPointers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/function-pointers/function_pointers.md",
+ "https://play.ballerina.io/?gist=c82b6908ca17f14e7c6bbea6c31d1b72&file=function_pointers.bal",
"_blank",
);
}}
@@ -72,140 +72,16 @@ export function FunctionPointers({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -213,7 +89,7 @@ export function FunctionPointers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/function-pointers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/function-pointers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/function-types/content.jsx b/swan-lake/by-example/function-types/content.jsx
index d932f6ceba6..4d4c5555b48 100644
--- a/swan-lake/by-example/function-types/content.jsx
+++ b/swan-lake/by-example/function-types/content.jsx
@@ -76,7 +76,7 @@ export function FunctionTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/function-types/function_types.md",
+ "https://play.ballerina.io/?gist=2672c7ff52ad532afd6023106330e89e&file=function_types.bal",
"_blank",
);
}}
@@ -84,140 +84,16 @@ export function FunctionTypes({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -225,7 +101,7 @@ export function FunctionTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/function-types",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/function-types",
"_blank",
);
}}
diff --git a/swan-lake/by-example/function-values/content.jsx b/swan-lake/by-example/function-values/content.jsx
index 877a5ea363c..c7fbb52de74 100644
--- a/swan-lake/by-example/function-values/content.jsx
+++ b/swan-lake/by-example/function-values/content.jsx
@@ -52,7 +52,7 @@ export function FunctionValues({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/function-values/function_values.md",
+ "https://play.ballerina.io/?gist=a4b72667f7857271451eebd4a6e29c42&file=function_values.bal",
"_blank",
);
}}
@@ -60,140 +60,16 @@ export function FunctionValues({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -201,7 +77,7 @@ export function FunctionValues({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/function-values",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/function-values",
"_blank",
);
}}
diff --git a/swan-lake/by-example/functions/content.jsx b/swan-lake/by-example/functions/content.jsx
index d5646d78b80..b25ce65dd89 100644
--- a/swan-lake/by-example/functions/content.jsx
+++ b/swan-lake/by-example/functions/content.jsx
@@ -77,7 +77,7 @@ export function Functions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/functions/functions.md",
+ "https://play.ballerina.io/?gist=86ad158f6fdab17112a1f6568d5d90d8&file=functions.bal",
"_blank",
);
}}
@@ -85,140 +85,16 @@ export function Functions({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -226,7 +102,7 @@ export function Functions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/functions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/functions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/gauge-metrics/content.jsx b/swan-lake/by-example/gauge-metrics/content.jsx
index 7435e2ee076..2d5feac214d 100644
--- a/swan-lake/by-example/gauge-metrics/content.jsx
+++ b/swan-lake/by-example/gauge-metrics/content.jsx
@@ -171,7 +171,7 @@ export function GaugeMetrics({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/gauge-metrics",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/gauge-metrics",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-client-error-handling/content.jsx b/swan-lake/by-example/graphql-client-error-handling/content.jsx
index 1bcbd127b77..58383541503 100644
--- a/swan-lake/by-example/graphql-client-error-handling/content.jsx
+++ b/swan-lake/by-example/graphql-client-error-handling/content.jsx
@@ -83,7 +83,7 @@ export function GraphqlClientErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-client-error-handling",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-client-error-handling",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-client-handle-partial-response/content.jsx b/swan-lake/by-example/graphql-client-handle-partial-response/content.jsx
index 798a033123c..7a3fe7be03b 100644
--- a/swan-lake/by-example/graphql-client-handle-partial-response/content.jsx
+++ b/swan-lake/by-example/graphql-client-handle-partial-response/content.jsx
@@ -82,7 +82,7 @@ export function GraphqlClientHandlePartialResponse({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-client-handle-partial-response",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-client-handle-partial-response",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-client-query-endpoint/content.jsx b/swan-lake/by-example/graphql-client-query-endpoint/content.jsx
index 993121685c6..ae9ec02d6bb 100644
--- a/swan-lake/by-example/graphql-client-query-endpoint/content.jsx
+++ b/swan-lake/by-example/graphql-client-query-endpoint/content.jsx
@@ -70,7 +70,7 @@ export function GraphqlClientQueryEndpoint({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-client-query-endpoint",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-client-query-endpoint",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-client-security-basic-auth/content.jsx b/swan-lake/by-example/graphql-client-security-basic-auth/content.jsx
index d3d66daf141..710a400b7e5 100644
--- a/swan-lake/by-example/graphql-client-security-basic-auth/content.jsx
+++ b/swan-lake/by-example/graphql-client-security-basic-auth/content.jsx
@@ -73,7 +73,7 @@ export function GraphqlClientSecurityBasicAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-client-security-basic-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-client-security-basic-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-client-security-mutual-ssl/content.jsx b/swan-lake/by-example/graphql-client-security-mutual-ssl/content.jsx
index 611eee86537..061c5c58f07 100644
--- a/swan-lake/by-example/graphql-client-security-mutual-ssl/content.jsx
+++ b/swan-lake/by-example/graphql-client-security-mutual-ssl/content.jsx
@@ -77,7 +77,7 @@ export function GraphqlClientSecurityMutualSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-client-security-mutual-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-client-security-mutual-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-client-security-oauth2-password-grant-type/content.jsx b/swan-lake/by-example/graphql-client-security-oauth2-password-grant-type/content.jsx
index 5eaf8714d95..cb454076f9a 100644
--- a/swan-lake/by-example/graphql-client-security-oauth2-password-grant-type/content.jsx
+++ b/swan-lake/by-example/graphql-client-security-oauth2-password-grant-type/content.jsx
@@ -84,7 +84,7 @@ export function GraphqlClientSecurityOauth2PasswordGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-client-security-oauth2-password-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-client-security-oauth2-password-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-client-security-self-signed-jwt-authentication/content.jsx b/swan-lake/by-example/graphql-client-security-self-signed-jwt-authentication/content.jsx
index 82ce914475b..caee2eb48eb 100644
--- a/swan-lake/by-example/graphql-client-security-self-signed-jwt-authentication/content.jsx
+++ b/swan-lake/by-example/graphql-client-security-self-signed-jwt-authentication/content.jsx
@@ -85,7 +85,7 @@ export function GraphqlClientSecuritySelfSignedJwtAuthentication({
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-client-security-self-signed-jwt-authentication",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-client-security-self-signed-jwt-authentication",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-client-security-ssl-tls/content.jsx b/swan-lake/by-example/graphql-client-security-ssl-tls/content.jsx
index d541f9ff931..78b52ca841c 100644
--- a/swan-lake/by-example/graphql-client-security-ssl-tls/content.jsx
+++ b/swan-lake/by-example/graphql-client-security-ssl-tls/content.jsx
@@ -67,7 +67,7 @@ export function GraphqlClientSecuritySslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-client-security-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-client-security-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-context/content.jsx b/swan-lake/by-example/graphql-context/content.jsx
index 2bfd47a7498..653e41af82a 100644
--- a/swan-lake/by-example/graphql-context/content.jsx
+++ b/swan-lake/by-example/graphql-context/content.jsx
@@ -122,7 +122,7 @@ export function GraphqlContext({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-context",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-context",
"_blank",
);
}}
@@ -271,7 +271,7 @@ export function GraphqlContext({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-context",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-context",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-dataloader/content.jsx b/swan-lake/by-example/graphql-dataloader/content.jsx
index b6296de3355..c1b3eb5aee5 100644
--- a/swan-lake/by-example/graphql-dataloader/content.jsx
+++ b/swan-lake/by-example/graphql-dataloader/content.jsx
@@ -156,7 +156,7 @@ export function GraphqlDataloader({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-dataloader",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-dataloader",
"_blank",
);
}}
@@ -306,7 +306,7 @@ export function GraphqlDataloader({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-dataloader",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-dataloader",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-directives/content.jsx b/swan-lake/by-example/graphql-directives/content.jsx
index 4d009a55768..ac7fa24b313 100644
--- a/swan-lake/by-example/graphql-directives/content.jsx
+++ b/swan-lake/by-example/graphql-directives/content.jsx
@@ -143,7 +143,7 @@ export function GraphqlDirectives({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-directives",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-directives",
"_blank",
);
}}
@@ -299,7 +299,7 @@ export function GraphqlDirectives({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-directives",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-directives",
"_blank",
);
}}
@@ -453,7 +453,7 @@ export function GraphqlDirectives({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-directives",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-directives",
"_blank",
);
}}
@@ -604,7 +604,7 @@ export function GraphqlDirectives({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-directives",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-directives",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-documentation/content.jsx b/swan-lake/by-example/graphql-documentation/content.jsx
index 17887cebe5d..6f48271e517 100644
--- a/swan-lake/by-example/graphql-documentation/content.jsx
+++ b/swan-lake/by-example/graphql-documentation/content.jsx
@@ -91,7 +91,7 @@ export function GraphqlDocumentation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-documentation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-documentation",
"_blank",
);
}}
@@ -241,7 +241,7 @@ export function GraphqlDocumentation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-documentation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-documentation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-field-interceptors/content.jsx b/swan-lake/by-example/graphql-field-interceptors/content.jsx
index d64386ff057..334e2fe9908 100644
--- a/swan-lake/by-example/graphql-field-interceptors/content.jsx
+++ b/swan-lake/by-example/graphql-field-interceptors/content.jsx
@@ -100,7 +100,7 @@ export function GraphqlFieldInterceptors({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-field-interceptors",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-field-interceptors",
"_blank",
);
}}
@@ -253,7 +253,7 @@ export function GraphqlFieldInterceptors({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-field-interceptors",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-field-interceptors",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-file-upload/content.jsx b/swan-lake/by-example/graphql-file-upload/content.jsx
index 93ac85033fe..fcac556a50c 100644
--- a/swan-lake/by-example/graphql-file-upload/content.jsx
+++ b/swan-lake/by-example/graphql-file-upload/content.jsx
@@ -70,7 +70,7 @@ export function GraphqlFileUpload({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-file-upload",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-file-upload",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-graphiql/content.jsx b/swan-lake/by-example/graphql-graphiql/content.jsx
index f1547c0e23d..954e2097e20 100644
--- a/swan-lake/by-example/graphql-graphiql/content.jsx
+++ b/swan-lake/by-example/graphql-graphiql/content.jsx
@@ -59,7 +59,7 @@ export function GraphqlGraphiql({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-graphiql",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-graphiql",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-hello-world/content.jsx b/swan-lake/by-example/graphql-hello-world/content.jsx
index cc51b0d5a0f..186a19b596b 100644
--- a/swan-lake/by-example/graphql-hello-world/content.jsx
+++ b/swan-lake/by-example/graphql-hello-world/content.jsx
@@ -67,7 +67,7 @@ export function GraphqlHelloWorld({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-hello-world",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-hello-world",
"_blank",
);
}}
@@ -216,7 +216,7 @@ export function GraphqlHelloWorld({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-hello-world",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-hello-world",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-hierarchical-resource-paths/content.jsx b/swan-lake/by-example/graphql-hierarchical-resource-paths/content.jsx
index a17d031d43a..9077f82bc60 100644
--- a/swan-lake/by-example/graphql-hierarchical-resource-paths/content.jsx
+++ b/swan-lake/by-example/graphql-hierarchical-resource-paths/content.jsx
@@ -79,7 +79,7 @@ export function GraphqlHierarchicalResourcePaths({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-hierarchical-resource-paths",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-hierarchical-resource-paths",
"_blank",
);
}}
@@ -228,7 +228,7 @@ export function GraphqlHierarchicalResourcePaths({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-hierarchical-resource-paths",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-hierarchical-resource-paths",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-input-constraint-validation/content.jsx b/swan-lake/by-example/graphql-input-constraint-validation/content.jsx
index a82ea47b6d7..ed995d91386 100644
--- a/swan-lake/by-example/graphql-input-constraint-validation/content.jsx
+++ b/swan-lake/by-example/graphql-input-constraint-validation/content.jsx
@@ -75,7 +75,7 @@ export function GraphqlInputConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-input-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-input-constraint-validation",
"_blank",
);
}}
@@ -224,7 +224,7 @@ export function GraphqlInputConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-input-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-input-constraint-validation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-input-objects/content.jsx b/swan-lake/by-example/graphql-input-objects/content.jsx
index 2022be202eb..dde1d8a546c 100644
--- a/swan-lake/by-example/graphql-input-objects/content.jsx
+++ b/swan-lake/by-example/graphql-input-objects/content.jsx
@@ -83,7 +83,7 @@ export function GraphqlInputObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-input-objects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-input-objects",
"_blank",
);
}}
@@ -232,7 +232,7 @@ export function GraphqlInputObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-input-objects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-input-objects",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-input-types/content.jsx b/swan-lake/by-example/graphql-input-types/content.jsx
index 6dce40a873b..3ad2c9a2ec9 100644
--- a/swan-lake/by-example/graphql-input-types/content.jsx
+++ b/swan-lake/by-example/graphql-input-types/content.jsx
@@ -55,7 +55,7 @@ export function GraphqlInputTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-input-types",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-input-types",
"_blank",
);
}}
@@ -204,7 +204,7 @@ export function GraphqlInputTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-input-types",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-input-types",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-interceptor-configurations/content.jsx b/swan-lake/by-example/graphql-interceptor-configurations/content.jsx
index 3f86bc5c7ab..2e4d8d5304a 100644
--- a/swan-lake/by-example/graphql-interceptor-configurations/content.jsx
+++ b/swan-lake/by-example/graphql-interceptor-configurations/content.jsx
@@ -136,7 +136,7 @@ export function GraphqlInterceptorConfigurations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-interceptor-configurations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-interceptor-configurations",
"_blank",
);
}}
@@ -287,7 +287,7 @@ export function GraphqlInterceptorConfigurations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-interceptor-configurations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-interceptor-configurations",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-interfaces-implementing-interfaces/content.jsx b/swan-lake/by-example/graphql-interfaces-implementing-interfaces/content.jsx
index c6a406df672..016f8c421f3 100644
--- a/swan-lake/by-example/graphql-interfaces-implementing-interfaces/content.jsx
+++ b/swan-lake/by-example/graphql-interfaces-implementing-interfaces/content.jsx
@@ -115,7 +115,7 @@ export function GraphqlInterfacesImplementingInterfaces({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-interfaces-implementing-interfaces",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-interfaces-implementing-interfaces",
"_blank",
);
}}
@@ -264,7 +264,7 @@ export function GraphqlInterfacesImplementingInterfaces({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-interfaces-implementing-interfaces",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-interfaces-implementing-interfaces",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-interfaces/content.jsx b/swan-lake/by-example/graphql-interfaces/content.jsx
index 05ec3bdd198..e884d426466 100644
--- a/swan-lake/by-example/graphql-interfaces/content.jsx
+++ b/swan-lake/by-example/graphql-interfaces/content.jsx
@@ -112,7 +112,7 @@ export function GraphqlInterfaces({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-interfaces",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-interfaces",
"_blank",
);
}}
@@ -261,7 +261,7 @@ export function GraphqlInterfaces({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-interfaces",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-interfaces",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-mutations/content.jsx b/swan-lake/by-example/graphql-mutations/content.jsx
index bc8d93416db..10de7292e42 100644
--- a/swan-lake/by-example/graphql-mutations/content.jsx
+++ b/swan-lake/by-example/graphql-mutations/content.jsx
@@ -103,7 +103,7 @@ export function GraphqlMutations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-mutations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-mutations",
"_blank",
);
}}
@@ -250,7 +250,7 @@ export function GraphqlMutations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-mutations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-mutations",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-returning-record-values/content.jsx b/swan-lake/by-example/graphql-returning-record-values/content.jsx
index c98fdb86e9f..7e836fd2fef 100644
--- a/swan-lake/by-example/graphql-returning-record-values/content.jsx
+++ b/swan-lake/by-example/graphql-returning-record-values/content.jsx
@@ -87,7 +87,7 @@ export function GraphqlReturningRecordValues({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-returning-record-values",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-returning-record-values",
"_blank",
);
}}
@@ -236,7 +236,7 @@ export function GraphqlReturningRecordValues({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-returning-record-values",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-returning-record-values",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-returning-service-objects/content.jsx b/swan-lake/by-example/graphql-returning-service-objects/content.jsx
index 48063ff33d6..f2bff34fd8b 100644
--- a/swan-lake/by-example/graphql-returning-service-objects/content.jsx
+++ b/swan-lake/by-example/graphql-returning-service-objects/content.jsx
@@ -89,7 +89,7 @@ export function GraphqlReturningServiceObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-returning-service-objects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-returning-service-objects",
"_blank",
);
}}
@@ -238,7 +238,7 @@ export function GraphqlReturningServiceObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-returning-service-objects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-returning-service-objects",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-service-basic-auth-file-user-store/content.jsx b/swan-lake/by-example/graphql-service-basic-auth-file-user-store/content.jsx
index 87d10e11075..aa2896be674 100644
--- a/swan-lake/by-example/graphql-service-basic-auth-file-user-store/content.jsx
+++ b/swan-lake/by-example/graphql-service-basic-auth-file-user-store/content.jsx
@@ -102,7 +102,7 @@ export function GraphqlServiceBasicAuthFileUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-basic-auth-file-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-basic-auth-file-user-store",
"_blank",
);
}}
@@ -194,7 +194,7 @@ export function GraphqlServiceBasicAuthFileUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-basic-auth-file-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-basic-auth-file-user-store",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-service-basic-auth-ldap-user-store/content.jsx b/swan-lake/by-example/graphql-service-basic-auth-ldap-user-store/content.jsx
index 5ce66c85961..0a809b4e98e 100644
--- a/swan-lake/by-example/graphql-service-basic-auth-ldap-user-store/content.jsx
+++ b/swan-lake/by-example/graphql-service-basic-auth-ldap-user-store/content.jsx
@@ -105,7 +105,7 @@ export function GraphqlServiceBasicAuthLdapUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-basic-auth-ldap-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-basic-auth-ldap-user-store",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-service-error-handling/content.jsx b/swan-lake/by-example/graphql-service-error-handling/content.jsx
index a8b2b621b03..3a15f597431 100644
--- a/swan-lake/by-example/graphql-service-error-handling/content.jsx
+++ b/swan-lake/by-example/graphql-service-error-handling/content.jsx
@@ -115,7 +115,7 @@ export function GraphqlServiceErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-error-handling",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-error-handling",
"_blank",
);
}}
@@ -264,7 +264,7 @@ export function GraphqlServiceErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-error-handling",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-error-handling",
"_blank",
);
}}
@@ -420,7 +420,7 @@ export function GraphqlServiceErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-error-handling",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-error-handling",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-service-field-object/content.jsx b/swan-lake/by-example/graphql-service-field-object/content.jsx
index dfa3e74771d..ce80b61558d 100644
--- a/swan-lake/by-example/graphql-service-field-object/content.jsx
+++ b/swan-lake/by-example/graphql-service-field-object/content.jsx
@@ -138,7 +138,7 @@ export function GraphqlServiceFieldObject({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-field-object",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-field-object",
"_blank",
);
}}
@@ -287,7 +287,7 @@ export function GraphqlServiceFieldObject({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-field-object",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-field-object",
"_blank",
);
}}
@@ -506,7 +506,7 @@ export function GraphqlServiceFieldObject({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-field-object",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-field-object",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-service-interceptors/content.jsx b/swan-lake/by-example/graphql-service-interceptors/content.jsx
index 8590e28e59e..49248516c5a 100644
--- a/swan-lake/by-example/graphql-service-interceptors/content.jsx
+++ b/swan-lake/by-example/graphql-service-interceptors/content.jsx
@@ -105,7 +105,7 @@ export function GraphqlServiceInterceptors({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-interceptors",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-interceptors",
"_blank",
);
}}
@@ -258,7 +258,7 @@ export function GraphqlServiceInterceptors({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-interceptors",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-interceptors",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-service-jwt-auth/content.jsx b/swan-lake/by-example/graphql-service-jwt-auth/content.jsx
index 6df9f9b1d1c..96b5eb6a4e2 100644
--- a/swan-lake/by-example/graphql-service-jwt-auth/content.jsx
+++ b/swan-lake/by-example/graphql-service-jwt-auth/content.jsx
@@ -87,7 +87,7 @@ export function GraphqlServiceJwtAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-jwt-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-jwt-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-service-mutual-ssl/content.jsx b/swan-lake/by-example/graphql-service-mutual-ssl/content.jsx
index 83b0d67187f..640f1139a9e 100644
--- a/swan-lake/by-example/graphql-service-mutual-ssl/content.jsx
+++ b/swan-lake/by-example/graphql-service-mutual-ssl/content.jsx
@@ -77,7 +77,7 @@ export function GraphqlServiceMutualSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-mutual-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-mutual-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-service-oauth2/content.jsx b/swan-lake/by-example/graphql-service-oauth2/content.jsx
index 667d8e9ecfe..fd92d950502 100644
--- a/swan-lake/by-example/graphql-service-oauth2/content.jsx
+++ b/swan-lake/by-example/graphql-service-oauth2/content.jsx
@@ -92,7 +92,7 @@ export function GraphqlServiceOauth2({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-oauth2",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-oauth2",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-service-ssl-tls/content.jsx b/swan-lake/by-example/graphql-service-ssl-tls/content.jsx
index 76892445ace..b41b3091129 100644
--- a/swan-lake/by-example/graphql-service-ssl-tls/content.jsx
+++ b/swan-lake/by-example/graphql-service-ssl-tls/content.jsx
@@ -64,7 +64,7 @@ export function GraphqlServiceSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-service-union-types/content.jsx b/swan-lake/by-example/graphql-service-union-types/content.jsx
index 684d0372f6e..7cc82c75640 100644
--- a/swan-lake/by-example/graphql-service-union-types/content.jsx
+++ b/swan-lake/by-example/graphql-service-union-types/content.jsx
@@ -116,7 +116,7 @@ export function GraphqlServiceUnionTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-union-types",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-union-types",
"_blank",
);
}}
@@ -265,7 +265,7 @@ export function GraphqlServiceUnionTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-service-union-types",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-service-union-types",
"_blank",
);
}}
diff --git a/swan-lake/by-example/graphql-subscriptions/content.jsx b/swan-lake/by-example/graphql-subscriptions/content.jsx
index 2ee2d416f50..254eb5d345b 100644
--- a/swan-lake/by-example/graphql-subscriptions/content.jsx
+++ b/swan-lake/by-example/graphql-subscriptions/content.jsx
@@ -90,7 +90,7 @@ export function GraphqlSubscriptions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-subscriptions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-subscriptions",
"_blank",
);
}}
@@ -241,7 +241,7 @@ export function GraphqlSubscriptions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/graphql-subscriptions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/graphql-subscriptions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-basic-auth/content.jsx b/swan-lake/by-example/grpc-client-basic-auth/content.jsx
index 092f6433092..7753a62f175 100644
--- a/swan-lake/by-example/grpc-client-basic-auth/content.jsx
+++ b/swan-lake/by-example/grpc-client-basic-auth/content.jsx
@@ -55,7 +55,7 @@ export function GrpcClientBasicAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-basic-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-basic-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-bearer-token-auth/content.jsx b/swan-lake/by-example/grpc-client-bearer-token-auth/content.jsx
index 8d08dae32f8..1d175c15cd7 100644
--- a/swan-lake/by-example/grpc-client-bearer-token-auth/content.jsx
+++ b/swan-lake/by-example/grpc-client-bearer-token-auth/content.jsx
@@ -54,7 +54,7 @@ export function GrpcClientBearerTokenAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-bearer-token-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-bearer-token-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-bidirectional-streaming/content.jsx b/swan-lake/by-example/grpc-client-bidirectional-streaming/content.jsx
index fd0da65cedd..58970188aff 100644
--- a/swan-lake/by-example/grpc-client-bidirectional-streaming/content.jsx
+++ b/swan-lake/by-example/grpc-client-bidirectional-streaming/content.jsx
@@ -104,7 +104,7 @@ export function GrpcClientBidirectionalStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-bidirectional-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-bidirectional-streaming",
"_blank",
);
}}
@@ -198,7 +198,7 @@ export function GrpcClientBidirectionalStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-bidirectional-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-bidirectional-streaming",
"_blank",
);
}}
@@ -338,7 +338,7 @@ export function GrpcClientBidirectionalStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-bidirectional-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-bidirectional-streaming",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-client-streaming/content.jsx b/swan-lake/by-example/grpc-client-client-streaming/content.jsx
index 61bba1daf1e..79ae2ce6524 100644
--- a/swan-lake/by-example/grpc-client-client-streaming/content.jsx
+++ b/swan-lake/by-example/grpc-client-client-streaming/content.jsx
@@ -87,7 +87,7 @@ export function GrpcClientClientStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-client-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-client-streaming",
"_blank",
);
}}
@@ -295,7 +295,7 @@ export function GrpcClientClientStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-client-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-client-streaming",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-headers/content.jsx b/swan-lake/by-example/grpc-client-headers/content.jsx
index fe19bc3383c..0fe634610b7 100644
--- a/swan-lake/by-example/grpc-client-headers/content.jsx
+++ b/swan-lake/by-example/grpc-client-headers/content.jsx
@@ -68,7 +68,7 @@ export function GrpcClientHeaders({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-headers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-headers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-mutual-ssl/content.jsx b/swan-lake/by-example/grpc-client-mutual-ssl/content.jsx
index 20f6ac6630a..9f1c85e091d 100644
--- a/swan-lake/by-example/grpc-client-mutual-ssl/content.jsx
+++ b/swan-lake/by-example/grpc-client-mutual-ssl/content.jsx
@@ -61,7 +61,7 @@ export function GrpcClientMutualSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-mutual-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-mutual-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-oauth2-client-credentials-grant-type/content.jsx b/swan-lake/by-example/grpc-client-oauth2-client-credentials-grant-type/content.jsx
index 04bec5461c7..cc25d27719a 100644
--- a/swan-lake/by-example/grpc-client-oauth2-client-credentials-grant-type/content.jsx
+++ b/swan-lake/by-example/grpc-client-oauth2-client-credentials-grant-type/content.jsx
@@ -62,7 +62,7 @@ export function GrpcClientOauth2ClientCredentialsGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-oauth2-client-credentials-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-oauth2-client-credentials-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-oauth2-jwt-bearer-grant-type/content.jsx b/swan-lake/by-example/grpc-client-oauth2-jwt-bearer-grant-type/content.jsx
index 59e189cdb0a..532133658bf 100644
--- a/swan-lake/by-example/grpc-client-oauth2-jwt-bearer-grant-type/content.jsx
+++ b/swan-lake/by-example/grpc-client-oauth2-jwt-bearer-grant-type/content.jsx
@@ -63,7 +63,7 @@ export function GrpcClientOauth2JwtBearerGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-oauth2-jwt-bearer-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-oauth2-jwt-bearer-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-oauth2-password-grant-type/content.jsx b/swan-lake/by-example/grpc-client-oauth2-password-grant-type/content.jsx
index 4988bd56d64..b5760b192f6 100644
--- a/swan-lake/by-example/grpc-client-oauth2-password-grant-type/content.jsx
+++ b/swan-lake/by-example/grpc-client-oauth2-password-grant-type/content.jsx
@@ -67,7 +67,7 @@ export function GrpcClientOauth2PasswordGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-oauth2-password-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-oauth2-password-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-oauth2-refresh-token-grant-type/content.jsx b/swan-lake/by-example/grpc-client-oauth2-refresh-token-grant-type/content.jsx
index d2b3143f9f5..c02ca23665e 100644
--- a/swan-lake/by-example/grpc-client-oauth2-refresh-token-grant-type/content.jsx
+++ b/swan-lake/by-example/grpc-client-oauth2-refresh-token-grant-type/content.jsx
@@ -64,7 +64,7 @@ export function GrpcClientOauth2RefreshTokenGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-oauth2-refresh-token-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-oauth2-refresh-token-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-self-signed-jwt-auth/content.jsx b/swan-lake/by-example/grpc-client-self-signed-jwt-auth/content.jsx
index 7df91d47af5..999dce4293c 100644
--- a/swan-lake/by-example/grpc-client-self-signed-jwt-auth/content.jsx
+++ b/swan-lake/by-example/grpc-client-self-signed-jwt-auth/content.jsx
@@ -65,7 +65,7 @@ export function GrpcClientSelfSignedJwtAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-self-signed-jwt-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-self-signed-jwt-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-server-streaming/content.jsx b/swan-lake/by-example/grpc-client-server-streaming/content.jsx
index cbd5949f9ae..4ddaac589f3 100644
--- a/swan-lake/by-example/grpc-client-server-streaming/content.jsx
+++ b/swan-lake/by-example/grpc-client-server-streaming/content.jsx
@@ -77,7 +77,7 @@ export function GrpcClientServerStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-server-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-server-streaming",
"_blank",
);
}}
@@ -285,7 +285,7 @@ export function GrpcClientServerStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-server-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-server-streaming",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-set-deadline/content.jsx b/swan-lake/by-example/grpc-client-set-deadline/content.jsx
index f6f668f7afe..f3e6c2ed87b 100644
--- a/swan-lake/by-example/grpc-client-set-deadline/content.jsx
+++ b/swan-lake/by-example/grpc-client-set-deadline/content.jsx
@@ -57,7 +57,7 @@ export function GrpcClientSetDeadline({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-set-deadline",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-set-deadline",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-simple/content.jsx b/swan-lake/by-example/grpc-client-simple/content.jsx
index f0218580aa0..ec12329e727 100644
--- a/swan-lake/by-example/grpc-client-simple/content.jsx
+++ b/swan-lake/by-example/grpc-client-simple/content.jsx
@@ -72,7 +72,7 @@ export function GrpcClientSimple({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-simple",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-simple",
"_blank",
);
}}
@@ -278,7 +278,7 @@ export function GrpcClientSimple({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-simple",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-simple",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-client-ssl-tls/content.jsx b/swan-lake/by-example/grpc-client-ssl-tls/content.jsx
index 84b2968081a..e19e16d84fb 100644
--- a/swan-lake/by-example/grpc-client-ssl-tls/content.jsx
+++ b/swan-lake/by-example/grpc-client-ssl-tls/content.jsx
@@ -49,7 +49,7 @@ export function GrpcClientSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-client-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-client-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-server-reflection/content.jsx b/swan-lake/by-example/grpc-server-reflection/content.jsx
index b942f6ce677..2fd82503942 100644
--- a/swan-lake/by-example/grpc-server-reflection/content.jsx
+++ b/swan-lake/by-example/grpc-server-reflection/content.jsx
@@ -52,7 +52,7 @@ export function GrpcServerReflection({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-server-reflection",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-server-reflection",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-basic-auth-file-user-store/content.jsx b/swan-lake/by-example/grpc-service-basic-auth-file-user-store/content.jsx
index 0eb053d5875..a25c674647a 100644
--- a/swan-lake/by-example/grpc-service-basic-auth-file-user-store/content.jsx
+++ b/swan-lake/by-example/grpc-service-basic-auth-file-user-store/content.jsx
@@ -97,7 +97,7 @@ export function GrpcServiceBasicAuthFileUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-basic-auth-file-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-basic-auth-file-user-store",
"_blank",
);
}}
@@ -193,7 +193,7 @@ export function GrpcServiceBasicAuthFileUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-basic-auth-file-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-basic-auth-file-user-store",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-basic-auth-ldap-user-store/content.jsx b/swan-lake/by-example/grpc-service-basic-auth-ldap-user-store/content.jsx
index e21bb415dec..c8b43326500 100644
--- a/swan-lake/by-example/grpc-service-basic-auth-ldap-user-store/content.jsx
+++ b/swan-lake/by-example/grpc-service-basic-auth-ldap-user-store/content.jsx
@@ -100,7 +100,7 @@ export function GrpcServiceBasicAuthLdapUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-basic-auth-ldap-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-basic-auth-ldap-user-store",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-bidirectional-streaming/content.jsx b/swan-lake/by-example/grpc-service-bidirectional-streaming/content.jsx
index be1c5ff4e9c..92052f2fd8d 100644
--- a/swan-lake/by-example/grpc-service-bidirectional-streaming/content.jsx
+++ b/swan-lake/by-example/grpc-service-bidirectional-streaming/content.jsx
@@ -98,7 +98,7 @@ export function GrpcServiceBidirectionalStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-bidirectional-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-bidirectional-streaming",
"_blank",
);
}}
@@ -192,7 +192,7 @@ export function GrpcServiceBidirectionalStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-bidirectional-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-bidirectional-streaming",
"_blank",
);
}}
@@ -317,7 +317,7 @@ export function GrpcServiceBidirectionalStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-bidirectional-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-bidirectional-streaming",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-check-deadline/content.jsx b/swan-lake/by-example/grpc-service-check-deadline/content.jsx
index 07b5890b9b6..15aa387e539 100644
--- a/swan-lake/by-example/grpc-service-check-deadline/content.jsx
+++ b/swan-lake/by-example/grpc-service-check-deadline/content.jsx
@@ -57,7 +57,7 @@ export function GrpcServiceCheckDeadline({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-check-deadline",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-check-deadline",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-client-streaming/content.jsx b/swan-lake/by-example/grpc-service-client-streaming/content.jsx
index 4b37b31b354..1b5cb9f7a56 100644
--- a/swan-lake/by-example/grpc-service-client-streaming/content.jsx
+++ b/swan-lake/by-example/grpc-service-client-streaming/content.jsx
@@ -90,7 +90,7 @@ export function GrpcServiceClientStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-client-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-client-streaming",
"_blank",
);
}}
@@ -281,7 +281,7 @@ export function GrpcServiceClientStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-client-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-client-streaming",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-headers/content.jsx b/swan-lake/by-example/grpc-service-headers/content.jsx
index 196364f6ce7..974a78863bb 100644
--- a/swan-lake/by-example/grpc-service-headers/content.jsx
+++ b/swan-lake/by-example/grpc-service-headers/content.jsx
@@ -66,7 +66,7 @@ export function GrpcServiceHeaders({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-headers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-headers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-jwt-auth/content.jsx b/swan-lake/by-example/grpc-service-jwt-auth/content.jsx
index eb0660a9b35..6961066f259 100644
--- a/swan-lake/by-example/grpc-service-jwt-auth/content.jsx
+++ b/swan-lake/by-example/grpc-service-jwt-auth/content.jsx
@@ -77,7 +77,7 @@ export function GrpcServiceJwtAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-jwt-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-jwt-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-mutual-ssl/content.jsx b/swan-lake/by-example/grpc-service-mutual-ssl/content.jsx
index 6125f9209ae..3e72bb5cc27 100644
--- a/swan-lake/by-example/grpc-service-mutual-ssl/content.jsx
+++ b/swan-lake/by-example/grpc-service-mutual-ssl/content.jsx
@@ -71,7 +71,7 @@ export function GrpcServiceMutualSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-mutual-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-mutual-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-oauth2/content.jsx b/swan-lake/by-example/grpc-service-oauth2/content.jsx
index 9f9d3365b51..535b7b04d3d 100644
--- a/swan-lake/by-example/grpc-service-oauth2/content.jsx
+++ b/swan-lake/by-example/grpc-service-oauth2/content.jsx
@@ -85,7 +85,7 @@ export function GrpcServiceOauth2({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-oauth2",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-oauth2",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-server-streaming/content.jsx b/swan-lake/by-example/grpc-service-server-streaming/content.jsx
index c9dbf8891b5..3ae9a7f87fc 100644
--- a/swan-lake/by-example/grpc-service-server-streaming/content.jsx
+++ b/swan-lake/by-example/grpc-service-server-streaming/content.jsx
@@ -83,7 +83,7 @@ export function GrpcServiceServerStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-server-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-server-streaming",
"_blank",
);
}}
@@ -276,7 +276,7 @@ export function GrpcServiceServerStreaming({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-server-streaming",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-server-streaming",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-simple/content.jsx b/swan-lake/by-example/grpc-service-simple/content.jsx
index 631d84bf3b6..2d669c046f4 100644
--- a/swan-lake/by-example/grpc-service-simple/content.jsx
+++ b/swan-lake/by-example/grpc-service-simple/content.jsx
@@ -74,7 +74,7 @@ export function GrpcServiceSimple({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-simple",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-simple",
"_blank",
);
}}
@@ -267,7 +267,7 @@ export function GrpcServiceSimple({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-simple",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-simple",
"_blank",
);
}}
diff --git a/swan-lake/by-example/grpc-service-ssl-tls/content.jsx b/swan-lake/by-example/grpc-service-ssl-tls/content.jsx
index 88595b68fe3..ff5b87aada3 100644
--- a/swan-lake/by-example/grpc-service-ssl-tls/content.jsx
+++ b/swan-lake/by-example/grpc-service-ssl-tls/content.jsx
@@ -59,7 +59,7 @@ export function GrpcServiceSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/grpc-service-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/grpc-service-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/hello-world-service/content.jsx b/swan-lake/by-example/hello-world-service/content.jsx
index 7dbf46265d7..b6db969fee8 100644
--- a/swan-lake/by-example/hello-world-service/content.jsx
+++ b/swan-lake/by-example/hello-world-service/content.jsx
@@ -47,7 +47,7 @@ export function HelloWorldService({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/hello-world-service",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/hello-world-service",
"_blank",
);
}}
diff --git a/swan-lake/by-example/hello-world/content.jsx b/swan-lake/by-example/hello-world/content.jsx
index d6bd7cc109f..1c6537d5099 100644
--- a/swan-lake/by-example/hello-world/content.jsx
+++ b/swan-lake/by-example/hello-world/content.jsx
@@ -39,7 +39,7 @@ export function HelloWorld({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/hello-world/hello_world.md",
+ "https://play.ballerina.io/?gist=aa9dbb41a53ff2f36b6deae663d251e4&file=hello_world.bal",
"_blank",
);
}}
@@ -47,140 +47,16 @@ export function HelloWorld({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -188,7 +64,7 @@ export function HelloWorld({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/hello-world",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/hello-world",
"_blank",
);
}}
diff --git a/swan-lake/by-example/hierarchical-resources/content.jsx b/swan-lake/by-example/hierarchical-resources/content.jsx
index 4c92399cf82..0ca4fa70cf9 100644
--- a/swan-lake/by-example/hierarchical-resources/content.jsx
+++ b/swan-lake/by-example/hierarchical-resources/content.jsx
@@ -47,7 +47,7 @@ export function HierarchicalResources({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/hierarchical-resources",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/hierarchical-resources",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-100-continue/content.jsx b/swan-lake/by-example/http-100-continue/content.jsx
index 4281851417c..28dc7adf901 100644
--- a/swan-lake/by-example/http-100-continue/content.jsx
+++ b/swan-lake/by-example/http-100-continue/content.jsx
@@ -76,7 +76,7 @@ export function Http100Continue({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-100-continue/http_100_continue.md",
+ "https://play.ballerina.io/?gist=0b9595d98a0ca6611803ca70de4d60e9&file=http_100_continue.bal",
"_blank",
);
}}
@@ -84,140 +84,16 @@ export function Http100Continue({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -225,7 +101,7 @@ export function Http100Continue({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-100-continue",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-100-continue",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-2-0-client-server-push/content.jsx b/swan-lake/by-example/http-2-0-client-server-push/content.jsx
index 65838a45739..c97a4163795 100644
--- a/swan-lake/by-example/http-2-0-client-server-push/content.jsx
+++ b/swan-lake/by-example/http-2-0-client-server-push/content.jsx
@@ -84,7 +84,7 @@ export function Http20ClientServerPush({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-2-0-client-server-push/http_2_0_client_server_push.md",
+ "https://play.ballerina.io/?gist=cc825b8d6175ab974f7f9ed51ea1a02e&file=http_2_0_client_server_push.bal",
"_blank",
);
}}
@@ -92,140 +92,16 @@ export function Http20ClientServerPush({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -233,7 +109,7 @@ export function Http20ClientServerPush({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-2-0-client-server-push",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-2-0-client-server-push",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-2-0-server-push/content.jsx b/swan-lake/by-example/http-2-0-server-push/content.jsx
index 01a78675e96..35525532748 100644
--- a/swan-lake/by-example/http-2-0-server-push/content.jsx
+++ b/swan-lake/by-example/http-2-0-server-push/content.jsx
@@ -90,7 +90,7 @@ export function Http20ServerPush({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-2-0-server-push/http_2_0_server_push.md",
+ "https://play.ballerina.io/?gist=b6b4bd8ea32beae2d08daf68cae4a348&file=http_2_0_server_push.bal",
"_blank",
);
}}
@@ -98,140 +98,16 @@ export function Http20ServerPush({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -239,7 +115,7 @@ export function Http20ServerPush({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-2-0-server-push",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-2-0-server-push",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-2-prior-knowledge-client/content.jsx b/swan-lake/by-example/http-2-prior-knowledge-client/content.jsx
index 20387083470..36617207a79 100644
--- a/swan-lake/by-example/http-2-prior-knowledge-client/content.jsx
+++ b/swan-lake/by-example/http-2-prior-knowledge-client/content.jsx
@@ -54,7 +54,7 @@ export function Http2PriorKnowledgeClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-2-prior-knowledge-client/http_2_prior_knowledge_client.md",
+ "https://play.ballerina.io/?gist=a6670882961e5bf97d13ce14a70594e4&file=http_2_prior_knowledge_client.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function Http2PriorKnowledgeClient({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function Http2PriorKnowledgeClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-2-prior-knowledge-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-2-prior-knowledge-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-2-to-1-1-downgrade-client/content.jsx b/swan-lake/by-example/http-2-to-1-1-downgrade-client/content.jsx
index 83b2b3ebd0b..f015d3ba80f 100644
--- a/swan-lake/by-example/http-2-to-1-1-downgrade-client/content.jsx
+++ b/swan-lake/by-example/http-2-to-1-1-downgrade-client/content.jsx
@@ -54,7 +54,7 @@ export function Http2To11DowngradeClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-2-to-1-1-downgrade-client/http_2_to_1_1_downgrade_client.md",
+ "https://play.ballerina.io/?gist=dc629a7f3ccd2817c4b43527150284ba&file=http_2_to_1_1_downgrade_client.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function Http2To11DowngradeClient({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function Http2To11DowngradeClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-2-to-1-1-downgrade-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-2-to-1-1-downgrade-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-2-to-1-1-downgrade-service/content.jsx b/swan-lake/by-example/http-2-to-1-1-downgrade-service/content.jsx
index 21807204c05..4ce6c6a31ac 100644
--- a/swan-lake/by-example/http-2-to-1-1-downgrade-service/content.jsx
+++ b/swan-lake/by-example/http-2-to-1-1-downgrade-service/content.jsx
@@ -67,7 +67,7 @@ export function Http2To11DowngradeService({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-2-to-1-1-downgrade-service/http_2_to_1_1_downgrade_service.md",
+ "https://play.ballerina.io/?gist=4e73bb5a946577e222cbbce9df0d9ace&file=http_2_to_1_1_downgrade_service.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function Http2To11DowngradeService({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function Http2To11DowngradeService({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-2-to-1-1-downgrade-service",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-2-to-1-1-downgrade-service",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-access-logs/content.jsx b/swan-lake/by-example/http-access-logs/content.jsx
index 4d863faefa4..1136480d8cc 100644
--- a/swan-lake/by-example/http-access-logs/content.jsx
+++ b/swan-lake/by-example/http-access-logs/content.jsx
@@ -67,7 +67,7 @@ export function HttpAccessLogs({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-access-logs/http_access_logs.md",
+ "https://play.ballerina.io/?gist=2827fea125718b0cfcc02551032f59c6&file=http_access_logs.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function HttpAccessLogs({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function HttpAccessLogs({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-access-logs",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-access-logs",
"_blank",
);
}}
@@ -312,7 +188,7 @@ export function HttpAccessLogs({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-access-logs/http_access_logs.md",
+ "https://play.ballerina.io/?gist=08f5d6e17634818daa5cdf220397d34d&file=Config.toml",
"_blank",
);
}}
@@ -320,140 +196,16 @@ export function HttpAccessLogs({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -461,7 +213,7 @@ export function HttpAccessLogs({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-access-logs",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-access-logs",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-basic-rest-service/content.jsx b/swan-lake/by-example/http-basic-rest-service/content.jsx
index 45a6977afed..f5d241f6a10 100644
--- a/swan-lake/by-example/http-basic-rest-service/content.jsx
+++ b/swan-lake/by-example/http-basic-rest-service/content.jsx
@@ -73,7 +73,7 @@ export function HttpBasicRestService({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-basic-rest-service/http_basic_rest_service.md",
+ "https://play.ballerina.io/?gist=c577411d0febf13d68f4934f072d9d86&file=http_basic_rest_service.bal",
"_blank",
);
}}
@@ -81,140 +81,16 @@ export function HttpBasicRestService({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -222,7 +98,7 @@ export function HttpBasicRestService({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-basic-rest-service",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-basic-rest-service",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-caching-client/content.jsx b/swan-lake/by-example/http-caching-client/content.jsx
index e0b1459fa00..0f3e6efb1bd 100644
--- a/swan-lake/by-example/http-caching-client/content.jsx
+++ b/swan-lake/by-example/http-caching-client/content.jsx
@@ -63,7 +63,7 @@ export function HttpCachingClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-caching-client/http_caching_client.md",
+ "https://play.ballerina.io/?gist=2f801e4f8adcc212edf0f0574a709f0d&file=http_caching_client.bal",
"_blank",
);
}}
@@ -71,140 +71,16 @@ export function HttpCachingClient({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -212,7 +88,7 @@ export function HttpCachingClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-caching-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-caching-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-caller/content.jsx b/swan-lake/by-example/http-caller/content.jsx
index ee5b036749f..a20d2932064 100644
--- a/swan-lake/by-example/http-caller/content.jsx
+++ b/swan-lake/by-example/http-caller/content.jsx
@@ -69,7 +69,7 @@ export function HttpCaller({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-caller/http_caller.md",
+ "https://play.ballerina.io/?gist=5762ec107774ee25213d857e1823bc16&file=http_caller.bal",
"_blank",
);
}}
@@ -77,140 +77,16 @@ export function HttpCaller({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -218,7 +94,7 @@ export function HttpCaller({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-caller",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-caller",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-circuit-breaker/content.jsx b/swan-lake/by-example/http-circuit-breaker/content.jsx
index 32c77cd5624..7ddf668376f 100644
--- a/swan-lake/by-example/http-circuit-breaker/content.jsx
+++ b/swan-lake/by-example/http-circuit-breaker/content.jsx
@@ -81,7 +81,7 @@ export function HttpCircuitBreaker({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-circuit-breaker/http_circuit_breaker.md",
+ "https://play.ballerina.io/?gist=ea141c4cc491eb4ab8df73456d0dfde6&file=http_circuit_breaker.bal",
"_blank",
);
}}
@@ -89,140 +89,16 @@ export function HttpCircuitBreaker({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -230,7 +106,7 @@ export function HttpCircuitBreaker({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-circuit-breaker",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-circuit-breaker",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-basic-authentication/content.jsx b/swan-lake/by-example/http-client-basic-authentication/content.jsx
index 215217d5760..aacf0015a54 100644
--- a/swan-lake/by-example/http-client-basic-authentication/content.jsx
+++ b/swan-lake/by-example/http-client-basic-authentication/content.jsx
@@ -60,7 +60,7 @@ export function HttpClientBasicAuthentication({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-basic-authentication/http_client_basic_authentication.md",
+ "https://play.ballerina.io/?gist=d8eb51eabf954927a55d5bf23c5d2105&file=http_client_basic_authentication.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function HttpClientBasicAuthentication({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function HttpClientBasicAuthentication({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-basic-authentication",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-basic-authentication",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-bearer-token-authentication/content.jsx b/swan-lake/by-example/http-client-bearer-token-authentication/content.jsx
index d0c3bedcf4e..00033d8d4a4 100644
--- a/swan-lake/by-example/http-client-bearer-token-authentication/content.jsx
+++ b/swan-lake/by-example/http-client-bearer-token-authentication/content.jsx
@@ -59,7 +59,7 @@ export function HttpClientBearerTokenAuthentication({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-bearer-token-authentication/http_client_bearer_token_authentication.md",
+ "https://play.ballerina.io/?gist=ae21fdebbc8e28d731b73bb9a00f41e3&file=http_client_bearer_token_authentication.bal",
"_blank",
);
}}
@@ -67,140 +67,16 @@ export function HttpClientBearerTokenAuthentication({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -208,7 +84,7 @@ export function HttpClientBearerTokenAuthentication({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-bearer-token-authentication",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-bearer-token-authentication",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-chunking/content.jsx b/swan-lake/by-example/http-client-chunking/content.jsx
index 6632bf1330a..53e3028072d 100644
--- a/swan-lake/by-example/http-client-chunking/content.jsx
+++ b/swan-lake/by-example/http-client-chunking/content.jsx
@@ -63,7 +63,7 @@ export function HttpClientChunking({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-chunking/http_client_chunking.md",
+ "https://play.ballerina.io/?gist=38d5c680a8913e34a06575e00bea508f&file=http_client_chunking.bal",
"_blank",
);
}}
@@ -71,140 +71,16 @@ export function HttpClientChunking({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -212,7 +88,7 @@ export function HttpClientChunking({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-chunking",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-chunking",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-data-binding/content.jsx b/swan-lake/by-example/http-client-data-binding/content.jsx
index 668f6d7add2..b38f5da8956 100644
--- a/swan-lake/by-example/http-client-data-binding/content.jsx
+++ b/swan-lake/by-example/http-client-data-binding/content.jsx
@@ -65,7 +65,7 @@ export function HttpClientDataBinding({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-data-binding/http_client_data_binding.md",
+ "https://play.ballerina.io/?gist=f9e022d24c6b0e6ef708f54df20d092b&file=http_client_data_binding.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function HttpClientDataBinding({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function HttpClientDataBinding({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-data-binding",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-data-binding",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-file-upload/content.jsx b/swan-lake/by-example/http-client-file-upload/content.jsx
index 68fa824c0ae..a9805c8647c 100644
--- a/swan-lake/by-example/http-client-file-upload/content.jsx
+++ b/swan-lake/by-example/http-client-file-upload/content.jsx
@@ -56,7 +56,7 @@ export function HttpClientFileUpload({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-file-upload/http_client_file_upload.md",
+ "https://play.ballerina.io/?gist=1d2503872a537c44b04b0c769f1d5516&file=http_client_file_upload.bal",
"_blank",
);
}}
@@ -64,140 +64,16 @@ export function HttpClientFileUpload({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -205,7 +81,7 @@ export function HttpClientFileUpload({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-file-upload",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-file-upload",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-header-parameter/content.jsx b/swan-lake/by-example/http-client-header-parameter/content.jsx
index 42fb92a239f..7c1ced8e2c6 100644
--- a/swan-lake/by-example/http-client-header-parameter/content.jsx
+++ b/swan-lake/by-example/http-client-header-parameter/content.jsx
@@ -71,7 +71,7 @@ export function HttpClientHeaderParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-header-parameter/http_client_header_parameter.md",
+ "https://play.ballerina.io/?gist=6fac05e2da4ef917d03d4ec4efba3204&file=http_client_header_parameter.bal",
"_blank",
);
}}
@@ -79,140 +79,16 @@ export function HttpClientHeaderParameter({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -220,7 +96,7 @@ export function HttpClientHeaderParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-header-parameter",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-header-parameter",
"_blank",
);
}}
@@ -386,7 +262,7 @@ export function HttpClientHeaderParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-header-parameter/http_client_header_parameter.md",
+ "https://play.ballerina.io/?gist=a0cb00cfcf5fc33e16d2fb05f055abca&file=http_client_header_parameter_post.bal",
"_blank",
);
}}
@@ -394,140 +270,16 @@ export function HttpClientHeaderParameter({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -535,7 +287,7 @@ export function HttpClientHeaderParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-header-parameter",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-header-parameter",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-mutual-ssl/content.jsx b/swan-lake/by-example/http-client-mutual-ssl/content.jsx
index b088999a72f..544ef2af490 100644
--- a/swan-lake/by-example/http-client-mutual-ssl/content.jsx
+++ b/swan-lake/by-example/http-client-mutual-ssl/content.jsx
@@ -66,7 +66,7 @@ export function HttpClientMutualSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-mutual-ssl/http_client_mutual_ssl.md",
+ "https://play.ballerina.io/?gist=52300ac5d9ee13562376e12689f6bf0c&file=http_client_mutual_ssl.bal",
"_blank",
);
}}
@@ -74,140 +74,16 @@ export function HttpClientMutualSsl({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -215,7 +91,7 @@ export function HttpClientMutualSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-mutual-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-mutual-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-oauth2-client-credentials-grant-type/content.jsx b/swan-lake/by-example/http-client-oauth2-client-credentials-grant-type/content.jsx
index c9f283b1199..68a0cb1167a 100644
--- a/swan-lake/by-example/http-client-oauth2-client-credentials-grant-type/content.jsx
+++ b/swan-lake/by-example/http-client-oauth2-client-credentials-grant-type/content.jsx
@@ -67,7 +67,7 @@ export function HttpClientOauth2ClientCredentialsGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-oauth2-client-credentials-grant-type/http_client_oauth2_client_credentials_grant_type.md",
+ "https://play.ballerina.io/?gist=4c31557e4153fa2661d474510c18cf8d&file=http_client_oauth2_client_credentials_grant_type.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function HttpClientOauth2ClientCredentialsGrantType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function HttpClientOauth2ClientCredentialsGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-oauth2-client-credentials-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-oauth2-client-credentials-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-oauth2-jwt-bearer-grant-type/content.jsx b/swan-lake/by-example/http-client-oauth2-jwt-bearer-grant-type/content.jsx
index fdebe0f4491..56e3571e54e 100644
--- a/swan-lake/by-example/http-client-oauth2-jwt-bearer-grant-type/content.jsx
+++ b/swan-lake/by-example/http-client-oauth2-jwt-bearer-grant-type/content.jsx
@@ -68,7 +68,7 @@ export function HttpClientOauth2JwtBearerGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-oauth2-jwt-bearer-grant-type/http_client_oauth2_jwt_bearer_grant_type.md",
+ "https://play.ballerina.io/?gist=8655f2d649043aac28ed26460283c67e&file=http_client_oauth2_jwt_bearer_grant_type.bal",
"_blank",
);
}}
@@ -76,140 +76,16 @@ export function HttpClientOauth2JwtBearerGrantType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -217,7 +93,7 @@ export function HttpClientOauth2JwtBearerGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-oauth2-jwt-bearer-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-oauth2-jwt-bearer-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-oauth2-password-grant-type/content.jsx b/swan-lake/by-example/http-client-oauth2-password-grant-type/content.jsx
index 94d4648d878..6d17b6a9c37 100644
--- a/swan-lake/by-example/http-client-oauth2-password-grant-type/content.jsx
+++ b/swan-lake/by-example/http-client-oauth2-password-grant-type/content.jsx
@@ -72,7 +72,7 @@ export function HttpClientOauth2PasswordGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-oauth2-password-grant-type/http_client_oauth2_password_grant_type.md",
+ "https://play.ballerina.io/?gist=76ebf5e1613fdcef9e2424d00a2b3439&file=http_client_oauth2_password_grant_type.bal",
"_blank",
);
}}
@@ -80,140 +80,16 @@ export function HttpClientOauth2PasswordGrantType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -221,7 +97,7 @@ export function HttpClientOauth2PasswordGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-oauth2-password-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-oauth2-password-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-oauth2-refresh-token-grant-type/content.jsx b/swan-lake/by-example/http-client-oauth2-refresh-token-grant-type/content.jsx
index 49f5e031d57..978ef7593cd 100644
--- a/swan-lake/by-example/http-client-oauth2-refresh-token-grant-type/content.jsx
+++ b/swan-lake/by-example/http-client-oauth2-refresh-token-grant-type/content.jsx
@@ -69,7 +69,7 @@ export function HttpClientOauth2RefreshTokenGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-oauth2-refresh-token-grant-type/http_client_oauth2_refresh_token_grant_type.md",
+ "https://play.ballerina.io/?gist=bf4e01d87b8e58fa8258456bf2df0a1f&file=http_client_oauth2_refresh_token_grant_type.bal",
"_blank",
);
}}
@@ -77,140 +77,16 @@ export function HttpClientOauth2RefreshTokenGrantType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -218,7 +94,7 @@ export function HttpClientOauth2RefreshTokenGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-oauth2-refresh-token-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-oauth2-refresh-token-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-path-parameter/content.jsx b/swan-lake/by-example/http-client-path-parameter/content.jsx
index 87e2132e2cf..76e35bc9713 100644
--- a/swan-lake/by-example/http-client-path-parameter/content.jsx
+++ b/swan-lake/by-example/http-client-path-parameter/content.jsx
@@ -56,7 +56,7 @@ export function HttpClientPathParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-path-parameter/http_client_path_parameter.md",
+ "https://play.ballerina.io/?gist=ae9e9aa6c5734f6cab78f9609e9ecb45&file=http_client_path_parameter.bal",
"_blank",
);
}}
@@ -64,140 +64,16 @@ export function HttpClientPathParameter({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -205,7 +81,7 @@ export function HttpClientPathParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-path-parameter",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-path-parameter",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-payload-constraint-validation/content.jsx b/swan-lake/by-example/http-client-payload-constraint-validation/content.jsx
index de78a1c68ad..fa9b3cbd0f6 100644
--- a/swan-lake/by-example/http-client-payload-constraint-validation/content.jsx
+++ b/swan-lake/by-example/http-client-payload-constraint-validation/content.jsx
@@ -70,7 +70,7 @@ export function HttpClientPayloadConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-payload-constraint-validation/http_client_payload_constraint_validation.md",
+ "https://play.ballerina.io/?gist=b74fc004fb4f97818e8f574681fdb049&file=http_client_payload_constraint_validation.bal",
"_blank",
);
}}
@@ -78,140 +78,16 @@ export function HttpClientPayloadConstraintValidation({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -219,7 +95,7 @@ export function HttpClientPayloadConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-payload-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-payload-constraint-validation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-query-parameter/content.jsx b/swan-lake/by-example/http-client-query-parameter/content.jsx
index cbe53bd2b15..1fd89a759d4 100644
--- a/swan-lake/by-example/http-client-query-parameter/content.jsx
+++ b/swan-lake/by-example/http-client-query-parameter/content.jsx
@@ -68,7 +68,7 @@ export function HttpClientQueryParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-query-parameter/http_client_query_parameter.md",
+ "https://play.ballerina.io/?gist=3d3401ea8a1eb3ed3f81d49641813cb4&file=http_client_query_parameter.bal",
"_blank",
);
}}
@@ -76,140 +76,16 @@ export function HttpClientQueryParameter({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -217,7 +93,7 @@ export function HttpClientQueryParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-query-parameter",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-query-parameter",
"_blank",
);
}}
@@ -383,7 +259,7 @@ export function HttpClientQueryParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-query-parameter/http_client_query_parameter.md",
+ "https://play.ballerina.io/?gist=b231bf666d799e7d024979af5b90eb66&file=http_client_query_parameter_post.bal",
"_blank",
);
}}
@@ -391,140 +267,16 @@ export function HttpClientQueryParameter({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -532,7 +284,7 @@ export function HttpClientQueryParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-query-parameter",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-query-parameter",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-redirects/content.jsx b/swan-lake/by-example/http-client-redirects/content.jsx
index aee91f2bc4b..4858890f7a6 100644
--- a/swan-lake/by-example/http-client-redirects/content.jsx
+++ b/swan-lake/by-example/http-client-redirects/content.jsx
@@ -58,7 +58,7 @@ export function HttpClientRedirects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-redirects/http_client_redirects.md",
+ "https://play.ballerina.io/?gist=7485e8b49a3fef0b637dabbd3dd403e3&file=http_client_redirects.bal",
"_blank",
);
}}
@@ -66,140 +66,16 @@ export function HttpClientRedirects({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -207,7 +83,7 @@ export function HttpClientRedirects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-redirects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-redirects",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-self-signed-jwt-authentication/content.jsx b/swan-lake/by-example/http-client-self-signed-jwt-authentication/content.jsx
index 57b0e16e67b..47921396c01 100644
--- a/swan-lake/by-example/http-client-self-signed-jwt-authentication/content.jsx
+++ b/swan-lake/by-example/http-client-self-signed-jwt-authentication/content.jsx
@@ -73,7 +73,7 @@ export function HttpClientSelfSignedJwtAuthentication({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-self-signed-jwt-authentication/http_client_self_signed_jwt_authentication.md",
+ "https://play.ballerina.io/?gist=3b4322797ae2d7ef438002ca76d7e717&file=http_client_self_signed_jwt_authentication.bal",
"_blank",
);
}}
@@ -81,140 +81,16 @@ export function HttpClientSelfSignedJwtAuthentication({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -222,7 +98,7 @@ export function HttpClientSelfSignedJwtAuthentication({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-self-signed-jwt-authentication",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-self-signed-jwt-authentication",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-send-request-receive-response/content.jsx b/swan-lake/by-example/http-client-send-request-receive-response/content.jsx
index b836597a60d..7abf8990907 100644
--- a/swan-lake/by-example/http-client-send-request-receive-response/content.jsx
+++ b/swan-lake/by-example/http-client-send-request-receive-response/content.jsx
@@ -68,7 +68,7 @@ export function HttpClientSendRequestReceiveResponse({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-send-request-receive-response/http_client_send_request_receive_response.md",
+ "https://play.ballerina.io/?gist=7491b7a0f9203cad8690aa8b38118796&file=http_client_send_request_receive_response.bal",
"_blank",
);
}}
@@ -76,140 +76,16 @@ export function HttpClientSendRequestReceiveResponse({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -217,7 +93,7 @@ export function HttpClientSendRequestReceiveResponse({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-send-request-receive-response",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-send-request-receive-response",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-client-ssl-tls/content.jsx b/swan-lake/by-example/http-client-ssl-tls/content.jsx
index 41d5b8c80a9..e08c61f2786 100644
--- a/swan-lake/by-example/http-client-ssl-tls/content.jsx
+++ b/swan-lake/by-example/http-client-ssl-tls/content.jsx
@@ -54,7 +54,7 @@ export function HttpClientSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-ssl-tls/http_client_ssl_tls.md",
+ "https://play.ballerina.io/?gist=639666519858c1aa25dd8b59bb4db7e9&file=http_client_ssl_tls.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function HttpClientSslTls({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function HttpClientSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-client-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-client-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-compression/content.jsx b/swan-lake/by-example/http-compression/content.jsx
index 95f81cb6d2f..59d543068f2 100644
--- a/swan-lake/by-example/http-compression/content.jsx
+++ b/swan-lake/by-example/http-compression/content.jsx
@@ -66,7 +66,7 @@ export function HttpCompression({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-compression/http_compression.md",
+ "https://play.ballerina.io/?gist=c85108a7082155c4448917e43b5623b3&file=http_compression.bal",
"_blank",
);
}}
@@ -74,140 +74,16 @@ export function HttpCompression({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -215,7 +91,7 @@ export function HttpCompression({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-compression",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-compression",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-cookies-client/content.jsx b/swan-lake/by-example/http-cookies-client/content.jsx
index f5ddaebcb68..be0aa94e896 100644
--- a/swan-lake/by-example/http-cookies-client/content.jsx
+++ b/swan-lake/by-example/http-cookies-client/content.jsx
@@ -65,7 +65,7 @@ export function HttpCookiesClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-cookies-client/http_cookies_client.md",
+ "https://play.ballerina.io/?gist=a610fb86b1742b7f28e3aaea9bd2fc3e&file=http_cookies_client.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function HttpCookiesClient({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function HttpCookiesClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-cookies-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-cookies-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-cookies-service/content.jsx b/swan-lake/by-example/http-cookies-service/content.jsx
index 4352f23b5e0..f67d7152464 100644
--- a/swan-lake/by-example/http-cookies-service/content.jsx
+++ b/swan-lake/by-example/http-cookies-service/content.jsx
@@ -89,7 +89,7 @@ export function HttpCookiesService({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-cookies-service/http_cookies_service.md",
+ "https://play.ballerina.io/?gist=e803dc3a50fdec21f2bd63e1cd1a5c31&file=http_cookies_service.bal",
"_blank",
);
}}
@@ -97,140 +97,16 @@ export function HttpCookiesService({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -238,7 +114,7 @@ export function HttpCookiesService({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-cookies-service",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-cookies-service",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-cors/content.jsx b/swan-lake/by-example/http-cors/content.jsx
index 577bac85a72..854714b9ecf 100644
--- a/swan-lake/by-example/http-cors/content.jsx
+++ b/swan-lake/by-example/http-cors/content.jsx
@@ -75,7 +75,7 @@ export function HttpCors({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-cors/http_cors.md",
+ "https://play.ballerina.io/?gist=17187bfa201b9e727fe7836131e5da28&file=http_cors.bal",
"_blank",
);
}}
@@ -83,140 +83,16 @@ export function HttpCors({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -224,7 +100,7 @@ export function HttpCors({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-cors",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-cors",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-default-error-handling/content.jsx b/swan-lake/by-example/http-default-error-handling/content.jsx
index 29fc20df384..9849f1de434 100644
--- a/swan-lake/by-example/http-default-error-handling/content.jsx
+++ b/swan-lake/by-example/http-default-error-handling/content.jsx
@@ -76,7 +76,7 @@ export function HttpDefaultErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-default-error-handling/http_default_error_handling.md",
+ "https://play.ballerina.io/?gist=0d445b931b1262c54aebc264125b048b&file=http_default_error_handling.bal",
"_blank",
);
}}
@@ -84,140 +84,16 @@ export function HttpDefaultErrorHandling({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -225,7 +101,7 @@ export function HttpDefaultErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-default-error-handling",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-default-error-handling",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-default-resource/content.jsx b/swan-lake/by-example/http-default-resource/content.jsx
index 699300a9715..19517e8032e 100644
--- a/swan-lake/by-example/http-default-resource/content.jsx
+++ b/swan-lake/by-example/http-default-resource/content.jsx
@@ -56,7 +56,7 @@ export function HttpDefaultResource({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-default-resource/http_default_resource.md",
+ "https://play.ballerina.io/?gist=203b8243285be67bc53ba7fa58141870&file=http_default_resource.bal",
"_blank",
);
}}
@@ -64,140 +64,16 @@ export function HttpDefaultResource({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -205,7 +81,7 @@ export function HttpDefaultResource({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-default-resource",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-default-resource",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-error-handling/content.jsx b/swan-lake/by-example/http-error-handling/content.jsx
index 34e6df59606..83109af61bd 100644
--- a/swan-lake/by-example/http-error-handling/content.jsx
+++ b/swan-lake/by-example/http-error-handling/content.jsx
@@ -98,7 +98,7 @@ export function HttpErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-error-handling/http_error_handling.md",
+ "https://play.ballerina.io/?gist=45bb43bbd07489be86d9313b5f56b492&file=http_error_handling.bal",
"_blank",
);
}}
@@ -106,140 +106,16 @@ export function HttpErrorHandling({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -247,7 +123,7 @@ export function HttpErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-error-handling",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-error-handling",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-failover/content.jsx b/swan-lake/by-example/http-failover/content.jsx
index 89e5a18d699..3c99eb96564 100644
--- a/swan-lake/by-example/http-failover/content.jsx
+++ b/swan-lake/by-example/http-failover/content.jsx
@@ -62,7 +62,7 @@ export function HttpFailover({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-failover/http_failover.md",
+ "https://play.ballerina.io/?gist=57bc9958930cd93b63078e59234832c0&file=http_failover.bal",
"_blank",
);
}}
@@ -70,140 +70,16 @@ export function HttpFailover({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -211,7 +87,7 @@ export function HttpFailover({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-failover",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-failover",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-header-param/content.jsx b/swan-lake/by-example/http-header-param/content.jsx
index f07d6f4cb17..72462d0650b 100644
--- a/swan-lake/by-example/http-header-param/content.jsx
+++ b/swan-lake/by-example/http-header-param/content.jsx
@@ -69,7 +69,7 @@ export function HttpHeaderParam({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-header-param/http_header_param.md",
+ "https://play.ballerina.io/?gist=5bcd1b4963209959cef1cb36b9ad11a8&file=http_header_param.bal",
"_blank",
);
}}
@@ -77,140 +77,16 @@ export function HttpHeaderParam({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -218,7 +94,7 @@ export function HttpHeaderParam({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-header-param",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-header-param",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-interceptor-error-handling/content.jsx b/swan-lake/by-example/http-interceptor-error-handling/content.jsx
index 144a17a28dd..e9aef56393a 100644
--- a/swan-lake/by-example/http-interceptor-error-handling/content.jsx
+++ b/swan-lake/by-example/http-interceptor-error-handling/content.jsx
@@ -107,7 +107,7 @@ export function HttpInterceptorErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-interceptor-error-handling/http_interceptor_error_handling.md",
+ "https://play.ballerina.io/?gist=8116d946e98ae12fa65d733eec0cf65e&file=http_interceptor_error_handling.bal",
"_blank",
);
}}
@@ -115,140 +115,16 @@ export function HttpInterceptorErrorHandling({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -256,7 +132,7 @@ export function HttpInterceptorErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-interceptor-error-handling",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-interceptor-error-handling",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-load-balancer/content.jsx b/swan-lake/by-example/http-load-balancer/content.jsx
index 9101a79d221..91ec5da153a 100644
--- a/swan-lake/by-example/http-load-balancer/content.jsx
+++ b/swan-lake/by-example/http-load-balancer/content.jsx
@@ -59,7 +59,7 @@ export function HttpLoadBalancer({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-load-balancer/http_load_balancer.md",
+ "https://play.ballerina.io/?gist=cf19f748c6fff19853a7c047914fbd0d&file=http_load_balancer.bal",
"_blank",
);
}}
@@ -67,140 +67,16 @@ export function HttpLoadBalancer({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -208,7 +84,7 @@ export function HttpLoadBalancer({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-load-balancer",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-load-balancer",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-matrix-param/content.jsx b/swan-lake/by-example/http-matrix-param/content.jsx
index 348b7402e4d..96247bf1f8b 100644
--- a/swan-lake/by-example/http-matrix-param/content.jsx
+++ b/swan-lake/by-example/http-matrix-param/content.jsx
@@ -68,7 +68,7 @@ export function HttpMatrixParam({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-matrix-param/http_matrix_param.md",
+ "https://play.ballerina.io/?gist=0521f81d23d4b769804d698430e8c64b&file=http_matrix_param.bal",
"_blank",
);
}}
@@ -76,140 +76,16 @@ export function HttpMatrixParam({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -217,7 +93,7 @@ export function HttpMatrixParam({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-matrix-param",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-matrix-param",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-passthrough/content.jsx b/swan-lake/by-example/http-passthrough/content.jsx
index a09b017e18d..e6d402acb9d 100644
--- a/swan-lake/by-example/http-passthrough/content.jsx
+++ b/swan-lake/by-example/http-passthrough/content.jsx
@@ -62,7 +62,7 @@ export function HttpPassthrough({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-passthrough/http_passthrough.md",
+ "https://play.ballerina.io/?gist=d7d3656f6c8fc1ce5176b225231cb554&file=http_passthrough.bal",
"_blank",
);
}}
@@ -70,140 +70,16 @@ export function HttpPassthrough({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -211,7 +87,7 @@ export function HttpPassthrough({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-passthrough",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-passthrough",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-path-param/content.jsx b/swan-lake/by-example/http-path-param/content.jsx
index 4543b341588..e7157fe0cf7 100644
--- a/swan-lake/by-example/http-path-param/content.jsx
+++ b/swan-lake/by-example/http-path-param/content.jsx
@@ -67,7 +67,7 @@ export function HttpPathParam({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-path-param/http_path_param.md",
+ "https://play.ballerina.io/?gist=9102265113d77eaa7a577e95802ae541&file=http_path_param.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function HttpPathParam({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function HttpPathParam({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-path-param",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-path-param",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-query-parameter/content.jsx b/swan-lake/by-example/http-query-parameter/content.jsx
index 17dcd62b07d..9c717c4435d 100644
--- a/swan-lake/by-example/http-query-parameter/content.jsx
+++ b/swan-lake/by-example/http-query-parameter/content.jsx
@@ -69,7 +69,7 @@ export function HttpQueryParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-query-parameter/http_query_parameter.md",
+ "https://play.ballerina.io/?gist=8ad0943e3406c205ef0f17d098533929&file=http_query_parameter.bal",
"_blank",
);
}}
@@ -77,140 +77,16 @@ export function HttpQueryParameter({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -218,7 +94,7 @@ export function HttpQueryParameter({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-query-parameter",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-query-parameter",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-request-interceptor/content.jsx b/swan-lake/by-example/http-request-interceptor/content.jsx
index b4637d81ca3..c7fe7ab8562 100644
--- a/swan-lake/by-example/http-request-interceptor/content.jsx
+++ b/swan-lake/by-example/http-request-interceptor/content.jsx
@@ -108,7 +108,7 @@ export function HttpRequestInterceptor({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-request-interceptor/http_request_interceptor.md",
+ "https://play.ballerina.io/?gist=38291066d4622edf6c69a4c7a013c50b&file=http_request_interceptor.bal",
"_blank",
);
}}
@@ -116,140 +116,16 @@ export function HttpRequestInterceptor({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -257,7 +133,7 @@ export function HttpRequestInterceptor({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-request-interceptor",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-request-interceptor",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-request-response/content.jsx b/swan-lake/by-example/http-request-response/content.jsx
index 4cff934d1fa..7a3adcf8eb1 100644
--- a/swan-lake/by-example/http-request-response/content.jsx
+++ b/swan-lake/by-example/http-request-response/content.jsx
@@ -72,7 +72,7 @@ export function HttpRequestResponse({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-request-response/http_request_response.md",
+ "https://play.ballerina.io/?gist=d8b8d2c911f5b1f849f3ea3b0fec0c90&file=http_request_response.bal",
"_blank",
);
}}
@@ -80,140 +80,16 @@ export function HttpRequestResponse({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -221,7 +97,7 @@ export function HttpRequestResponse({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-request-response",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-request-response",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-request-with-multiparts/content.jsx b/swan-lake/by-example/http-request-with-multiparts/content.jsx
index 6e957dac09c..ed8d399c377 100644
--- a/swan-lake/by-example/http-request-with-multiparts/content.jsx
+++ b/swan-lake/by-example/http-request-with-multiparts/content.jsx
@@ -129,7 +129,7 @@ export function HttpRequestWithMultiparts({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-request-with-multiparts/http_request_with_multiparts.md",
+ "https://play.ballerina.io/?gist=08569f4e45f3d6b45c8f33f5527d542f&file=http_request_with_multiparts.bal",
"_blank",
);
}}
@@ -137,140 +137,16 @@ export function HttpRequestWithMultiparts({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -278,7 +154,7 @@ export function HttpRequestWithMultiparts({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-request-with-multiparts",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-request-with-multiparts",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-response-interceptor/content.jsx b/swan-lake/by-example/http-response-interceptor/content.jsx
index b109e45a3d3..e4ef0a177a0 100644
--- a/swan-lake/by-example/http-response-interceptor/content.jsx
+++ b/swan-lake/by-example/http-response-interceptor/content.jsx
@@ -103,7 +103,7 @@ export function HttpResponseInterceptor({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-response-interceptor/http_response_interceptor.md",
+ "https://play.ballerina.io/?gist=e9966f80397ba88441db038f3bc4167b&file=http_response_interceptor.bal",
"_blank",
);
}}
@@ -111,140 +111,16 @@ export function HttpResponseInterceptor({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -252,7 +128,7 @@ export function HttpResponseInterceptor({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-response-interceptor",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-response-interceptor",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-response-with-multiparts/content.jsx b/swan-lake/by-example/http-response-with-multiparts/content.jsx
index 81284a204b8..e5d90e9943f 100644
--- a/swan-lake/by-example/http-response-with-multiparts/content.jsx
+++ b/swan-lake/by-example/http-response-with-multiparts/content.jsx
@@ -155,7 +155,7 @@ export function HttpResponseWithMultiparts({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-response-with-multiparts/http_response_with_multiparts.md",
+ "https://play.ballerina.io/?gist=f664ca5051e249d363ce8af968e42a36&file=http_response_with_multiparts.bal",
"_blank",
);
}}
@@ -163,140 +163,16 @@ export function HttpResponseWithMultiparts({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -304,7 +180,7 @@ export function HttpResponseWithMultiparts({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-response-with-multiparts",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-response-with-multiparts",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-restrict-by-media-type/content.jsx b/swan-lake/by-example/http-restrict-by-media-type/content.jsx
index d4a8b302396..28483490d92 100644
--- a/swan-lake/by-example/http-restrict-by-media-type/content.jsx
+++ b/swan-lake/by-example/http-restrict-by-media-type/content.jsx
@@ -63,7 +63,7 @@ export function HttpRestrictByMediaType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-restrict-by-media-type/http_restrict_by_media_type.md",
+ "https://play.ballerina.io/?gist=82a7b7b1b5c937419ebffae5dcc34199&file=http_restrict_by_media_type.bal",
"_blank",
);
}}
@@ -71,140 +71,16 @@ export function HttpRestrictByMediaType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -212,7 +88,7 @@ export function HttpRestrictByMediaType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-restrict-by-media-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-restrict-by-media-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-retry/content.jsx b/swan-lake/by-example/http-retry/content.jsx
index b7c86791a8e..16df20bd402 100644
--- a/swan-lake/by-example/http-retry/content.jsx
+++ b/swan-lake/by-example/http-retry/content.jsx
@@ -64,7 +64,7 @@ export function HttpRetry({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-retry/http_retry.md",
+ "https://play.ballerina.io/?gist=ce9f8b8a4306da9cf5ee53e0b5f9f5e6&file=http_retry.bal",
"_blank",
);
}}
@@ -72,140 +72,16 @@ export function HttpRetry({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -213,7 +89,7 @@ export function HttpRetry({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-retry",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-retry",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-send-different-status-codes-with-payload/content.jsx b/swan-lake/by-example/http-send-different-status-codes-with-payload/content.jsx
index 96b32c9c788..81974f946b4 100644
--- a/swan-lake/by-example/http-send-different-status-codes-with-payload/content.jsx
+++ b/swan-lake/by-example/http-send-different-status-codes-with-payload/content.jsx
@@ -79,7 +79,7 @@ export function HttpSendDifferentStatusCodesWithPayload({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-send-different-status-codes-with-payload/http_send_different_status_codes_with_payload.md",
+ "https://play.ballerina.io/?gist=3b5d21a22960d0c1fcc2948a995a0238&file=http_send_different_status_codes_with_payload.bal",
"_blank",
);
}}
@@ -87,140 +87,16 @@ export function HttpSendDifferentStatusCodesWithPayload({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -228,7 +104,7 @@ export function HttpSendDifferentStatusCodesWithPayload({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-send-different-status-codes-with-payload",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-send-different-status-codes-with-payload",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-send-different-status-codes/content.jsx b/swan-lake/by-example/http-send-different-status-codes/content.jsx
index adb0e492a81..3efcee58850 100644
--- a/swan-lake/by-example/http-send-different-status-codes/content.jsx
+++ b/swan-lake/by-example/http-send-different-status-codes/content.jsx
@@ -67,7 +67,7 @@ export function HttpSendDifferentStatusCodes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-send-different-status-codes/http_send_different_status_codes.md",
+ "https://play.ballerina.io/?gist=b1e361cfae61fec4d7e4aefd19308df5&file=http_send_different_status_codes.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function HttpSendDifferentStatusCodes({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function HttpSendDifferentStatusCodes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-send-different-status-codes",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-send-different-status-codes",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-send-header/content.jsx b/swan-lake/by-example/http-send-header/content.jsx
index ac0f3df9a81..a272a146c0d 100644
--- a/swan-lake/by-example/http-send-header/content.jsx
+++ b/swan-lake/by-example/http-send-header/content.jsx
@@ -74,7 +74,7 @@ export function HttpSendHeader({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-send-header/http_send_header.md",
+ "https://play.ballerina.io/?gist=76b0d4cd04589fe6ac8769ac248bb850&file=http_send_header.bal",
"_blank",
);
}}
@@ -82,140 +82,16 @@ export function HttpSendHeader({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -223,7 +99,7 @@ export function HttpSendHeader({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-send-header",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-send-header",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-send-response/content.jsx b/swan-lake/by-example/http-send-response/content.jsx
index ec2891c70ff..1b772e4bac6 100644
--- a/swan-lake/by-example/http-send-response/content.jsx
+++ b/swan-lake/by-example/http-send-response/content.jsx
@@ -67,7 +67,7 @@ export function HttpSendResponse({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-send-response/http_send_response.md",
+ "https://play.ballerina.io/?gist=d36b92641c8f52a48aaf2c7ba71222e8&file=http_send_response.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function HttpSendResponse({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function HttpSendResponse({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-send-response",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-send-response",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-and-resource-paths/content.jsx b/swan-lake/by-example/http-service-and-resource-paths/content.jsx
index 06ca76ca904..ef23451b635 100644
--- a/swan-lake/by-example/http-service-and-resource-paths/content.jsx
+++ b/swan-lake/by-example/http-service-and-resource-paths/content.jsx
@@ -65,7 +65,7 @@ export function HttpServiceAndResourcePaths({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-and-resource-paths/http_service_and_resource_paths.md",
+ "https://play.ballerina.io/?gist=801e2bc1cd3b960d376e8cdf4b3edebf&file=http_service_and_resource_paths.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function HttpServiceAndResourcePaths({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function HttpServiceAndResourcePaths({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-and-resource-paths",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-and-resource-paths",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-basic-authentication-file-user-store/content.jsx b/swan-lake/by-example/http-service-basic-authentication-file-user-store/content.jsx
index 05376513c64..c29809ddb0c 100644
--- a/swan-lake/by-example/http-service-basic-authentication-file-user-store/content.jsx
+++ b/swan-lake/by-example/http-service-basic-authentication-file-user-store/content.jsx
@@ -107,7 +107,7 @@ export function HttpServiceBasicAuthenticationFileUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-basic-authentication-file-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-basic-authentication-file-user-store",
"_blank",
);
}}
@@ -203,7 +203,7 @@ export function HttpServiceBasicAuthenticationFileUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-basic-authentication-file-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-basic-authentication-file-user-store",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-basic-authentication-ldap-user-store/content.jsx b/swan-lake/by-example/http-service-basic-authentication-ldap-user-store/content.jsx
index ee6ceefb013..c7375fc1fe2 100644
--- a/swan-lake/by-example/http-service-basic-authentication-ldap-user-store/content.jsx
+++ b/swan-lake/by-example/http-service-basic-authentication-ldap-user-store/content.jsx
@@ -111,7 +111,7 @@ export function HttpServiceBasicAuthenticationLdapUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-basic-authentication-ldap-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-basic-authentication-ldap-user-store",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-cache-response/content.jsx b/swan-lake/by-example/http-service-cache-response/content.jsx
index ec3ea127cd7..99d261f264f 100644
--- a/swan-lake/by-example/http-service-cache-response/content.jsx
+++ b/swan-lake/by-example/http-service-cache-response/content.jsx
@@ -65,7 +65,7 @@ export function HttpServiceCacheResponse({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-cache-response/http_service_cache_response.md",
+ "https://play.ballerina.io/?gist=8e53218185574f04fa8186ee7c1f75e1&file=http_service_cache_response.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function HttpServiceCacheResponse({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function HttpServiceCacheResponse({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-cache-response",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-cache-response",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-chunking/content.jsx b/swan-lake/by-example/http-service-chunking/content.jsx
index b4253f90e6f..e76da2d57c7 100644
--- a/swan-lake/by-example/http-service-chunking/content.jsx
+++ b/swan-lake/by-example/http-service-chunking/content.jsx
@@ -65,7 +65,7 @@ export function HttpServiceChunking({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-chunking/http_service_chunking.md",
+ "https://play.ballerina.io/?gist=2c8a8f2100819784f718cd5f5deb70d7&file=http_service_chunking.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function HttpServiceChunking({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function HttpServiceChunking({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-chunking",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-chunking",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-data-binding/content.jsx b/swan-lake/by-example/http-service-data-binding/content.jsx
index 589a8248240..6953d0cfae7 100644
--- a/swan-lake/by-example/http-service-data-binding/content.jsx
+++ b/swan-lake/by-example/http-service-data-binding/content.jsx
@@ -66,7 +66,7 @@ export function HttpServiceDataBinding({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-data-binding/http_service_data_binding.md",
+ "https://play.ballerina.io/?gist=f258981aaa93f68954aa1fe8851e58b0&file=http_service_data_binding.bal",
"_blank",
);
}}
@@ -74,140 +74,16 @@ export function HttpServiceDataBinding({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -215,7 +91,7 @@ export function HttpServiceDataBinding({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-data-binding",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-data-binding",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-file-upload/content.jsx b/swan-lake/by-example/http-service-file-upload/content.jsx
index 2877991d461..11c614c91c1 100644
--- a/swan-lake/by-example/http-service-file-upload/content.jsx
+++ b/swan-lake/by-example/http-service-file-upload/content.jsx
@@ -52,7 +52,7 @@ export function HttpServiceFileUpload({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-file-upload/http_service_file_upload.md",
+ "https://play.ballerina.io/?gist=c317950be0817e13d89317a229ff7cea&file=http_service_file_upload.bal",
"_blank",
);
}}
@@ -60,140 +60,16 @@ export function HttpServiceFileUpload({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -201,7 +77,7 @@ export function HttpServiceFileUpload({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-file-upload",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-file-upload",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-jwt-authentication/content.jsx b/swan-lake/by-example/http-service-jwt-authentication/content.jsx
index 96338d72d78..105a1d64c18 100644
--- a/swan-lake/by-example/http-service-jwt-authentication/content.jsx
+++ b/swan-lake/by-example/http-service-jwt-authentication/content.jsx
@@ -89,7 +89,7 @@ export function HttpServiceJwtAuthentication({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-jwt-authentication",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-jwt-authentication",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-mutual-ssl/content.jsx b/swan-lake/by-example/http-service-mutual-ssl/content.jsx
index b88be65f4ef..f407a6cecbd 100644
--- a/swan-lake/by-example/http-service-mutual-ssl/content.jsx
+++ b/swan-lake/by-example/http-service-mutual-ssl/content.jsx
@@ -78,7 +78,7 @@ export function HttpServiceMutualSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-mutual-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-mutual-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-oauth2/content.jsx b/swan-lake/by-example/http-service-oauth2/content.jsx
index 1c0481f081c..4de9be6f4ba 100644
--- a/swan-lake/by-example/http-service-oauth2/content.jsx
+++ b/swan-lake/by-example/http-service-oauth2/content.jsx
@@ -94,7 +94,7 @@ export function HttpServiceOauth2({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-oauth2",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-oauth2",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-payload-constraint-validation/content.jsx b/swan-lake/by-example/http-service-payload-constraint-validation/content.jsx
index 5bea4b7d3cc..c64045fff33 100644
--- a/swan-lake/by-example/http-service-payload-constraint-validation/content.jsx
+++ b/swan-lake/by-example/http-service-payload-constraint-validation/content.jsx
@@ -67,7 +67,7 @@ export function HttpServicePayloadConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-payload-constraint-validation/http_service_payload_constraint_validation.md",
+ "https://play.ballerina.io/?gist=069077d126f810a3e4b50583aa6bfedc&file=http_service_payload_constraint_validation.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function HttpServicePayloadConstraintValidation({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function HttpServicePayloadConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-payload-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-payload-constraint-validation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-redirects/content.jsx b/swan-lake/by-example/http-service-redirects/content.jsx
index 2c1159cc13a..6963ede4092 100644
--- a/swan-lake/by-example/http-service-redirects/content.jsx
+++ b/swan-lake/by-example/http-service-redirects/content.jsx
@@ -54,7 +54,7 @@ export function HttpServiceRedirects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-redirects/http_service_redirects.md",
+ "https://play.ballerina.io/?gist=b39136560e4dc885eff0594a07485892&file=http_service_redirects.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function HttpServiceRedirects({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function HttpServiceRedirects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-redirects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-redirects",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-service-ssl-tls/content.jsx b/swan-lake/by-example/http-service-ssl-tls/content.jsx
index 67b63c5aec9..ff4c35bc8d9 100644
--- a/swan-lake/by-example/http-service-ssl-tls/content.jsx
+++ b/swan-lake/by-example/http-service-ssl-tls/content.jsx
@@ -66,7 +66,7 @@ export function HttpServiceSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-service-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-service-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-timeout/content.jsx b/swan-lake/by-example/http-timeout/content.jsx
index 144ff103edd..8559c166a4d 100644
--- a/swan-lake/by-example/http-timeout/content.jsx
+++ b/swan-lake/by-example/http-timeout/content.jsx
@@ -52,7 +52,7 @@ export function HttpTimeout({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-timeout/http_timeout.md",
+ "https://play.ballerina.io/?gist=0dd5345724702e3341a7b809119170ad&file=http_timeout.bal",
"_blank",
);
}}
@@ -60,140 +60,16 @@ export function HttpTimeout({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -201,7 +77,7 @@ export function HttpTimeout({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-timeout",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-timeout",
"_blank",
);
}}
diff --git a/swan-lake/by-example/http-trace-logs/content.jsx b/swan-lake/by-example/http-trace-logs/content.jsx
index ccffffcb129..d410023fd54 100644
--- a/swan-lake/by-example/http-trace-logs/content.jsx
+++ b/swan-lake/by-example/http-trace-logs/content.jsx
@@ -65,7 +65,7 @@ export function HttpTraceLogs({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-trace-logs/http_trace_logs.md",
+ "https://play.ballerina.io/?gist=1a981edb50ed6f04b542d30dd7064321&file=http_trace_logs.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function HttpTraceLogs({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function HttpTraceLogs({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-trace-logs",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-trace-logs",
"_blank",
);
}}
@@ -512,7 +388,7 @@ export function HttpTraceLogs({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-trace-logs/http_trace_logs.md",
+ "https://play.ballerina.io/?gist=b359968545d28e16ad0b95f50f828944&file=Config.toml",
"_blank",
);
}}
@@ -520,140 +396,16 @@ export function HttpTraceLogs({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -661,7 +413,7 @@ export function HttpTraceLogs({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/http-trace-logs",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/http-trace-logs",
"_blank",
);
}}
diff --git a/swan-lake/by-example/identifiers/content.jsx b/swan-lake/by-example/identifiers/content.jsx
index 389e1c29612..c05cebcc712 100644
--- a/swan-lake/by-example/identifiers/content.jsx
+++ b/swan-lake/by-example/identifiers/content.jsx
@@ -48,7 +48,7 @@ export function Identifiers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/identifiers/identifiers.md",
+ "https://play.ballerina.io/?gist=021190b825b0d4ece7b801beb2eb1318&file=identifiers.bal",
"_blank",
);
}}
@@ -56,140 +56,16 @@ export function Identifiers({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -197,7 +73,7 @@ export function Identifiers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/identifiers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/identifiers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/identity/content.jsx b/swan-lake/by-example/identity/content.jsx
index c41fcabfec1..edd027f74c5 100644
--- a/swan-lake/by-example/identity/content.jsx
+++ b/swan-lake/by-example/identity/content.jsx
@@ -75,7 +75,7 @@ export function Identity({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/identity/identity.md",
+ "https://play.ballerina.io/?gist=2f5e22cbf5ece97fbf34d196ed0fe125&file=identity.bal",
"_blank",
);
}}
@@ -83,140 +83,16 @@ export function Identity({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -224,7 +100,7 @@ export function Identity({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/identity",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/identity",
"_blank",
);
}}
diff --git a/swan-lake/by-example/if-statement/content.jsx b/swan-lake/by-example/if-statement/content.jsx
index ad576752df8..67f3344c807 100644
--- a/swan-lake/by-example/if-statement/content.jsx
+++ b/swan-lake/by-example/if-statement/content.jsx
@@ -73,7 +73,7 @@ export function IfStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/if-statement/if_statement.md",
+ "https://play.ballerina.io/?gist=ca6f9f9c17d6b727a0e1d975b57fe7a5&file=if_statement.bal",
"_blank",
);
}}
@@ -81,140 +81,16 @@ export function IfStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -222,7 +98,7 @@ export function IfStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/if-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/if-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/ignoring-return-values-and-errors/content.jsx b/swan-lake/by-example/ignoring-return-values-and-errors/content.jsx
index f1f0714fa0e..02eae0bb2a0 100644
--- a/swan-lake/by-example/ignoring-return-values-and-errors/content.jsx
+++ b/swan-lake/by-example/ignoring-return-values-and-errors/content.jsx
@@ -74,7 +74,7 @@ export function IgnoringReturnValuesAndErrors({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/ignoring-return-values-and-errors/ignoring_return_values_and_errors.md",
+ "https://play.ballerina.io/?gist=150f2b1c4b4fcce8c5aaee5ebd15daad&file=ignoring_return_values_and_errors.bal",
"_blank",
);
}}
@@ -82,140 +82,16 @@ export function IgnoringReturnValuesAndErrors({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -223,7 +99,7 @@ export function IgnoringReturnValuesAndErrors({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/ignoring-return-values-and-errors",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/ignoring-return-values-and-errors",
"_blank",
);
}}
diff --git a/swan-lake/by-example/immutability/content.jsx b/swan-lake/by-example/immutability/content.jsx
index da03decf30e..52e82df84a8 100644
--- a/swan-lake/by-example/immutability/content.jsx
+++ b/swan-lake/by-example/immutability/content.jsx
@@ -67,7 +67,7 @@ export function Immutability({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/immutability",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/immutability",
"_blank",
);
}}
diff --git a/swan-lake/by-example/included-record-parameters/content.jsx b/swan-lake/by-example/included-record-parameters/content.jsx
index a12abc4658b..0a1848b8658 100644
--- a/swan-lake/by-example/included-record-parameters/content.jsx
+++ b/swan-lake/by-example/included-record-parameters/content.jsx
@@ -59,7 +59,7 @@ export function IncludedRecordParameters({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/included-record-parameters/included_record_parameters.md",
+ "https://play.ballerina.io/?gist=acb81a2986a8374373d457a70044a7cc&file=included_record_parameters.bal",
"_blank",
);
}}
@@ -67,140 +67,16 @@ export function IncludedRecordParameters({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -208,7 +84,7 @@ export function IncludedRecordParameters({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/included-record-parameters",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/included-record-parameters",
"_blank",
);
}}
diff --git a/swan-lake/by-example/inferring-isolated/content.jsx b/swan-lake/by-example/inferring-isolated/content.jsx
index 67fc8f3241f..ac13d40b3ad 100644
--- a/swan-lake/by-example/inferring-isolated/content.jsx
+++ b/swan-lake/by-example/inferring-isolated/content.jsx
@@ -85,7 +85,7 @@ export function InferringIsolated({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/inferring-isolated/inferring_isolated.md",
+ "https://play.ballerina.io/?gist=84c8de9ec2e70f08a2782c93c6193fe4&file=inferring_isolated.bal",
"_blank",
);
}}
@@ -93,140 +93,16 @@ export function InferringIsolated({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -234,7 +110,7 @@ export function InferringIsolated({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/inferring-isolated",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/inferring-isolated",
"_blank",
);
}}
diff --git a/swan-lake/by-example/init-function/content.jsx b/swan-lake/by-example/init-function/content.jsx
index 8143cdd5e5b..ec1a4b8cae0 100644
--- a/swan-lake/by-example/init-function/content.jsx
+++ b/swan-lake/by-example/init-function/content.jsx
@@ -67,7 +67,7 @@ export function InitFunction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/init-function/init_function.md",
+ "https://play.ballerina.io/?gist=4d5c06b61b9324267fb18e9169a066d8&file=init_function.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function InitFunction({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function InitFunction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/init-function",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/init-function",
"_blank",
);
}}
diff --git a/swan-lake/by-example/init-return-type/content.jsx b/swan-lake/by-example/init-return-type/content.jsx
index fec7eb0b78f..206b77703d9 100644
--- a/swan-lake/by-example/init-return-type/content.jsx
+++ b/swan-lake/by-example/init-return-type/content.jsx
@@ -63,7 +63,7 @@ export function InitReturnType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/init-return-type/init_return_type.md",
+ "https://play.ballerina.io/?gist=b9f14c6ccdef0e7c81aecccf34d4fe56&file=init_return_type.bal",
"_blank",
);
}}
@@ -71,140 +71,16 @@ export function InitReturnType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -212,7 +88,7 @@ export function InitReturnType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/init-return-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/init-return-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/int-range/content.jsx b/swan-lake/by-example/int-range/content.jsx
index 2af19f6c807..d27e75a7c64 100644
--- a/swan-lake/by-example/int-range/content.jsx
+++ b/swan-lake/by-example/int-range/content.jsx
@@ -60,7 +60,7 @@ export function IntRange({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/int-range/int_range.md",
+ "https://play.ballerina.io/?gist=792e1abd0b76ef63308d9762f11e2ef2&file=int_range.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function IntRange({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function IntRange({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/int-range",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/int-range",
"_blank",
);
}}
diff --git a/swan-lake/by-example/integers/content.jsx b/swan-lake/by-example/integers/content.jsx
index e66228fc86b..fced6a6eced 100644
--- a/swan-lake/by-example/integers/content.jsx
+++ b/swan-lake/by-example/integers/content.jsx
@@ -50,7 +50,7 @@ export function Integers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/integers/integers.md",
+ "https://play.ballerina.io/?gist=a73067d6213d86124b599ce75672b21f&file=integers.bal",
"_blank",
);
}}
@@ -58,140 +58,16 @@ export function Integers({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -199,7 +75,7 @@ export function Integers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/integers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/integers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/inter-worker-failure-propagation/content.jsx b/swan-lake/by-example/inter-worker-failure-propagation/content.jsx
index 86b2848d231..0853a6ef368 100644
--- a/swan-lake/by-example/inter-worker-failure-propagation/content.jsx
+++ b/swan-lake/by-example/inter-worker-failure-propagation/content.jsx
@@ -75,7 +75,7 @@ export function InterWorkerFailurePropagation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/inter-worker-failure-propagation/inter_worker_failure_propagation.md",
+ "https://play.ballerina.io/?gist=beee9d7d09ef37001ed1171fe2d8a40c&file=inter_worker_failure_propagation.bal",
"_blank",
);
}}
@@ -83,140 +83,16 @@ export function InterWorkerFailurePropagation({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -224,7 +100,7 @@ export function InterWorkerFailurePropagation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/inter-worker-failure-propagation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/inter-worker-failure-propagation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/inter-worker-message-passing/content.jsx b/swan-lake/by-example/inter-worker-message-passing/content.jsx
index e730e98193c..65be62335a3 100644
--- a/swan-lake/by-example/inter-worker-message-passing/content.jsx
+++ b/swan-lake/by-example/inter-worker-message-passing/content.jsx
@@ -72,7 +72,7 @@ export function InterWorkerMessagePassing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/inter-worker-message-passing/inter_worker_message_passing.md",
+ "https://play.ballerina.io/?gist=406baa900a993113173448e818db6fb8&file=inter_worker_message_passing.bal",
"_blank",
);
}}
@@ -80,140 +80,16 @@ export function InterWorkerMessagePassing({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -221,7 +97,7 @@ export function InterWorkerMessagePassing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/inter-worker-message-passing",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/inter-worker-message-passing",
"_blank",
);
}}
diff --git a/swan-lake/by-example/interface-to-external-code/content.jsx b/swan-lake/by-example/interface-to-external-code/content.jsx
index 67d3a0f0372..9d0507fee32 100644
--- a/swan-lake/by-example/interface-to-external-code/content.jsx
+++ b/swan-lake/by-example/interface-to-external-code/content.jsx
@@ -64,7 +64,7 @@ export function InterfaceToExternalCode({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/interface-to-external-code/interface_to_external_code.md",
+ "https://play.ballerina.io/?gist=730a735c1a502d318845aee6efda2fb0&file=interface_to_external_code.bal",
"_blank",
);
}}
@@ -72,140 +72,16 @@ export function InterfaceToExternalCode({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -213,7 +89,7 @@ export function InterfaceToExternalCode({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/interface-to-external-code",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/interface-to-external-code",
"_blank",
);
}}
diff --git a/swan-lake/by-example/io-bytes/content.jsx b/swan-lake/by-example/io-bytes/content.jsx
index 71cae7ddd51..c58e3cf250b 100644
--- a/swan-lake/by-example/io-bytes/content.jsx
+++ b/swan-lake/by-example/io-bytes/content.jsx
@@ -66,7 +66,7 @@ export function IoBytes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-bytes",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/io-bytes",
"_blank",
);
}}
diff --git a/swan-lake/by-example/io-csv-datamapping/content.jsx b/swan-lake/by-example/io-csv-datamapping/content.jsx
index b439ffd2e7a..205f6f33c3c 100644
--- a/swan-lake/by-example/io-csv-datamapping/content.jsx
+++ b/swan-lake/by-example/io-csv-datamapping/content.jsx
@@ -82,7 +82,7 @@ export function IoCsvDatamapping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-csv-datamapping/io_csv_datamapping.md",
+ "https://play.ballerina.io/?gist=f0db16dd8ba1373c9911fc546851e921&file=io_csv_datamapping.bal",
"_blank",
);
}}
@@ -90,140 +90,16 @@ export function IoCsvDatamapping({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -231,7 +107,7 @@ export function IoCsvDatamapping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-csv-datamapping",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/io-csv-datamapping",
"_blank",
);
}}
diff --git a/swan-lake/by-example/io-csv/content.jsx b/swan-lake/by-example/io-csv/content.jsx
index 8cb89ebed32..d232142d20e 100644
--- a/swan-lake/by-example/io-csv/content.jsx
+++ b/swan-lake/by-example/io-csv/content.jsx
@@ -68,7 +68,7 @@ export function IoCsv({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-csv/io_csv.md",
+ "https://play.ballerina.io/?gist=64eeb75fdf9b1cf73e4c0fee3c7169fc&file=io_csv.bal",
"_blank",
);
}}
@@ -76,140 +76,16 @@ export function IoCsv({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -217,7 +93,7 @@ export function IoCsv({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-csv",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/io-csv",
"_blank",
);
}}
diff --git a/swan-lake/by-example/io-json/content.jsx b/swan-lake/by-example/io-json/content.jsx
index 38df771507d..a6df1e5f7a5 100644
--- a/swan-lake/by-example/io-json/content.jsx
+++ b/swan-lake/by-example/io-json/content.jsx
@@ -65,7 +65,7 @@ export function IoJson({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-json/io_json.md",
+ "https://play.ballerina.io/?gist=5452cb1db46d2bb666a80c4e70f1bfbe&file=io_json.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function IoJson({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function IoJson({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-json",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/io-json",
"_blank",
);
}}
diff --git a/swan-lake/by-example/io-strings/content.jsx b/swan-lake/by-example/io-strings/content.jsx
index 450bb77ebb3..d71c2ccbd1b 100644
--- a/swan-lake/by-example/io-strings/content.jsx
+++ b/swan-lake/by-example/io-strings/content.jsx
@@ -78,7 +78,7 @@ export function IoStrings({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-strings/io_strings.md",
+ "https://play.ballerina.io/?gist=87c272e90050860ae8a5499351251998&file=io_strings.bal",
"_blank",
);
}}
@@ -86,140 +86,16 @@ export function IoStrings({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -227,7 +103,7 @@ export function IoStrings({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-strings",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/io-strings",
"_blank",
);
}}
diff --git a/swan-lake/by-example/io-xml/content.jsx b/swan-lake/by-example/io-xml/content.jsx
index 9102f121acd..911a4ca5597 100644
--- a/swan-lake/by-example/io-xml/content.jsx
+++ b/swan-lake/by-example/io-xml/content.jsx
@@ -57,7 +57,7 @@ export function IoXml({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-xml/io_xml.md",
+ "https://play.ballerina.io/?gist=27496ca5e7d4c77ab8f742dca4ac5648&file=io_xml.bal",
"_blank",
);
}}
@@ -65,140 +65,16 @@ export function IoXml({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -206,7 +82,7 @@ export function IoXml({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/io-xml",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/io-xml",
"_blank",
);
}}
diff --git a/swan-lake/by-example/isolated-functions/content.jsx b/swan-lake/by-example/isolated-functions/content.jsx
index ce10182c3f6..2d9a56f2cc9 100644
--- a/swan-lake/by-example/isolated-functions/content.jsx
+++ b/swan-lake/by-example/isolated-functions/content.jsx
@@ -98,7 +98,7 @@ export function IsolatedFunctions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/isolated-functions/isolated_functions.md",
+ "https://play.ballerina.io/?gist=711861fb5378b851338e17fcdaabeedb&file=isolated_functions.bal",
"_blank",
);
}}
@@ -106,140 +106,16 @@ export function IsolatedFunctions({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -247,7 +123,7 @@ export function IsolatedFunctions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/isolated-functions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/isolated-functions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/isolated-methods/content.jsx b/swan-lake/by-example/isolated-methods/content.jsx
index e96ed4dbb16..d5717c7679b 100644
--- a/swan-lake/by-example/isolated-methods/content.jsx
+++ b/swan-lake/by-example/isolated-methods/content.jsx
@@ -76,7 +76,7 @@ export function IsolatedMethods({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/isolated-methods/isolated_methods.md",
+ "https://play.ballerina.io/?gist=11173e819c02bcc632ef6766236c7509&file=isolated_methods.bal",
"_blank",
);
}}
@@ -84,140 +84,16 @@ export function IsolatedMethods({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -225,7 +101,7 @@ export function IsolatedMethods({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/isolated-methods",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/isolated-methods",
"_blank",
);
}}
diff --git a/swan-lake/by-example/isolated-objects/content.jsx b/swan-lake/by-example/isolated-objects/content.jsx
index 1f5a9ee2b90..83248e2dbfa 100644
--- a/swan-lake/by-example/isolated-objects/content.jsx
+++ b/swan-lake/by-example/isolated-objects/content.jsx
@@ -116,7 +116,7 @@ export function IsolatedObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/isolated-objects/isolated_objects.md",
+ "https://play.ballerina.io/?gist=8e1e48c0be00eae64f54b19a35d73201&file=isolated_objects.bal",
"_blank",
);
}}
@@ -124,140 +124,16 @@ export function IsolatedObjects({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -265,7 +141,7 @@ export function IsolatedObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/isolated-objects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/isolated-objects",
"_blank",
);
}}
diff --git a/swan-lake/by-example/isolated-variables/content.jsx b/swan-lake/by-example/isolated-variables/content.jsx
index 3eb18851b51..fe0e3d56491 100644
--- a/swan-lake/by-example/isolated-variables/content.jsx
+++ b/swan-lake/by-example/isolated-variables/content.jsx
@@ -97,7 +97,7 @@ export function IsolatedVariables({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/isolated-variables/isolated_variables.md",
+ "https://play.ballerina.io/?gist=7d5abd3b3cbfa691ad5ca2edbed0d382&file=isolated_variables.bal",
"_blank",
);
}}
@@ -105,140 +105,16 @@ export function IsolatedVariables({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -246,7 +122,7 @@ export function IsolatedVariables({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/isolated-variables",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/isolated-variables",
"_blank",
);
}}
diff --git a/swan-lake/by-example/iterating-over-xml-with-query/content.jsx b/swan-lake/by-example/iterating-over-xml-with-query/content.jsx
index 24e851fe230..cdf86cdb099 100644
--- a/swan-lake/by-example/iterating-over-xml-with-query/content.jsx
+++ b/swan-lake/by-example/iterating-over-xml-with-query/content.jsx
@@ -68,7 +68,7 @@ export function IteratingOverXmlWithQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/iterating-over-xml-with-query/iterating_over_xml_with_query.md",
+ "https://play.ballerina.io/?gist=c184d617b5043a3044f3e505532b5780&file=iterating_over_xml_with_query.bal",
"_blank",
);
}}
@@ -76,140 +76,16 @@ export function IteratingOverXmlWithQuery({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -217,7 +93,7 @@ export function IteratingOverXmlWithQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/iterating-over-xml-with-query",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/iterating-over-xml-with-query",
"_blank",
);
}}
diff --git a/swan-lake/by-example/iterative-use-of-typed-binding/content.jsx b/swan-lake/by-example/iterative-use-of-typed-binding/content.jsx
index cddd49a7602..33625ff0401 100644
--- a/swan-lake/by-example/iterative-use-of-typed-binding/content.jsx
+++ b/swan-lake/by-example/iterative-use-of-typed-binding/content.jsx
@@ -78,7 +78,7 @@ export function IterativeUseOfTypedBinding({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/iterative-use-of-typed-binding/iterative_use_of_typed_binding.md",
+ "https://play.ballerina.io/?gist=a5c868de7d35f5392f4ee549dd4608ff&file=iterative_use_of_typed_binding.bal",
"_blank",
);
}}
@@ -86,140 +86,16 @@ export function IterativeUseOfTypedBinding({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -227,7 +103,7 @@ export function IterativeUseOfTypedBinding({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/iterative-use-of-typed-binding",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/iterative-use-of-typed-binding",
"_blank",
);
}}
diff --git a/swan-lake/by-example/jms-consumer-acknowledgement/content.jsx b/swan-lake/by-example/jms-consumer-acknowledgement/content.jsx
index 3a0f5f6c5e2..680a1e08c62 100644
--- a/swan-lake/by-example/jms-consumer-acknowledgement/content.jsx
+++ b/swan-lake/by-example/jms-consumer-acknowledgement/content.jsx
@@ -62,7 +62,7 @@ export function JmsConsumerAcknowledgement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/jms-consumer-acknowledgement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/jms-consumer-acknowledgement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/jms-consumer-consume-message/content.jsx b/swan-lake/by-example/jms-consumer-consume-message/content.jsx
index 5aee1b76849..3d195882403 100644
--- a/swan-lake/by-example/jms-consumer-consume-message/content.jsx
+++ b/swan-lake/by-example/jms-consumer-consume-message/content.jsx
@@ -59,7 +59,7 @@ export function JmsConsumerConsumeMessage({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/jms-consumer-consume-message",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/jms-consumer-consume-message",
"_blank",
);
}}
diff --git a/swan-lake/by-example/jms-producer-produce-message/content.jsx b/swan-lake/by-example/jms-producer-produce-message/content.jsx
index dc3854691c3..8addd064800 100644
--- a/swan-lake/by-example/jms-producer-produce-message/content.jsx
+++ b/swan-lake/by-example/jms-producer-produce-message/content.jsx
@@ -80,7 +80,7 @@ export function JmsProducerProduceMessage({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/jms-producer-produce-message",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/jms-producer-produce-message",
"_blank",
);
}}
diff --git a/swan-lake/by-example/jms-producer-transaction/content.jsx b/swan-lake/by-example/jms-producer-transaction/content.jsx
index e228106737f..dd62549dbf4 100644
--- a/swan-lake/by-example/jms-producer-transaction/content.jsx
+++ b/swan-lake/by-example/jms-producer-transaction/content.jsx
@@ -72,7 +72,7 @@ export function JmsProducerTransaction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/jms-producer-transaction",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/jms-producer-transaction",
"_blank",
);
}}
diff --git a/swan-lake/by-example/jms-service-consume-message/content.jsx b/swan-lake/by-example/jms-service-consume-message/content.jsx
index f2301bb5002..c2159de2c75 100644
--- a/swan-lake/by-example/jms-service-consume-message/content.jsx
+++ b/swan-lake/by-example/jms-service-consume-message/content.jsx
@@ -61,7 +61,7 @@ export function JmsServiceConsumeMessage({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/jms-service-consume-message",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/jms-service-consume-message",
"_blank",
);
}}
diff --git a/swan-lake/by-example/joining-iterable-objects/content.jsx b/swan-lake/by-example/joining-iterable-objects/content.jsx
index d8990c0ebec..70f7a6fea13 100644
--- a/swan-lake/by-example/joining-iterable-objects/content.jsx
+++ b/swan-lake/by-example/joining-iterable-objects/content.jsx
@@ -84,7 +84,7 @@ export function JoiningIterableObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/joining-iterable-objects/joining_iterable_objects.md",
+ "https://play.ballerina.io/?gist=6ca7f614c3b1bc522bda58fc5f42bc0d&file=joining_iterable_objects.bal",
"_blank",
);
}}
@@ -92,140 +92,16 @@ export function JoiningIterableObjects({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -233,7 +109,7 @@ export function JoiningIterableObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/joining-iterable-objects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/joining-iterable-objects",
"_blank",
);
}}
diff --git a/swan-lake/by-example/json-numbers/content.jsx b/swan-lake/by-example/json-numbers/content.jsx
index 96ce01ed61b..9ba605bd4f5 100644
--- a/swan-lake/by-example/json-numbers/content.jsx
+++ b/swan-lake/by-example/json-numbers/content.jsx
@@ -81,7 +81,7 @@ export function JsonNumbers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/json-numbers/json_numbers.md",
+ "https://play.ballerina.io/?gist=22adcf05583c968fd558c10e1a1a6a84&file=json_numbers.bal",
"_blank",
);
}}
@@ -89,140 +89,16 @@ export function JsonNumbers({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -230,7 +106,7 @@ export function JsonNumbers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/json-numbers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/json-numbers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/json-type/content.jsx b/swan-lake/by-example/json-type/content.jsx
index fbc74cfc39f..3b28afd21e4 100644
--- a/swan-lake/by-example/json-type/content.jsx
+++ b/swan-lake/by-example/json-type/content.jsx
@@ -88,7 +88,7 @@ export function JsonType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/json-type/json_type.md",
+ "https://play.ballerina.io/?gist=2c16c6f7a72279a800b68554dbd438d9&file=json_type.bal",
"_blank",
);
}}
@@ -96,140 +96,16 @@ export function JsonType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -237,7 +113,7 @@ export function JsonType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/json-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/json-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-consumer-constraint-validation/content.jsx b/swan-lake/by-example/kafka-consumer-constraint-validation/content.jsx
index 8c940370bd2..22809975155 100644
--- a/swan-lake/by-example/kafka-consumer-constraint-validation/content.jsx
+++ b/swan-lake/by-example/kafka-consumer-constraint-validation/content.jsx
@@ -74,7 +74,7 @@ export function KafkaConsumerConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-consumer-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-consumer-constraint-validation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-consumer-consumer-record-data-binding/content.jsx b/swan-lake/by-example/kafka-consumer-consumer-record-data-binding/content.jsx
index 5eec7d92592..7fbcba141ad 100644
--- a/swan-lake/by-example/kafka-consumer-consumer-record-data-binding/content.jsx
+++ b/swan-lake/by-example/kafka-consumer-consumer-record-data-binding/content.jsx
@@ -83,7 +83,7 @@ export function KafkaConsumerConsumerRecordDataBinding({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-consumer-consumer-record-data-binding",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-consumer-consumer-record-data-binding",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-consumer-payload-data-binding/content.jsx b/swan-lake/by-example/kafka-consumer-payload-data-binding/content.jsx
index cf2da433229..f69a3f39633 100644
--- a/swan-lake/by-example/kafka-consumer-payload-data-binding/content.jsx
+++ b/swan-lake/by-example/kafka-consumer-payload-data-binding/content.jsx
@@ -74,7 +74,7 @@ export function KafkaConsumerPayloadDataBinding({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-consumer-payload-data-binding",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-consumer-payload-data-binding",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-consumer-sasl/content.jsx b/swan-lake/by-example/kafka-consumer-sasl/content.jsx
index 22d3fb69948..9ac4b08a8d5 100644
--- a/swan-lake/by-example/kafka-consumer-sasl/content.jsx
+++ b/swan-lake/by-example/kafka-consumer-sasl/content.jsx
@@ -76,7 +76,7 @@ export function KafkaConsumerSasl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-consumer-sasl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-consumer-sasl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-consumer-ssl/content.jsx b/swan-lake/by-example/kafka-consumer-ssl/content.jsx
index 3ea53eb539d..5a61b0545be 100644
--- a/swan-lake/by-example/kafka-consumer-ssl/content.jsx
+++ b/swan-lake/by-example/kafka-consumer-ssl/content.jsx
@@ -75,7 +75,7 @@ export function KafkaConsumerSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-consumer-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-consumer-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-producer-produce-message/content.jsx b/swan-lake/by-example/kafka-producer-produce-message/content.jsx
index e57e1a4ed3e..755c4374ad7 100644
--- a/swan-lake/by-example/kafka-producer-produce-message/content.jsx
+++ b/swan-lake/by-example/kafka-producer-produce-message/content.jsx
@@ -69,7 +69,7 @@ export function KafkaProducerProduceMessage({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-producer-produce-message",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-producer-produce-message",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-producer-sasl/content.jsx b/swan-lake/by-example/kafka-producer-sasl/content.jsx
index 5d6e1ad4c38..16bdfd91431 100644
--- a/swan-lake/by-example/kafka-producer-sasl/content.jsx
+++ b/swan-lake/by-example/kafka-producer-sasl/content.jsx
@@ -79,7 +79,7 @@ export function KafkaProducerSasl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-producer-sasl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-producer-sasl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-producer-ssl/content.jsx b/swan-lake/by-example/kafka-producer-ssl/content.jsx
index b2b0e5dcc11..24ff730cfdc 100644
--- a/swan-lake/by-example/kafka-producer-ssl/content.jsx
+++ b/swan-lake/by-example/kafka-producer-ssl/content.jsx
@@ -89,7 +89,7 @@ export function KafkaProducerSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-producer-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-producer-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-service-constraint-validation/content.jsx b/swan-lake/by-example/kafka-service-constraint-validation/content.jsx
index 7202edb1db2..3b993ac7bd5 100644
--- a/swan-lake/by-example/kafka-service-constraint-validation/content.jsx
+++ b/swan-lake/by-example/kafka-service-constraint-validation/content.jsx
@@ -76,7 +76,7 @@ export function KafkaServiceConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-service-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-service-constraint-validation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-service-consume-message/content.jsx b/swan-lake/by-example/kafka-service-consume-message/content.jsx
index 95aa1d238ec..35abb29ab30 100644
--- a/swan-lake/by-example/kafka-service-consume-message/content.jsx
+++ b/swan-lake/by-example/kafka-service-consume-message/content.jsx
@@ -75,7 +75,7 @@ export function KafkaServiceConsumeMessage({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-service-consume-message",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-service-consume-message",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-service-error-handling/content.jsx b/swan-lake/by-example/kafka-service-error-handling/content.jsx
index 167781b347b..dfb26b9e18a 100644
--- a/swan-lake/by-example/kafka-service-error-handling/content.jsx
+++ b/swan-lake/by-example/kafka-service-error-handling/content.jsx
@@ -95,7 +95,7 @@ export function KafkaServiceErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-service-error-handling",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-service-error-handling",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-service-sasl/content.jsx b/swan-lake/by-example/kafka-service-sasl/content.jsx
index 28c2fee2577..d855ba7e22a 100644
--- a/swan-lake/by-example/kafka-service-sasl/content.jsx
+++ b/swan-lake/by-example/kafka-service-sasl/content.jsx
@@ -77,7 +77,7 @@ export function KafkaServiceSasl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-service-sasl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-service-sasl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kafka-service-ssl/content.jsx b/swan-lake/by-example/kafka-service-ssl/content.jsx
index 14fe98a04a1..8f7cca47270 100644
--- a/swan-lake/by-example/kafka-service-ssl/content.jsx
+++ b/swan-lake/by-example/kafka-service-ssl/content.jsx
@@ -75,7 +75,7 @@ export function KafkaServiceSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kafka-service-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kafka-service-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/kubernetes-hello-world/content.jsx b/swan-lake/by-example/kubernetes-hello-world/content.jsx
index e84764b574c..a0f0b607686 100644
--- a/swan-lake/by-example/kubernetes-hello-world/content.jsx
+++ b/swan-lake/by-example/kubernetes-hello-world/content.jsx
@@ -75,7 +75,7 @@ export function KubernetesHelloWorld({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kubernetes-hello-world",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kubernetes-hello-world",
"_blank",
);
}}
@@ -174,7 +174,7 @@ export function KubernetesHelloWorld({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/kubernetes-hello-world",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/kubernetes-hello-world",
"_blank",
);
}}
diff --git a/swan-lake/by-example/langlib-functions/content.jsx b/swan-lake/by-example/langlib-functions/content.jsx
index 008faf96424..aac6faf5ebe 100644
--- a/swan-lake/by-example/langlib-functions/content.jsx
+++ b/swan-lake/by-example/langlib-functions/content.jsx
@@ -89,7 +89,7 @@ export function LanglibFunctions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/langlib-functions/langlib_functions.md",
+ "https://play.ballerina.io/?gist=c2dd51ea65f6abf5d219a2ed6d2f85fd&file=langlib_functions.bal",
"_blank",
);
}}
@@ -97,140 +97,16 @@ export function LanglibFunctions({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -238,7 +114,7 @@ export function LanglibFunctions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/langlib-functions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/langlib-functions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/let-clause/content.jsx b/swan-lake/by-example/let-clause/content.jsx
index d1ac3424e86..570a45d8484 100644
--- a/swan-lake/by-example/let-clause/content.jsx
+++ b/swan-lake/by-example/let-clause/content.jsx
@@ -71,7 +71,7 @@ export function LetClause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/let-clause/let_clause.md",
+ "https://play.ballerina.io/?gist=8d73a8eb8a893bb3aa46dd03846822b9&file=let_clause.bal",
"_blank",
);
}}
@@ -79,140 +79,16 @@ export function LetClause({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -220,7 +96,7 @@ export function LetClause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/let-clause",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/let-clause",
"_blank",
);
}}
diff --git a/swan-lake/by-example/limit-clause/content.jsx b/swan-lake/by-example/limit-clause/content.jsx
index e5f398681f9..603daa4db11 100644
--- a/swan-lake/by-example/limit-clause/content.jsx
+++ b/swan-lake/by-example/limit-clause/content.jsx
@@ -63,7 +63,7 @@ export function LimitClause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/limit-clause/limit_clause.md",
+ "https://play.ballerina.io/?gist=cfb610eccbac26d2956c9c67683b172c&file=limit_clause.bal",
"_blank",
);
}}
@@ -71,140 +71,16 @@ export function LimitClause({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -212,7 +88,7 @@ export function LimitClause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/limit-clause",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/limit-clause",
"_blank",
);
}}
diff --git a/swan-lake/by-example/list-binding-pattern-in-match-statement/content.jsx b/swan-lake/by-example/list-binding-pattern-in-match-statement/content.jsx
index b35ec904944..b4801fe1e35 100644
--- a/swan-lake/by-example/list-binding-pattern-in-match-statement/content.jsx
+++ b/swan-lake/by-example/list-binding-pattern-in-match-statement/content.jsx
@@ -65,7 +65,7 @@ export function ListBindingPatternInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/list-binding-pattern-in-match-statement/list_binding_pattern_in_match_statement.md",
+ "https://play.ballerina.io/?gist=ea61b3e625b7c4d120742f9071ff28a6&file=list_binding_pattern_in_match_statement.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function ListBindingPatternInMatchStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function ListBindingPatternInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/list-binding-pattern-in-match-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/list-binding-pattern-in-match-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/list-binding-pattern/content.jsx b/swan-lake/by-example/list-binding-pattern/content.jsx
index 00032f7b03b..ecb5fbd2d7f 100644
--- a/swan-lake/by-example/list-binding-pattern/content.jsx
+++ b/swan-lake/by-example/list-binding-pattern/content.jsx
@@ -52,7 +52,7 @@ export function ListBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/list-binding-pattern/list_binding_pattern.md",
+ "https://play.ballerina.io/?gist=d8fc225b3c2bbabf6de574fcca3d38e2&file=list_binding_pattern.bal",
"_blank",
);
}}
@@ -60,140 +60,16 @@ export function ListBindingPattern({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -201,7 +77,7 @@ export function ListBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/list-binding-pattern",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/list-binding-pattern",
"_blank",
);
}}
diff --git a/swan-lake/by-example/list-equality/content.jsx b/swan-lake/by-example/list-equality/content.jsx
index 8eb476a9c52..4e4dc59c6d6 100644
--- a/swan-lake/by-example/list-equality/content.jsx
+++ b/swan-lake/by-example/list-equality/content.jsx
@@ -72,7 +72,7 @@ export function ListEquality({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/list-equality/list_equality.md",
+ "https://play.ballerina.io/?gist=0ba8f18cf880a815210ef32ff8941e27&file=list_equality.bal",
"_blank",
);
}}
@@ -80,140 +80,16 @@ export function ListEquality({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -221,7 +97,7 @@ export function ListEquality({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/list-equality",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/list-equality",
"_blank",
);
}}
diff --git a/swan-lake/by-example/list-subtyping/content.jsx b/swan-lake/by-example/list-subtyping/content.jsx
index bec4dbbac1f..cc4c557ddc1 100644
--- a/swan-lake/by-example/list-subtyping/content.jsx
+++ b/swan-lake/by-example/list-subtyping/content.jsx
@@ -65,7 +65,7 @@ export function ListSubtyping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/list-subtyping/list_subtyping.md",
+ "https://play.ballerina.io/?gist=e5011d5dbfe9485ce2e7923cc65c66fd&file=list_subtyping.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function ListSubtyping({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function ListSubtyping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/list-subtyping",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/list-subtyping",
"_blank",
);
}}
diff --git a/swan-lake/by-example/lock-statement/content.jsx b/swan-lake/by-example/lock-statement/content.jsx
index 8a7c7e917fa..c6851a5ce01 100644
--- a/swan-lake/by-example/lock-statement/content.jsx
+++ b/swan-lake/by-example/lock-statement/content.jsx
@@ -55,7 +55,7 @@ export function LockStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/lock-statement/lock_statement.md",
+ "https://play.ballerina.io/?gist=6745c95bdcd086b3106e04818b1cc35e&file=lock_statement.bal",
"_blank",
);
}}
@@ -63,140 +63,16 @@ export function LockStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -204,7 +80,7 @@ export function LockStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/lock-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/lock-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/logging-configuration/content.jsx b/swan-lake/by-example/logging-configuration/content.jsx
index c39ea8d1b31..a6b9ef83480 100644
--- a/swan-lake/by-example/logging-configuration/content.jsx
+++ b/swan-lake/by-example/logging-configuration/content.jsx
@@ -52,7 +52,7 @@ export function LoggingConfiguration({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/logging-configuration",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/logging-configuration",
"_blank",
);
}}
@@ -184,9 +184,9 @@ export function LoggingConfiguration({ codeSnippets }) {
{`\$ bal run logging_configuration.bal`}
- {`time=2023-09-04T13:39:47.027+05:30 level=ERROR module="" message="error log"`}
- {`time=2023-09-04T13:39:47.037+05:30 level=INFO module="" message="info log"`}
- {`time=2023-09-04T13:39:47.038+05:30 level=WARN module="" message="warn log"`}
+ {`time = 2021-05-25T11:06:54.998+05:30 level = ERROR module = "" message = "error log"`}
+ {`time = 2021-05-25T11:06:55.009+05:30 level = INFO module = "" message = "info log"`}
+ {`time = 2021-05-25T11:06:55.010+05:30 level = WARN module = "" message = "warn log"`}
{`# As shown in the output, only the \`INFO\` and higher level logs are logged by default.`}
{`
`}
@@ -196,10 +196,10 @@ export function LoggingConfiguration({ codeSnippets }) {
{`# [ballerina.log]`}
{`# level = "DEBUG"`}
{`# \`\`\``}
- {`time=2023-09-04T13:42:07.797+05:30 level=DEBUG module="" message="debug log"`}
- {`time=2023-09-04T13:42:07.807+05:30 level=ERROR module="" message="error log"`}
- {`time=2023-09-04T13:42:07.808+05:30 level=INFO module="" message="info log"`}
- {`time=2023-09-04T13:42:07.809+05:30 level=WARN module="" message="warn log"`}
+ {`time = 2021-05-25T11:11:24.898+05:30 level = DEBUG module = "" message = "debug log"`}
+ {`time = 2021-05-25T11:11:24.914+05:30 level = ERROR module = "" message = "error log"`}
+ {`time = 2021-05-25T11:11:24.915+05:30 level = INFO module = "" message = "info log"`}
+ {`time = 2021-05-25T11:11:24.915+05:30 level = WARN module = "" message = "warn log"`}
{`# As shown in the output, now the \`DEBUG\` and higher level logs are logged.`}
{`
`}
@@ -219,9 +219,9 @@ export function LoggingConfiguration({ codeSnippets }) {
{`# [ballerina.log]`}
{`# format = "json"`}
{`# \`\`\``}
- {`{"time":"2023-09-04T13:44:10.529+05:30", "level":"ERROR", "module":"", "message":"error log"}`}
- {`{"time":"2023-09-04T13:44:10.536+05:30", "level":"INFO", "module":"", "message":"info log"}`}
- {`{"time":"2023-09-04T13:44:10.536+05:30", "level":"WARN", "module":"", "message":"warn log"}`}
+ {`{"time":"2021-05-25T11:14:43.986+05:30", "level":"ERROR", "module":"", "message":"error log"}`}
+ {`{"time":"2021-05-25T11:14:44.005+05:30", "level":"INFO", "module":"", "message":"info log"}`}
+ {`{"time":"2021-05-25T11:14:44.006+05:30", "level":"WARN", "module":"", "message":"warn log"}`}
diff --git a/swan-lake/by-example/logging-with-context/content.jsx b/swan-lake/by-example/logging-with-context/content.jsx
index 143f4e788e2..9c054c7ff26 100644
--- a/swan-lake/by-example/logging-with-context/content.jsx
+++ b/swan-lake/by-example/logging-with-context/content.jsx
@@ -59,7 +59,7 @@ export function LoggingWithContext({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/logging-with-context/logging_with_context.md",
+ "https://play.ballerina.io/?gist=0267507a7f1fd916506e520955277f2c&file=logging_with_context.bal",
"_blank",
);
}}
@@ -67,140 +67,16 @@ export function LoggingWithContext({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -208,7 +84,7 @@ export function LoggingWithContext({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/logging-with-context",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/logging-with-context",
"_blank",
);
}}
@@ -340,8 +216,8 @@ export function LoggingWithContext({ codeSnippets }) {
{`\$ bal run logging_with_context.bal`}
- {`time=2023-09-04T13:38:09.181+05:30 level=INFO module="" message="info log" current_time="2023-09-04T08:08:09.184211Z"`}
- {`time=2023-09-04T13:38:09.194+05:30 level=INFO module="" message="info log" percentage=15.125095844268799`}
+ {`time = 2021-05-25T10:34:25.460+05:30 level = INFO module = "" message = "info log" current_time = "2021-05-25T05:04:25.473981Z"`}
+ {`time = 2021-05-25T10:34:25.487+05:30 level = INFO module = "" message = "info log" percentage = 38.4141353500368`}
diff --git a/swan-lake/by-example/logging/content.jsx b/swan-lake/by-example/logging/content.jsx
index 9aa17f34e57..3f8a7b3d864 100644
--- a/swan-lake/by-example/logging/content.jsx
+++ b/swan-lake/by-example/logging/content.jsx
@@ -61,7 +61,7 @@ export function Logging({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/logging/logging.md",
+ "https://play.ballerina.io/?gist=60f87da05c6b5240beb0a6351fd27eb6&file=logging.bal",
"_blank",
);
}}
@@ -69,140 +69,16 @@ export function Logging({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -210,7 +86,7 @@ export function Logging({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/logging",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/logging",
"_blank",
);
}}
@@ -342,11 +218,12 @@ export function Logging({ codeSnippets }) {
{`\$ bal run logging.bal`}
- {`time=2023-09-04T13:35:12.309+05:30 level=ERROR module="" message="error log"`}
- {`time=2023-09-04T13:35:12.319+05:30 level=INFO module="" message="info log"`}
- {`time=2023-09-04T13:35:12.320+05:30 level=WARN module="" message="warn log"`}
- {`time=2023-09-04T13:35:12.321+05:30 level=INFO module="" message="info log" id=845315 name="foo" successful=true`}
- {`time=2023-09-04T13:35:12.323+05:30 level=ERROR module="" message="error log with cause" error={"causes":[],"message":"something went wrong!","detail":{},"stackTrace":[{"callableName":"main","moduleName":(),"fileName":"logging.bal","lineNumber":15}]} id=845315 name="foo"`}
+ {`time = 2021-05-25T11:29:58.290+05:30 level = DEBUG module = "" message = "debug log"`}
+ {`time = 2021-05-25T11:29:58.305+05:30 level = ERROR module = "" message = "error log"`}
+ {`time = 2021-05-25T11:29:58.306+05:30 level = INFO module = "" message = "info log"`}
+ {`time = 2021-05-25T11:29:58.307+05:30 level = WARN module = "" message = "warn log"`}
+ {`time = 2021-05-25T11:29:58.307+05:30 level = INFO module = "" message = "info log" name = "foo" id = 845315 successful = true`}
+ {`time = 2021-05-25T11:29:58.317+05:30 level = ERROR module = "" message = "error log with cause" error = "something went wrong!" name = "foo" id = 845315`}
diff --git a/swan-lake/by-example/main-function/content.jsx b/swan-lake/by-example/main-function/content.jsx
index 6386a4beb0f..cec0415dbaf 100644
--- a/swan-lake/by-example/main-function/content.jsx
+++ b/swan-lake/by-example/main-function/content.jsx
@@ -52,7 +52,7 @@ export function MainFunction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/main-function",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/main-function",
"_blank",
);
}}
diff --git a/swan-lake/by-example/manage-scheduled-jobs/content.jsx b/swan-lake/by-example/manage-scheduled-jobs/content.jsx
index 488274e74fb..fa05152ed34 100644
--- a/swan-lake/by-example/manage-scheduled-jobs/content.jsx
+++ b/swan-lake/by-example/manage-scheduled-jobs/content.jsx
@@ -112,7 +112,7 @@ export function ManageScheduledJobs({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/manage-scheduled-jobs/manage_scheduled_jobs.md",
+ "https://play.ballerina.io/?gist=2f6f66ac499e66a5d1d8a0c6d3624f42&file=manage_scheduled_jobs.bal",
"_blank",
);
}}
@@ -120,140 +120,16 @@ export function ManageScheduledJobs({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -261,7 +137,7 @@ export function ManageScheduledJobs({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/manage-scheduled-jobs",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/manage-scheduled-jobs",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mapping-binding-pattern-in-match-statement/content.jsx b/swan-lake/by-example/mapping-binding-pattern-in-match-statement/content.jsx
index 832b98904ea..b5890cfe3aa 100644
--- a/swan-lake/by-example/mapping-binding-pattern-in-match-statement/content.jsx
+++ b/swan-lake/by-example/mapping-binding-pattern-in-match-statement/content.jsx
@@ -91,7 +91,7 @@ export function MappingBindingPatternInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mapping-binding-pattern-in-match-statement/mapping_binding_pattern_in_match_statement.md",
+ "https://play.ballerina.io/?gist=745d4bf2d2e3d94bc9c8415cbed4e97e&file=mapping_binding_pattern_in_match_statement.bal",
"_blank",
);
}}
@@ -99,140 +99,16 @@ export function MappingBindingPatternInMatchStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -240,7 +116,7 @@ export function MappingBindingPatternInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mapping-binding-pattern-in-match-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mapping-binding-pattern-in-match-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mapping-binding-pattern/content.jsx b/swan-lake/by-example/mapping-binding-pattern/content.jsx
index 25dbbf4aa86..75205a2ce51 100644
--- a/swan-lake/by-example/mapping-binding-pattern/content.jsx
+++ b/swan-lake/by-example/mapping-binding-pattern/content.jsx
@@ -79,7 +79,7 @@ export function MappingBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mapping-binding-pattern/mapping_binding_pattern.md",
+ "https://play.ballerina.io/?gist=76ec2403c1a01eff912161664edc7a77&file=mapping_binding_pattern.bal",
"_blank",
);
}}
@@ -87,140 +87,16 @@ export function MappingBindingPattern({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -228,7 +104,7 @@ export function MappingBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mapping-binding-pattern",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mapping-binding-pattern",
"_blank",
);
}}
diff --git a/swan-lake/by-example/maps/content.jsx b/swan-lake/by-example/maps/content.jsx
index da205540662..7e50f16b2df 100644
--- a/swan-lake/by-example/maps/content.jsx
+++ b/swan-lake/by-example/maps/content.jsx
@@ -74,7 +74,7 @@ export function Maps({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/maps/maps.md",
+ "https://play.ballerina.io/?gist=9eba79e9665360730fff4b5eb600173a&file=maps.bal",
"_blank",
);
}}
@@ -82,140 +82,16 @@ export function Maps({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -223,7 +99,7 @@ export function Maps({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/maps",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/maps",
"_blank",
);
}}
diff --git a/swan-lake/by-example/match-guard-in-match-statement/content.jsx b/swan-lake/by-example/match-guard-in-match-statement/content.jsx
index 8fc7670f1be..130b9d3d728 100644
--- a/swan-lake/by-example/match-guard-in-match-statement/content.jsx
+++ b/swan-lake/by-example/match-guard-in-match-statement/content.jsx
@@ -82,7 +82,7 @@ export function MatchGuardInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/match-guard-in-match-statement/match_guard_in_match_statement.md",
+ "https://play.ballerina.io/?gist=7b0803ee5b83ae7168013e7a42f454f7&file=match_guard_in_match_statement.bal",
"_blank",
);
}}
@@ -90,140 +90,16 @@ export function MatchGuardInMatchStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -231,7 +107,7 @@ export function MatchGuardInMatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/match-guard-in-match-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/match-guard-in-match-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/match-statement-with-maps/content.jsx b/swan-lake/by-example/match-statement-with-maps/content.jsx
index fe69cf20278..5f23b0338f8 100644
--- a/swan-lake/by-example/match-statement-with-maps/content.jsx
+++ b/swan-lake/by-example/match-statement-with-maps/content.jsx
@@ -61,7 +61,7 @@ export function MatchStatementWithMaps({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/match-statement-with-maps/match_statement_with_maps.md",
+ "https://play.ballerina.io/?gist=8da08ce9a9bafe429162f3809f3eb285&file=match_statement_with_maps.bal",
"_blank",
);
}}
@@ -69,140 +69,16 @@ export function MatchStatementWithMaps({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -210,7 +86,7 @@ export function MatchStatementWithMaps({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/match-statement-with-maps",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/match-statement-with-maps",
"_blank",
);
}}
diff --git a/swan-lake/by-example/match-statement/content.jsx b/swan-lake/by-example/match-statement/content.jsx
index 31550e518e7..d7f415f7936 100644
--- a/swan-lake/by-example/match-statement/content.jsx
+++ b/swan-lake/by-example/match-statement/content.jsx
@@ -81,7 +81,7 @@ export function MatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/match-statement/match_statement.md",
+ "https://play.ballerina.io/?gist=dc5ab863ea24e8432c74afb969b83d12&file=match_statement.bal",
"_blank",
);
}}
@@ -89,140 +89,16 @@ export function MatchStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -230,7 +106,7 @@ export function MatchStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/match-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/match-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/module-lifecycle/content.jsx b/swan-lake/by-example/module-lifecycle/content.jsx
index cb301ca6aa0..40f2b0ef913 100644
--- a/swan-lake/by-example/module-lifecycle/content.jsx
+++ b/swan-lake/by-example/module-lifecycle/content.jsx
@@ -60,7 +60,7 @@ export function ModuleLifecycle({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/module-lifecycle/module_lifecycle.md",
+ "https://play.ballerina.io/?gist=24e3c2f625d2c045787c32f16a60d256&file=module_lifecycle.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function ModuleLifecycle({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function ModuleLifecycle({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/module-lifecycle",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/module-lifecycle",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mqtt-client-basic-authentication/content.jsx b/swan-lake/by-example/mqtt-client-basic-authentication/content.jsx
index 9e31af80460..1d439c2cd7f 100644
--- a/swan-lake/by-example/mqtt-client-basic-authentication/content.jsx
+++ b/swan-lake/by-example/mqtt-client-basic-authentication/content.jsx
@@ -70,7 +70,7 @@ export function MqttClientBasicAuthentication({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mqtt-client-basic-authentication",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mqtt-client-basic-authentication",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mqtt-client-publish-message/content.jsx b/swan-lake/by-example/mqtt-client-publish-message/content.jsx
index de70c96c082..ea26f77ccbc 100644
--- a/swan-lake/by-example/mqtt-client-publish-message/content.jsx
+++ b/swan-lake/by-example/mqtt-client-publish-message/content.jsx
@@ -66,7 +66,7 @@ export function MqttClientPublishMessage({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mqtt-client-publish-message",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mqtt-client-publish-message",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mqtt-client-ssl/content.jsx b/swan-lake/by-example/mqtt-client-ssl/content.jsx
index 9c5187fd2e0..8f204d87a31 100644
--- a/swan-lake/by-example/mqtt-client-ssl/content.jsx
+++ b/swan-lake/by-example/mqtt-client-ssl/content.jsx
@@ -82,7 +82,7 @@ export function MqttClientSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mqtt-client-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mqtt-client-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mqtt-service-basic-authentication/content.jsx b/swan-lake/by-example/mqtt-service-basic-authentication/content.jsx
index a8c6c4b648e..bd82adcb7db 100644
--- a/swan-lake/by-example/mqtt-service-basic-authentication/content.jsx
+++ b/swan-lake/by-example/mqtt-service-basic-authentication/content.jsx
@@ -64,7 +64,7 @@ export function MqttServiceBasicAuthentication({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mqtt-service-basic-authentication",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mqtt-service-basic-authentication",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mqtt-service-ssl/content.jsx b/swan-lake/by-example/mqtt-service-ssl/content.jsx
index 930a9741724..5948c57d29b 100644
--- a/swan-lake/by-example/mqtt-service-ssl/content.jsx
+++ b/swan-lake/by-example/mqtt-service-ssl/content.jsx
@@ -66,7 +66,7 @@ export function MqttServiceSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mqtt-service-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mqtt-service-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mqtt-service-subscribe-message/content.jsx b/swan-lake/by-example/mqtt-service-subscribe-message/content.jsx
index 125d5633cf2..ab960848bdb 100644
--- a/swan-lake/by-example/mqtt-service-subscribe-message/content.jsx
+++ b/swan-lake/by-example/mqtt-service-subscribe-message/content.jsx
@@ -59,7 +59,7 @@ export function MqttServiceSubscribeMessage({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mqtt-service-subscribe-message",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mqtt-service-subscribe-message",
"_blank",
);
}}
diff --git a/swan-lake/by-example/multiple-key-fields/content.jsx b/swan-lake/by-example/multiple-key-fields/content.jsx
index c886d100168..85eeb88c165 100644
--- a/swan-lake/by-example/multiple-key-fields/content.jsx
+++ b/swan-lake/by-example/multiple-key-fields/content.jsx
@@ -65,7 +65,7 @@ export function MultipleKeyFields({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/multiple-key-fields/multiple_key_fields.md",
+ "https://play.ballerina.io/?gist=36655c867387ee750beb6b4254ccb72f&file=multiple_key_fields.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function MultipleKeyFields({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function MultipleKeyFields({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/multiple-key-fields",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/multiple-key-fields",
"_blank",
);
}}
diff --git a/swan-lake/by-example/multiple-wait/content.jsx b/swan-lake/by-example/multiple-wait/content.jsx
index e6a89d0def3..35372c0d06c 100644
--- a/swan-lake/by-example/multiple-wait/content.jsx
+++ b/swan-lake/by-example/multiple-wait/content.jsx
@@ -67,7 +67,7 @@ export function MultipleWait({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/multiple-wait/multiple_wait.md",
+ "https://play.ballerina.io/?gist=8531f4f4a11686e51f9aebca810b105e&file=multiple_wait.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function MultipleWait({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function MultipleWait({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/multiple-wait",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/multiple-wait",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mysql-atomic-transaction/content.jsx b/swan-lake/by-example/mysql-atomic-transaction/content.jsx
index b953f8012db..3c4cc5c99af 100644
--- a/swan-lake/by-example/mysql-atomic-transaction/content.jsx
+++ b/swan-lake/by-example/mysql-atomic-transaction/content.jsx
@@ -121,7 +121,7 @@ export function MysqlAtomicTransaction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mysql-atomic-transaction",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mysql-atomic-transaction",
"_blank",
);
}}
@@ -352,7 +352,7 @@ export function MysqlAtomicTransaction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mysql-atomic-transaction",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mysql-atomic-transaction",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mysql-batch-execute-operation/content.jsx b/swan-lake/by-example/mysql-batch-execute-operation/content.jsx
index 90e002a8b9a..40f8f36cb01 100644
--- a/swan-lake/by-example/mysql-batch-execute-operation/content.jsx
+++ b/swan-lake/by-example/mysql-batch-execute-operation/content.jsx
@@ -94,7 +94,7 @@ export function MysqlBatchExecuteOperation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mysql-batch-execute-operation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mysql-batch-execute-operation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mysql-call-stored-procedures/content.jsx b/swan-lake/by-example/mysql-call-stored-procedures/content.jsx
index f11c9b574e3..3b34e8404a3 100644
--- a/swan-lake/by-example/mysql-call-stored-procedures/content.jsx
+++ b/swan-lake/by-example/mysql-call-stored-procedures/content.jsx
@@ -120,7 +120,7 @@ export function MysqlCallStoredProcedures({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mysql-call-stored-procedures",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mysql-call-stored-procedures",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mysql-execute-operation/content.jsx b/swan-lake/by-example/mysql-execute-operation/content.jsx
index d9f058b862c..00d8bb93c9d 100644
--- a/swan-lake/by-example/mysql-execute-operation/content.jsx
+++ b/swan-lake/by-example/mysql-execute-operation/content.jsx
@@ -88,7 +88,7 @@ export function MysqlExecuteOperation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mysql-execute-operation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mysql-execute-operation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mysql-query-column-mapping/content.jsx b/swan-lake/by-example/mysql-query-column-mapping/content.jsx
index 2f3cf137931..d17b765f2a4 100644
--- a/swan-lake/by-example/mysql-query-column-mapping/content.jsx
+++ b/swan-lake/by-example/mysql-query-column-mapping/content.jsx
@@ -94,7 +94,7 @@ export function MysqlQueryColumnMapping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mysql-query-column-mapping",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mysql-query-column-mapping",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mysql-query-operation/content.jsx b/swan-lake/by-example/mysql-query-operation/content.jsx
index 3cf84a008c3..4a7c503fd15 100644
--- a/swan-lake/by-example/mysql-query-operation/content.jsx
+++ b/swan-lake/by-example/mysql-query-operation/content.jsx
@@ -91,7 +91,7 @@ export function MysqlQueryOperation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mysql-query-operation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mysql-query-operation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/mysql-query-row-operation/content.jsx b/swan-lake/by-example/mysql-query-row-operation/content.jsx
index 7549ffe1543..3a666d5d779 100644
--- a/swan-lake/by-example/mysql-query-row-operation/content.jsx
+++ b/swan-lake/by-example/mysql-query-row-operation/content.jsx
@@ -95,7 +95,7 @@ export function MysqlQueryRowOperation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/mysql-query-row-operation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/mysql-query-row-operation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/named-worker-return-values/content.jsx b/swan-lake/by-example/named-worker-return-values/content.jsx
index 8cc0dcd4623..3656727df3d 100644
--- a/swan-lake/by-example/named-worker-return-values/content.jsx
+++ b/swan-lake/by-example/named-worker-return-values/content.jsx
@@ -70,7 +70,7 @@ export function NamedWorkerReturnValues({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/named-worker-return-values/named_worker_return_values.md",
+ "https://play.ballerina.io/?gist=982659c108f3430f5a58c4520c4e0b5a&file=named_worker_return_values.bal",
"_blank",
);
}}
@@ -78,140 +78,16 @@ export function NamedWorkerReturnValues({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -219,7 +95,7 @@ export function NamedWorkerReturnValues({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/named-worker-return-values",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/named-worker-return-values",
"_blank",
);
}}
diff --git a/swan-lake/by-example/named-workers-and-futures/content.jsx b/swan-lake/by-example/named-workers-and-futures/content.jsx
index eb0eeddc5ff..02f3c193dfa 100644
--- a/swan-lake/by-example/named-workers-and-futures/content.jsx
+++ b/swan-lake/by-example/named-workers-and-futures/content.jsx
@@ -66,7 +66,7 @@ export function NamedWorkersAndFutures({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/named-workers-and-futures/named_workers_and_futures.md",
+ "https://play.ballerina.io/?gist=299ba36dccf5b926ce8ea6e3d721d5dc&file=named_workers_and_futures.bal",
"_blank",
);
}}
@@ -74,140 +74,16 @@ export function NamedWorkersAndFutures({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -215,7 +91,7 @@ export function NamedWorkersAndFutures({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/named-workers-and-futures",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/named-workers-and-futures",
"_blank",
);
}}
diff --git a/swan-lake/by-example/named-workers/content.jsx b/swan-lake/by-example/named-workers/content.jsx
index b39e18e0ffd..4ea974e68f7 100644
--- a/swan-lake/by-example/named-workers/content.jsx
+++ b/swan-lake/by-example/named-workers/content.jsx
@@ -64,7 +64,7 @@ export function NamedWorkers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/named-workers/named_workers.md",
+ "https://play.ballerina.io/?gist=f3069eeecbf8d0d8635e4a94aee50af9&file=named_workers.bal",
"_blank",
);
}}
@@ -72,140 +72,16 @@ export function NamedWorkers({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -213,7 +89,7 @@ export function NamedWorkers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/named-workers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/named-workers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-basic-pub/content.jsx b/swan-lake/by-example/nats-basic-pub/content.jsx
index 8be0bf9ea29..2a72e7f5aff 100644
--- a/swan-lake/by-example/nats-basic-pub/content.jsx
+++ b/swan-lake/by-example/nats-basic-pub/content.jsx
@@ -69,7 +69,7 @@ export function NatsBasicPub({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-basic-pub",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-basic-pub",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-basic-reply/content.jsx b/swan-lake/by-example/nats-basic-reply/content.jsx
index abf911a3cd4..d695c2616e9 100644
--- a/swan-lake/by-example/nats-basic-reply/content.jsx
+++ b/swan-lake/by-example/nats-basic-reply/content.jsx
@@ -64,7 +64,7 @@ export function NatsBasicReply({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-basic-reply",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-basic-reply",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-basic-request/content.jsx b/swan-lake/by-example/nats-basic-request/content.jsx
index 3baff7cb7b9..70078f0ecbb 100644
--- a/swan-lake/by-example/nats-basic-request/content.jsx
+++ b/swan-lake/by-example/nats-basic-request/content.jsx
@@ -80,7 +80,7 @@ export function NatsBasicRequest({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-basic-request",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-basic-request",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-basic-sub/content.jsx b/swan-lake/by-example/nats-basic-sub/content.jsx
index 83d27a493b6..7e99fde3f3f 100644
--- a/swan-lake/by-example/nats-basic-sub/content.jsx
+++ b/swan-lake/by-example/nats-basic-sub/content.jsx
@@ -62,7 +62,7 @@ export function NatsBasicSub({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-basic-sub",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-basic-sub",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-client-basic-auth/content.jsx b/swan-lake/by-example/nats-client-basic-auth/content.jsx
index 6ac740d8f7b..184084e51a4 100644
--- a/swan-lake/by-example/nats-client-basic-auth/content.jsx
+++ b/swan-lake/by-example/nats-client-basic-auth/content.jsx
@@ -77,7 +77,7 @@ export function NatsClientBasicAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-client-basic-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-client-basic-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-client-secure-connection/content.jsx b/swan-lake/by-example/nats-client-secure-connection/content.jsx
index 66f95a6f571..0842ddbe3db 100644
--- a/swan-lake/by-example/nats-client-secure-connection/content.jsx
+++ b/swan-lake/by-example/nats-client-secure-connection/content.jsx
@@ -75,7 +75,7 @@ export function NatsClientSecureConnection({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-client-secure-connection",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-client-secure-connection",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-jetstream-pub/content.jsx b/swan-lake/by-example/nats-jetstream-pub/content.jsx
index 0ea08ac1460..8fd195455b2 100644
--- a/swan-lake/by-example/nats-jetstream-pub/content.jsx
+++ b/swan-lake/by-example/nats-jetstream-pub/content.jsx
@@ -84,7 +84,7 @@ export function NatsJetstreamPub({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-jetstream-pub",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-jetstream-pub",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-jetstream-sub/content.jsx b/swan-lake/by-example/nats-jetstream-sub/content.jsx
index 6e9e065c607..cc932474e0e 100644
--- a/swan-lake/by-example/nats-jetstream-sub/content.jsx
+++ b/swan-lake/by-example/nats-jetstream-sub/content.jsx
@@ -77,7 +77,7 @@ export function NatsJetstreamSub({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-jetstream-sub",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-jetstream-sub",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-service-basic-auth/content.jsx b/swan-lake/by-example/nats-service-basic-auth/content.jsx
index e473f621de4..012cdb5d070 100644
--- a/swan-lake/by-example/nats-service-basic-auth/content.jsx
+++ b/swan-lake/by-example/nats-service-basic-auth/content.jsx
@@ -69,7 +69,7 @@ export function NatsServiceBasicAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-service-basic-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-service-basic-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-service-constraint-validation/content.jsx b/swan-lake/by-example/nats-service-constraint-validation/content.jsx
index aa7abfc05cf..251b32a5b8d 100644
--- a/swan-lake/by-example/nats-service-constraint-validation/content.jsx
+++ b/swan-lake/by-example/nats-service-constraint-validation/content.jsx
@@ -73,7 +73,7 @@ export function NatsServiceConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-service-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-service-constraint-validation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nats-service-secure-connection/content.jsx b/swan-lake/by-example/nats-service-secure-connection/content.jsx
index b61005543a1..19c792f8daa 100644
--- a/swan-lake/by-example/nats-service-secure-connection/content.jsx
+++ b/swan-lake/by-example/nats-service-secure-connection/content.jsx
@@ -66,7 +66,7 @@ export function NatsServiceSecureConnection({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nats-service-secure-connection",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nats-service-secure-connection",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nested-arrays/content.jsx b/swan-lake/by-example/nested-arrays/content.jsx
index 21f91f8c448..7c5ca6780d0 100644
--- a/swan-lake/by-example/nested-arrays/content.jsx
+++ b/swan-lake/by-example/nested-arrays/content.jsx
@@ -66,7 +66,7 @@ export function NestedArrays({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nested-arrays/nested_arrays.md",
+ "https://play.ballerina.io/?gist=d6c0caa59bd7b2234b30127c3c9e73c6&file=nested_arrays.bal",
"_blank",
);
}}
@@ -74,140 +74,16 @@ export function NestedArrays({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -215,7 +91,7 @@ export function NestedArrays({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nested-arrays",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nested-arrays",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nested-query-expressions/content.jsx b/swan-lake/by-example/nested-query-expressions/content.jsx
index be87779befd..b0f72baa687 100644
--- a/swan-lake/by-example/nested-query-expressions/content.jsx
+++ b/swan-lake/by-example/nested-query-expressions/content.jsx
@@ -54,7 +54,7 @@ export function NestedQueryExpressions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nested-query-expressions/nested_query_expressions.md",
+ "https://play.ballerina.io/?gist=36909db6b9d78db7b353d1edc93b58c9&file=nested_query_expressions.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function NestedQueryExpressions({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function NestedQueryExpressions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nested-query-expressions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nested-query-expressions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/never-type/content.jsx b/swan-lake/by-example/never-type/content.jsx
index ccf332c7802..2ceea7cbb2e 100644
--- a/swan-lake/by-example/never-type/content.jsx
+++ b/swan-lake/by-example/never-type/content.jsx
@@ -75,7 +75,7 @@ export function NeverType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/never-type/never_type.md",
+ "https://play.ballerina.io/?gist=9f0ab5c88056b959cef8a79daef8e2bc&file=never_type.bal",
"_blank",
);
}}
@@ -83,140 +83,16 @@ export function NeverType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -224,7 +100,7 @@ export function NeverType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/never-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/never-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/nil/content.jsx b/swan-lake/by-example/nil/content.jsx
index 1b71917455e..85b731a91fd 100644
--- a/swan-lake/by-example/nil/content.jsx
+++ b/swan-lake/by-example/nil/content.jsx
@@ -58,7 +58,7 @@ export function Nil({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nil/nil.md",
+ "https://play.ballerina.io/?gist=2e51bdd3f4f92e2d0b22bf795c4b0c27&file=nil.bal",
"_blank",
);
}}
@@ -66,140 +66,16 @@ export function Nil({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -207,7 +83,7 @@ export function Nil({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/nil",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/nil",
"_blank",
);
}}
diff --git a/swan-lake/by-example/object-closure/content.jsx b/swan-lake/by-example/object-closure/content.jsx
index de9131d4326..cd03cdeeb50 100644
--- a/swan-lake/by-example/object-closure/content.jsx
+++ b/swan-lake/by-example/object-closure/content.jsx
@@ -55,7 +55,7 @@ export function ObjectClosure({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object-closure/object_closure.md",
+ "https://play.ballerina.io/?gist=3a97f423076f5ab73474daea7468c915&file=object_closure.bal",
"_blank",
);
}}
@@ -63,140 +63,16 @@ export function ObjectClosure({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -204,7 +80,7 @@ export function ObjectClosure({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object-closure",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/object-closure",
"_blank",
);
}}
diff --git a/swan-lake/by-example/object-constructor/content.jsx b/swan-lake/by-example/object-constructor/content.jsx
index 0748b5e5342..363add38d5e 100644
--- a/swan-lake/by-example/object-constructor/content.jsx
+++ b/swan-lake/by-example/object-constructor/content.jsx
@@ -62,7 +62,7 @@ export function ObjectConstructor({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object-constructor/object_constructor.md",
+ "https://play.ballerina.io/?gist=d961e0fe01df8a855e2ead8e5a18e6f2&file=object_constructor.bal",
"_blank",
);
}}
@@ -70,140 +70,16 @@ export function ObjectConstructor({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -211,7 +87,7 @@ export function ObjectConstructor({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object-constructor",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/object-constructor",
"_blank",
);
}}
diff --git a/swan-lake/by-example/object-type-inclusion/content.jsx b/swan-lake/by-example/object-type-inclusion/content.jsx
index b7e7b4abb93..addcfc89226 100644
--- a/swan-lake/by-example/object-type-inclusion/content.jsx
+++ b/swan-lake/by-example/object-type-inclusion/content.jsx
@@ -91,7 +91,7 @@ export function ObjectTypeInclusion({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object-type-inclusion/object_type_inclusion.md",
+ "https://play.ballerina.io/?gist=b7810a070ba439e2f6ce701b52d090f2&file=object_type_inclusion.bal",
"_blank",
);
}}
@@ -99,140 +99,16 @@ export function ObjectTypeInclusion({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -240,7 +116,7 @@ export function ObjectTypeInclusion({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object-type-inclusion",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/object-type-inclusion",
"_blank",
);
}}
diff --git a/swan-lake/by-example/object-types/content.jsx b/swan-lake/by-example/object-types/content.jsx
index a89f8acebe1..5e28f018bd9 100644
--- a/swan-lake/by-example/object-types/content.jsx
+++ b/swan-lake/by-example/object-types/content.jsx
@@ -64,7 +64,7 @@ export function ObjectTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object-types/object_types.md",
+ "https://play.ballerina.io/?gist=2fd750d8f2452f57bd3061165541d564&file=object_types.bal",
"_blank",
);
}}
@@ -72,140 +72,16 @@ export function ObjectTypes({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -213,7 +89,7 @@ export function ObjectTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object-types",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/object-types",
"_blank",
);
}}
diff --git a/swan-lake/by-example/object-value-from-class-definition/content.jsx b/swan-lake/by-example/object-value-from-class-definition/content.jsx
index 5314e11f261..40e7103e779 100644
--- a/swan-lake/by-example/object-value-from-class-definition/content.jsx
+++ b/swan-lake/by-example/object-value-from-class-definition/content.jsx
@@ -82,7 +82,7 @@ export function ObjectValueFromClassDefinition({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object-value-from-class-definition/object_value_from_class_definition.md",
+ "https://play.ballerina.io/?gist=eb4cacfb6c257d7a58581d5f7f69c851&file=object_value_from_class_definition.bal",
"_blank",
);
}}
@@ -90,140 +90,16 @@ export function ObjectValueFromClassDefinition({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -231,7 +107,7 @@ export function ObjectValueFromClassDefinition({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object-value-from-class-definition",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/object-value-from-class-definition",
"_blank",
);
}}
diff --git a/swan-lake/by-example/object/content.jsx b/swan-lake/by-example/object/content.jsx
index dcd758b4600..3d13abcee44 100644
--- a/swan-lake/by-example/object/content.jsx
+++ b/swan-lake/by-example/object/content.jsx
@@ -69,7 +69,7 @@ export function Object({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object/object.md",
+ "https://play.ballerina.io/?gist=ce9ff7c483983d0ca586298a3be961dc&file=object.bal",
"_blank",
);
}}
@@ -77,140 +77,16 @@ export function Object({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -218,7 +94,7 @@ export function Object({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/object",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/object",
"_blank",
);
}}
diff --git a/swan-lake/by-example/on-conflict-clause/content.jsx b/swan-lake/by-example/on-conflict-clause/content.jsx
index 41e788ac11a..c540ce3ea63 100644
--- a/swan-lake/by-example/on-conflict-clause/content.jsx
+++ b/swan-lake/by-example/on-conflict-clause/content.jsx
@@ -85,7 +85,7 @@ export function OnConflictClause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/on-conflict-clause/on_conflict_clause.md",
+ "https://play.ballerina.io/?gist=d6e4c5bd9b27640694c724bcced2c3e3&file=on_conflict_clause.bal",
"_blank",
);
}}
@@ -93,140 +93,16 @@ export function OnConflictClause({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -234,7 +110,7 @@ export function OnConflictClause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/on-conflict-clause",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/on-conflict-clause",
"_blank",
);
}}
diff --git a/swan-lake/by-example/open-records/content.jsx b/swan-lake/by-example/open-records/content.jsx
index 3f6ae60d6b7..1f42528f130 100644
--- a/swan-lake/by-example/open-records/content.jsx
+++ b/swan-lake/by-example/open-records/content.jsx
@@ -96,7 +96,7 @@ export function OpenRecords({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/open-records/open_records.md",
+ "https://play.ballerina.io/?gist=51956b84903cfb91719b197b4125505b&file=open_records.bal",
"_blank",
);
}}
@@ -104,140 +104,16 @@ export function OpenRecords({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -245,7 +121,7 @@ export function OpenRecords({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/open-records",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/open-records",
"_blank",
);
}}
diff --git a/swan-lake/by-example/optional-fields/content.jsx b/swan-lake/by-example/optional-fields/content.jsx
index 04c99a9f123..d66828b57ea 100644
--- a/swan-lake/by-example/optional-fields/content.jsx
+++ b/swan-lake/by-example/optional-fields/content.jsx
@@ -81,7 +81,7 @@ export function OptionalFields({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/optional-fields/optional_fields.md",
+ "https://play.ballerina.io/?gist=b5a6b711a284fb76c9c53699ed3ed655&file=optional_fields.bal",
"_blank",
);
}}
@@ -89,140 +89,16 @@ export function OptionalFields({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -230,7 +106,7 @@ export function OptionalFields({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/optional-fields",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/optional-fields",
"_blank",
);
}}
diff --git a/swan-lake/by-example/outer-join-clause/content.jsx b/swan-lake/by-example/outer-join-clause/content.jsx
index 83174a1cfe5..9b2245c54b8 100644
--- a/swan-lake/by-example/outer-join-clause/content.jsx
+++ b/swan-lake/by-example/outer-join-clause/content.jsx
@@ -81,7 +81,7 @@ export function OuterJoinClause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/outer-join-clause/outer_join_clause.md",
+ "https://play.ballerina.io/?gist=2ddb135ef3ac5ba78c15dba2822d5d99&file=outer_join_clause.bal",
"_blank",
);
}}
@@ -89,140 +89,16 @@ export function OuterJoinClause({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -230,7 +106,7 @@ export function OuterJoinClause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/outer-join-clause",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/outer-join-clause",
"_blank",
);
}}
diff --git a/swan-lake/by-example/panics/content.jsx b/swan-lake/by-example/panics/content.jsx
index b932f029e64..47cf7c8513c 100644
--- a/swan-lake/by-example/panics/content.jsx
+++ b/swan-lake/by-example/panics/content.jsx
@@ -71,7 +71,7 @@ export function Panics({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/panics/panics.md",
+ "https://play.ballerina.io/?gist=d362b55716fdd620dde9e7977367b146&file=panics.bal",
"_blank",
);
}}
@@ -79,140 +79,16 @@ export function Panics({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -220,7 +96,7 @@ export function Panics({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/panics",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/panics",
"_blank",
);
}}
diff --git a/swan-lake/by-example/persist-create/content.jsx b/swan-lake/by-example/persist-create/content.jsx
index 2e5d85dec73..235c5a0c971 100644
--- a/swan-lake/by-example/persist-create/content.jsx
+++ b/swan-lake/by-example/persist-create/content.jsx
@@ -201,7 +201,7 @@ export function PersistCreate({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-create",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-create",
"_blank",
);
}}
@@ -359,7 +359,7 @@ export function PersistCreate({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-create",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-create",
"_blank",
);
}}
diff --git a/swan-lake/by-example/persist-delete/content.jsx b/swan-lake/by-example/persist-delete/content.jsx
index 99585891cc2..0a727a58bef 100644
--- a/swan-lake/by-example/persist-delete/content.jsx
+++ b/swan-lake/by-example/persist-delete/content.jsx
@@ -170,7 +170,7 @@ export function PersistDelete({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-delete",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-delete",
"_blank",
);
}}
@@ -328,7 +328,7 @@ export function PersistDelete({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-delete",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-delete",
"_blank",
);
}}
diff --git a/swan-lake/by-example/persist-filtering/content.jsx b/swan-lake/by-example/persist-filtering/content.jsx
index 9dee6caaf10..3d8f203bc34 100644
--- a/swan-lake/by-example/persist-filtering/content.jsx
+++ b/swan-lake/by-example/persist-filtering/content.jsx
@@ -205,7 +205,7 @@ export function PersistFiltering({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-filtering",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-filtering",
"_blank",
);
}}
@@ -364,7 +364,7 @@ export function PersistFiltering({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-filtering",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-filtering",
"_blank",
);
}}
diff --git a/swan-lake/by-example/persist-get-all/content.jsx b/swan-lake/by-example/persist-get-all/content.jsx
index 7fd3d8811dd..7538cf8bad9 100644
--- a/swan-lake/by-example/persist-get-all/content.jsx
+++ b/swan-lake/by-example/persist-get-all/content.jsx
@@ -167,7 +167,7 @@ export function PersistGetAll({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-get-all",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-get-all",
"_blank",
);
}}
@@ -326,7 +326,7 @@ export function PersistGetAll({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-get-all",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-get-all",
"_blank",
);
}}
diff --git a/swan-lake/by-example/persist-get-by-key/content.jsx b/swan-lake/by-example/persist-get-by-key/content.jsx
index 5a037ac598a..9e8343d90a9 100644
--- a/swan-lake/by-example/persist-get-by-key/content.jsx
+++ b/swan-lake/by-example/persist-get-by-key/content.jsx
@@ -169,7 +169,7 @@ export function PersistGetByKey({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-get-by-key",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-get-by-key",
"_blank",
);
}}
@@ -328,7 +328,7 @@ export function PersistGetByKey({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-get-by-key",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-get-by-key",
"_blank",
);
}}
diff --git a/swan-lake/by-example/persist-relation-queries/content.jsx b/swan-lake/by-example/persist-relation-queries/content.jsx
index ab647d8c1e3..fefd45eaab6 100644
--- a/swan-lake/by-example/persist-relation-queries/content.jsx
+++ b/swan-lake/by-example/persist-relation-queries/content.jsx
@@ -235,7 +235,7 @@ export function PersistRelationQueries({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-relation-queries",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-relation-queries",
"_blank",
);
}}
@@ -394,7 +394,7 @@ export function PersistRelationQueries({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-relation-queries",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-relation-queries",
"_blank",
);
}}
diff --git a/swan-lake/by-example/persist-select-fields/content.jsx b/swan-lake/by-example/persist-select-fields/content.jsx
index c631ddeac23..15388d7f1bd 100644
--- a/swan-lake/by-example/persist-select-fields/content.jsx
+++ b/swan-lake/by-example/persist-select-fields/content.jsx
@@ -184,7 +184,7 @@ export function PersistSelectFields({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-select-fields",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-select-fields",
"_blank",
);
}}
@@ -343,7 +343,7 @@ export function PersistSelectFields({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-select-fields",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-select-fields",
"_blank",
);
}}
diff --git a/swan-lake/by-example/persist-update/content.jsx b/swan-lake/by-example/persist-update/content.jsx
index f7d49361b2e..679f4198c16 100644
--- a/swan-lake/by-example/persist-update/content.jsx
+++ b/swan-lake/by-example/persist-update/content.jsx
@@ -176,7 +176,7 @@ export function PersistUpdate({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-update",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-update",
"_blank",
);
}}
@@ -334,7 +334,7 @@ export function PersistUpdate({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/persist-update",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/persist-update",
"_blank",
);
}}
diff --git a/swan-lake/by-example/programs-and-modules/content.jsx b/swan-lake/by-example/programs-and-modules/content.jsx
index 510b65f17b1..13702d1df2f 100644
--- a/swan-lake/by-example/programs-and-modules/content.jsx
+++ b/swan-lake/by-example/programs-and-modules/content.jsx
@@ -7,7 +7,6 @@ import Link from "next/link";
export const codeSnippetData = [
`// This import declaration binds the prefix \`io\` to the \`ballerina/io\` package.
// The prefix by default comes from the last part of the package name.
-
// The \`ballerina\` org name is reserved for the Ballerina library packages.
import ballerina/io;
@@ -48,7 +47,7 @@ export function ProgramsAndModules({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/programs-and-modules/programs_and_modules.md",
+ "https://play.ballerina.io/?gist=0ddb2220ed392755f60513114ed0e9cf&file=programs_and_modules.bal",
"_blank",
);
}}
@@ -56,140 +55,16 @@ export function ProgramsAndModules({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -197,7 +72,7 @@ export function ProgramsAndModules({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/programs-and-modules",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/programs-and-modules",
"_blank",
);
}}
diff --git a/swan-lake/by-example/provide-function-arguments-by-name/content.jsx b/swan-lake/by-example/provide-function-arguments-by-name/content.jsx
index dcca0cc15d9..e8a27931f30 100644
--- a/swan-lake/by-example/provide-function-arguments-by-name/content.jsx
+++ b/swan-lake/by-example/provide-function-arguments-by-name/content.jsx
@@ -54,7 +54,7 @@ export function ProvideFunctionArgumentsByName({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/provide-function-arguments-by-name/provide_function_arguments_by_name.md",
+ "https://play.ballerina.io/?gist=4fd6dd710739b18b4be8724a5da244c8&file=provide_function_arguments_by_name.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function ProvideFunctionArgumentsByName({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function ProvideFunctionArgumentsByName({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/provide-function-arguments-by-name",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/provide-function-arguments-by-name",
"_blank",
);
}}
diff --git a/swan-lake/by-example/providing-services/content.jsx b/swan-lake/by-example/providing-services/content.jsx
index 55f142a54e7..2ff6ed0a89c 100644
--- a/swan-lake/by-example/providing-services/content.jsx
+++ b/swan-lake/by-example/providing-services/content.jsx
@@ -73,7 +73,7 @@ export function ProvidingServices({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/providing-services",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/providing-services",
"_blank",
);
}}
diff --git a/swan-lake/by-example/query-actions/content.jsx b/swan-lake/by-example/query-actions/content.jsx
index 2b8d7167236..515e3e18923 100644
--- a/swan-lake/by-example/query-actions/content.jsx
+++ b/swan-lake/by-example/query-actions/content.jsx
@@ -69,7 +69,7 @@ export function QueryActions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/query-actions/query_actions.md",
+ "https://play.ballerina.io/?gist=e65fb47afdf73cdc6f4918ae1add4e45&file=query_actions.bal",
"_blank",
);
}}
@@ -77,140 +77,16 @@ export function QueryActions({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -218,7 +94,7 @@ export function QueryActions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/query-actions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/query-actions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/query-expressions/content.jsx b/swan-lake/by-example/query-expressions/content.jsx
index ee09dc4b304..77d89afa34c 100644
--- a/swan-lake/by-example/query-expressions/content.jsx
+++ b/swan-lake/by-example/query-expressions/content.jsx
@@ -74,7 +74,7 @@ export function QueryExpressions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/query-expressions/query_expressions.md",
+ "https://play.ballerina.io/?gist=771d6a62cee9a8701ec1bb8cf93c0d8d&file=query_expressions.bal",
"_blank",
);
}}
@@ -82,140 +82,16 @@ export function QueryExpressions({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -223,7 +99,7 @@ export function QueryExpressions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/query-expressions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/query-expressions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/querying-tables/content.jsx b/swan-lake/by-example/querying-tables/content.jsx
index 9006f95213b..8b703f0cfc4 100644
--- a/swan-lake/by-example/querying-tables/content.jsx
+++ b/swan-lake/by-example/querying-tables/content.jsx
@@ -70,7 +70,7 @@ export function QueryingTables({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/querying-tables/querying_tables.md",
+ "https://play.ballerina.io/?gist=0607971d0895fa80125612c85a9ae1ef&file=querying_tables.bal",
"_blank",
);
}}
@@ -78,140 +78,16 @@ export function QueryingTables({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -219,7 +95,7 @@ export function QueryingTables({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/querying-tables",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/querying-tables",
"_blank",
);
}}
diff --git a/swan-lake/by-example/querying-with-streams/content.jsx b/swan-lake/by-example/querying-with-streams/content.jsx
index f28ea196edf..9fae2f8d084 100644
--- a/swan-lake/by-example/querying-with-streams/content.jsx
+++ b/swan-lake/by-example/querying-with-streams/content.jsx
@@ -65,7 +65,7 @@ export function QueryingWithStreams({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/querying-with-streams/querying_with_streams.md",
+ "https://play.ballerina.io/?gist=63f76ece995378a45a9990b7cffd2677&file=querying_with_streams.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function QueryingWithStreams({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function QueryingWithStreams({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/querying-with-streams",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/querying-with-streams",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-client-basic-auth/content.jsx b/swan-lake/by-example/rabbitmq-client-basic-auth/content.jsx
index 6ddf3488729..b0946cd5185 100644
--- a/swan-lake/by-example/rabbitmq-client-basic-auth/content.jsx
+++ b/swan-lake/by-example/rabbitmq-client-basic-auth/content.jsx
@@ -80,7 +80,7 @@ export function RabbitmqClientBasicAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-client-basic-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-client-basic-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-client-constraint-validation/content.jsx b/swan-lake/by-example/rabbitmq-client-constraint-validation/content.jsx
index 076c375ffea..3d6b7494e63 100644
--- a/swan-lake/by-example/rabbitmq-client-constraint-validation/content.jsx
+++ b/swan-lake/by-example/rabbitmq-client-constraint-validation/content.jsx
@@ -72,7 +72,7 @@ export function RabbitmqClientConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-client-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-client-constraint-validation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-client-secure-connection/content.jsx b/swan-lake/by-example/rabbitmq-client-secure-connection/content.jsx
index adce4990844..52b985ece21 100644
--- a/swan-lake/by-example/rabbitmq-client-secure-connection/content.jsx
+++ b/swan-lake/by-example/rabbitmq-client-secure-connection/content.jsx
@@ -75,7 +75,7 @@ export function RabbitmqClientSecureConnection({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-client-secure-connection",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-client-secure-connection",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-consumer-with-client-acknowledgement/content.jsx b/swan-lake/by-example/rabbitmq-consumer-with-client-acknowledgement/content.jsx
index 8061ecc2105..f5994eb381b 100644
--- a/swan-lake/by-example/rabbitmq-consumer-with-client-acknowledgement/content.jsx
+++ b/swan-lake/by-example/rabbitmq-consumer-with-client-acknowledgement/content.jsx
@@ -68,7 +68,7 @@ export function RabbitmqConsumerWithClientAcknowledgement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-consumer-with-client-acknowledgement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-consumer-with-client-acknowledgement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-consumer/content.jsx b/swan-lake/by-example/rabbitmq-consumer/content.jsx
index 9f4e38bc6be..39828cb4ade 100644
--- a/swan-lake/by-example/rabbitmq-consumer/content.jsx
+++ b/swan-lake/by-example/rabbitmq-consumer/content.jsx
@@ -62,7 +62,7 @@ export function RabbitmqConsumer({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-consumer",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-consumer",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-producer/content.jsx b/swan-lake/by-example/rabbitmq-producer/content.jsx
index 4d8eded3772..b8d01f74a1b 100644
--- a/swan-lake/by-example/rabbitmq-producer/content.jsx
+++ b/swan-lake/by-example/rabbitmq-producer/content.jsx
@@ -72,7 +72,7 @@ export function RabbitmqProducer({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-producer",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-producer",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-queue-declare/content.jsx b/swan-lake/by-example/rabbitmq-queue-declare/content.jsx
index 3bd6434b918..57964f68915 100644
--- a/swan-lake/by-example/rabbitmq-queue-declare/content.jsx
+++ b/swan-lake/by-example/rabbitmq-queue-declare/content.jsx
@@ -50,7 +50,7 @@ export function RabbitmqQueueDeclare({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-queue-declare",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-queue-declare",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-service-basic-auth/content.jsx b/swan-lake/by-example/rabbitmq-service-basic-auth/content.jsx
index 490c0a74b54..5d404769c21 100644
--- a/swan-lake/by-example/rabbitmq-service-basic-auth/content.jsx
+++ b/swan-lake/by-example/rabbitmq-service-basic-auth/content.jsx
@@ -70,7 +70,7 @@ export function RabbitmqServiceBasicAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-service-basic-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-service-basic-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-service-constraint-validation/content.jsx b/swan-lake/by-example/rabbitmq-service-constraint-validation/content.jsx
index 46b6d515b0f..f8ca4ce882e 100644
--- a/swan-lake/by-example/rabbitmq-service-constraint-validation/content.jsx
+++ b/swan-lake/by-example/rabbitmq-service-constraint-validation/content.jsx
@@ -73,7 +73,7 @@ export function RabbitmqServiceConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-service-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-service-constraint-validation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-service-secure-connection/content.jsx b/swan-lake/by-example/rabbitmq-service-secure-connection/content.jsx
index a3f058df42c..427ae7d9cba 100644
--- a/swan-lake/by-example/rabbitmq-service-secure-connection/content.jsx
+++ b/swan-lake/by-example/rabbitmq-service-secure-connection/content.jsx
@@ -65,7 +65,7 @@ export function RabbitmqServiceSecureConnection({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-service-secure-connection",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-service-secure-connection",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-sync-consumer/content.jsx b/swan-lake/by-example/rabbitmq-sync-consumer/content.jsx
index a25b4b9681e..45c145bd410 100644
--- a/swan-lake/by-example/rabbitmq-sync-consumer/content.jsx
+++ b/swan-lake/by-example/rabbitmq-sync-consumer/content.jsx
@@ -61,7 +61,7 @@ export function RabbitmqSyncConsumer({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-sync-consumer",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-sync-consumer",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-transaction-consumer/content.jsx b/swan-lake/by-example/rabbitmq-transaction-consumer/content.jsx
index 19138eed293..f1284555aef 100644
--- a/swan-lake/by-example/rabbitmq-transaction-consumer/content.jsx
+++ b/swan-lake/by-example/rabbitmq-transaction-consumer/content.jsx
@@ -70,7 +70,7 @@ export function RabbitmqTransactionConsumer({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-transaction-consumer",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-transaction-consumer",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rabbitmq-transaction-producer/content.jsx b/swan-lake/by-example/rabbitmq-transaction-producer/content.jsx
index c4b1c5935eb..e7a7c36c1ca 100644
--- a/swan-lake/by-example/rabbitmq-transaction-producer/content.jsx
+++ b/swan-lake/by-example/rabbitmq-transaction-producer/content.jsx
@@ -72,7 +72,7 @@ export function RabbitmqTransactionProducer({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rabbitmq-transaction-producer",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rabbitmq-transaction-producer",
"_blank",
);
}}
diff --git a/swan-lake/by-example/random-numbers/content.jsx b/swan-lake/by-example/random-numbers/content.jsx
index 5a56f1ad924..c373f16621c 100644
--- a/swan-lake/by-example/random-numbers/content.jsx
+++ b/swan-lake/by-example/random-numbers/content.jsx
@@ -55,7 +55,7 @@ export function RandomNumbers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/random-numbers/random_numbers.md",
+ "https://play.ballerina.io/?gist=dbbe96737b77aa22329b9536a4aa5222&file=random_numbers.bal",
"_blank",
);
}}
@@ -63,140 +63,16 @@ export function RandomNumbers({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -204,7 +80,7 @@ export function RandomNumbers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/random-numbers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/random-numbers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/raw-templates/content.jsx b/swan-lake/by-example/raw-templates/content.jsx
index aec1d0e856f..5f9e4e04e98 100644
--- a/swan-lake/by-example/raw-templates/content.jsx
+++ b/swan-lake/by-example/raw-templates/content.jsx
@@ -116,7 +116,7 @@ export function RawTemplates({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/raw-templates",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/raw-templates",
"_blank",
);
}}
@@ -205,7 +205,7 @@ export function RawTemplates({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/raw-templates",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/raw-templates",
"_blank",
);
}}
diff --git a/swan-lake/by-example/readonly-and-isolated/content.jsx b/swan-lake/by-example/readonly-and-isolated/content.jsx
index b2669ecaf2a..3c3fd5c5290 100644
--- a/swan-lake/by-example/readonly-and-isolated/content.jsx
+++ b/swan-lake/by-example/readonly-and-isolated/content.jsx
@@ -66,7 +66,7 @@ export function ReadonlyAndIsolated({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/readonly-and-isolated/readonly_and_isolated.md",
+ "https://play.ballerina.io/?gist=c36f56861557e523bda2698f53697b0c&file=readonly_and_isolated.bal",
"_blank",
);
}}
@@ -74,140 +74,16 @@ export function ReadonlyAndIsolated({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -215,7 +91,7 @@ export function ReadonlyAndIsolated({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/readonly-and-isolated",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/readonly-and-isolated",
"_blank",
);
}}
diff --git a/swan-lake/by-example/readonly-objects-and-classes/content.jsx b/swan-lake/by-example/readonly-objects-and-classes/content.jsx
index 8c1d41d57b5..fb632f1bec3 100644
--- a/swan-lake/by-example/readonly-objects-and-classes/content.jsx
+++ b/swan-lake/by-example/readonly-objects-and-classes/content.jsx
@@ -73,7 +73,7 @@ export function ReadonlyObjectsAndClasses({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/readonly-objects-and-classes/readonly_objects_and_classes.md",
+ "https://play.ballerina.io/?gist=183dd62094c041d6eef2079e57eb7373&file=readonly_objects_and_classes.bal",
"_blank",
);
}}
@@ -81,140 +81,16 @@ export function ReadonlyObjectsAndClasses({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -222,7 +98,7 @@ export function ReadonlyObjectsAndClasses({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/readonly-objects-and-classes",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/readonly-objects-and-classes",
"_blank",
);
}}
diff --git a/swan-lake/by-example/readonly-type/content.jsx b/swan-lake/by-example/readonly-type/content.jsx
index 420b776a19d..e440fea2663 100644
--- a/swan-lake/by-example/readonly-type/content.jsx
+++ b/swan-lake/by-example/readonly-type/content.jsx
@@ -63,7 +63,7 @@ export function ReadonlyType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/readonly-type/readonly_type.md",
+ "https://play.ballerina.io/?gist=b53fbf8f9b80758c686ffa4c4da5e0d5&file=readonly_type.bal",
"_blank",
);
}}
@@ -71,140 +71,16 @@ export function ReadonlyType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -212,7 +88,7 @@ export function ReadonlyType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/readonly-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/readonly-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/receive-email-using-client/content.jsx b/swan-lake/by-example/receive-email-using-client/content.jsx
index 214dea05f70..bc6a8a88b04 100644
--- a/swan-lake/by-example/receive-email-using-client/content.jsx
+++ b/swan-lake/by-example/receive-email-using-client/content.jsx
@@ -69,7 +69,7 @@ export function ReceiveEmailUsingClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/receive-email-using-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/receive-email-using-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/receive-email-using-service/content.jsx b/swan-lake/by-example/receive-email-using-service/content.jsx
index bdf146f9917..9c07ec45127 100644
--- a/swan-lake/by-example/receive-email-using-service/content.jsx
+++ b/swan-lake/by-example/receive-email-using-service/content.jsx
@@ -83,7 +83,7 @@ export function ReceiveEmailUsingService({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/receive-email-using-service",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/receive-email-using-service",
"_blank",
);
}}
diff --git a/swan-lake/by-example/record-to-edi/content.jsx b/swan-lake/by-example/record-to-edi/content.jsx
index 0abd9060e5c..c478e57fb8b 100644
--- a/swan-lake/by-example/record-to-edi/content.jsx
+++ b/swan-lake/by-example/record-to-edi/content.jsx
@@ -79,7 +79,7 @@ export function RecordToEdi({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/record-to-edi/record_to_edi.md",
+ "https://play.ballerina.io/?gist=f174fe3945af00a60faf1a9f8ddabafc&file=schema.json",
"_blank",
);
}}
@@ -87,140 +87,16 @@ export function RecordToEdi({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -228,7 +104,7 @@ export function RecordToEdi({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/record-to-edi",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/record-to-edi",
"_blank",
);
}}
@@ -318,7 +194,7 @@ export function RecordToEdi({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/record-to-edi/record_to_edi.md",
+ "https://play.ballerina.io/?gist=f174fe3945af00a60faf1a9f8ddabafc&file=schema.json",
"_blank",
);
}}
@@ -326,140 +202,16 @@ export function RecordToEdi({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -467,7 +219,7 @@ export function RecordToEdi({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/record-to-edi",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/record-to-edi",
"_blank",
);
}}
@@ -767,7 +519,7 @@ export function RecordToEdi({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/record-to-edi/record_to_edi.md",
+ "https://play.ballerina.io/?gist=e550a9a1fc00bbf20224b7c0cd63db51&file=record_to_edi.bal",
"_blank",
);
}}
@@ -775,140 +527,16 @@ export function RecordToEdi({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -916,7 +544,7 @@ export function RecordToEdi({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/record-to-edi",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/record-to-edi",
"_blank",
);
}}
diff --git a/swan-lake/by-example/records/content.jsx b/swan-lake/by-example/records/content.jsx
index f23880073f5..f4ef3aa9379 100644
--- a/swan-lake/by-example/records/content.jsx
+++ b/swan-lake/by-example/records/content.jsx
@@ -91,7 +91,7 @@ export function Records({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/records/records.md",
+ "https://play.ballerina.io/?gist=dbaa96c65154ee3c7cb030842efea362&file=records.bal",
"_blank",
);
}}
@@ -99,140 +99,16 @@ export function Records({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -240,7 +116,7 @@ export function Records({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/records",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/records",
"_blank",
);
}}
diff --git a/swan-lake/by-example/regexp-operations/content.jsx b/swan-lake/by-example/regexp-operations/content.jsx
index 356a0880750..3ab43752fb6 100644
--- a/swan-lake/by-example/regexp-operations/content.jsx
+++ b/swan-lake/by-example/regexp-operations/content.jsx
@@ -68,7 +68,7 @@ export function RegexpOperations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/regexp-operations/regexp_operations.md",
+ "https://play.ballerina.io/?gist=76ea0e33efb4c881993a2d73ddce7f8f&file=regexp_operations.bal",
"_blank",
);
}}
@@ -76,140 +76,16 @@ export function RegexpOperations({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -217,7 +93,7 @@ export function RegexpOperations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/regexp-operations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/regexp-operations",
"_blank",
);
}}
diff --git a/swan-lake/by-example/regexp-type/content.jsx b/swan-lake/by-example/regexp-type/content.jsx
index 8703208770d..cfef358fc5c 100644
--- a/swan-lake/by-example/regexp-type/content.jsx
+++ b/swan-lake/by-example/regexp-type/content.jsx
@@ -96,7 +96,7 @@ export function RegexpType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/regexp-type/regexp_type.md",
+ "https://play.ballerina.io/?gist=824bfd899a62afc7b7b61b3b6305d0cb&file=regexp_type.bal",
"_blank",
);
}}
@@ -104,140 +104,16 @@ export function RegexpType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -245,7 +121,7 @@ export function RegexpType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/regexp-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/regexp-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/resource-method-typing/content.jsx b/swan-lake/by-example/resource-method-typing/content.jsx
index cc221b466c2..22f866fe56b 100644
--- a/swan-lake/by-example/resource-method-typing/content.jsx
+++ b/swan-lake/by-example/resource-method-typing/content.jsx
@@ -67,7 +67,7 @@ export function ResourceMethodTyping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/resource-method-typing",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/resource-method-typing",
"_blank",
);
}}
diff --git a/swan-lake/by-example/resource-methods/content.jsx b/swan-lake/by-example/resource-methods/content.jsx
index 2f1395203d1..676504c5ca7 100644
--- a/swan-lake/by-example/resource-methods/content.jsx
+++ b/swan-lake/by-example/resource-methods/content.jsx
@@ -68,7 +68,7 @@ export function ResourceMethods({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/resource-methods",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/resource-methods",
"_blank",
);
}}
diff --git a/swan-lake/by-example/resource-path-parameters/content.jsx b/swan-lake/by-example/resource-path-parameters/content.jsx
index 44d3d4116b3..1070e8085af 100644
--- a/swan-lake/by-example/resource-path-parameters/content.jsx
+++ b/swan-lake/by-example/resource-path-parameters/content.jsx
@@ -42,7 +42,7 @@ export function ResourcePathParameters({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/resource-path-parameters",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/resource-path-parameters",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rest-binding-pattern-in-error-binding-pattern/content.jsx b/swan-lake/by-example/rest-binding-pattern-in-error-binding-pattern/content.jsx
index 5943c6dd318..c8dd55c5dd2 100644
--- a/swan-lake/by-example/rest-binding-pattern-in-error-binding-pattern/content.jsx
+++ b/swan-lake/by-example/rest-binding-pattern-in-error-binding-pattern/content.jsx
@@ -73,7 +73,7 @@ export function RestBindingPatternInErrorBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rest-binding-pattern-in-error-binding-pattern/rest_binding_pattern_in_error_binding_pattern.md",
+ "https://play.ballerina.io/?gist=8935d60ef7d701466fc385471c89fee8&file=rest_binding_pattern_in_error_binding_pattern.bal",
"_blank",
);
}}
@@ -81,140 +81,16 @@ export function RestBindingPatternInErrorBindingPattern({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -222,7 +98,7 @@ export function RestBindingPatternInErrorBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rest-binding-pattern-in-error-binding-pattern",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rest-binding-pattern-in-error-binding-pattern",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rest-binding-pattern-in-list-binding-pattern/content.jsx b/swan-lake/by-example/rest-binding-pattern-in-list-binding-pattern/content.jsx
index 7907a4448a1..4f6a3ef8030 100644
--- a/swan-lake/by-example/rest-binding-pattern-in-list-binding-pattern/content.jsx
+++ b/swan-lake/by-example/rest-binding-pattern-in-list-binding-pattern/content.jsx
@@ -54,7 +54,7 @@ export function RestBindingPatternInListBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rest-binding-pattern-in-list-binding-pattern/rest_binding_pattern_in_list_binding_pattern.md",
+ "https://play.ballerina.io/?gist=63042bfcc165e643cb117dc1fd363216&file=rest_binding_pattern_in_list_binding_pattern.bal",
"_blank",
);
}}
@@ -62,140 +62,16 @@ export function RestBindingPatternInListBindingPattern({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -203,7 +79,7 @@ export function RestBindingPatternInListBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rest-binding-pattern-in-list-binding-pattern",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rest-binding-pattern-in-list-binding-pattern",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rest-binding-pattern-in-mapping-binding-pattern/content.jsx b/swan-lake/by-example/rest-binding-pattern-in-mapping-binding-pattern/content.jsx
index 0e7b3e922de..d5d0cb5918d 100644
--- a/swan-lake/by-example/rest-binding-pattern-in-mapping-binding-pattern/content.jsx
+++ b/swan-lake/by-example/rest-binding-pattern-in-mapping-binding-pattern/content.jsx
@@ -72,7 +72,7 @@ export function RestBindingPatternInMappingBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rest-binding-pattern-in-mapping-binding-pattern/rest_binding_pattern_in_mapping_binding_pattern.md",
+ "https://play.ballerina.io/?gist=05f429c61f06b283e9aaace976751239&file=rest_binding_pattern_in_mapping_binding_pattern.bal",
"_blank",
);
}}
@@ -80,140 +80,16 @@ export function RestBindingPatternInMappingBindingPattern({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -221,7 +97,7 @@ export function RestBindingPatternInMappingBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rest-binding-pattern-in-mapping-binding-pattern",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rest-binding-pattern-in-mapping-binding-pattern",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rest-parameters/content.jsx b/swan-lake/by-example/rest-parameters/content.jsx
index bb9f6bbc3b6..cd6ea90bf67 100644
--- a/swan-lake/by-example/rest-parameters/content.jsx
+++ b/swan-lake/by-example/rest-parameters/content.jsx
@@ -60,7 +60,7 @@ export function RestParameters({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rest-parameters/rest_parameters.md",
+ "https://play.ballerina.io/?gist=a414449b5aa33ce1c5cb1b750d4a5602&file=rest_parameters.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function RestParameters({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function RestParameters({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rest-parameters",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rest-parameters",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rest-type-in-tuples/content.jsx b/swan-lake/by-example/rest-type-in-tuples/content.jsx
index 21ec1db797b..dfa059707f8 100644
--- a/swan-lake/by-example/rest-type-in-tuples/content.jsx
+++ b/swan-lake/by-example/rest-type-in-tuples/content.jsx
@@ -60,7 +60,7 @@ export function RestTypeInTuples({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rest-type-in-tuples/rest_type_in_tuples.md",
+ "https://play.ballerina.io/?gist=03018bb8d0a560b3691443abd1f1d22f&file=rest_type_in_tuples.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function RestTypeInTuples({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function RestTypeInTuples({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rest-type-in-tuples",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rest-type-in-tuples",
"_blank",
);
}}
diff --git a/swan-lake/by-example/retry-transaction-statement/content.jsx b/swan-lake/by-example/retry-transaction-statement/content.jsx
index e36f2378046..64d7114da11 100644
--- a/swan-lake/by-example/retry-transaction-statement/content.jsx
+++ b/swan-lake/by-example/retry-transaction-statement/content.jsx
@@ -71,7 +71,7 @@ export function RetryTransactionStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/retry-transaction-statement/retry_transaction_statement.md",
+ "https://play.ballerina.io/?gist=5a279e1215602a3193c7883247083d07&file=retry_transaction_statement.bal",
"_blank",
);
}}
@@ -79,140 +79,16 @@ export function RetryTransactionStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -220,7 +96,7 @@ export function RetryTransactionStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/retry-transaction-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/retry-transaction-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/rollback/content.jsx b/swan-lake/by-example/rollback/content.jsx
index d786f1496b2..818560a6604 100644
--- a/swan-lake/by-example/rollback/content.jsx
+++ b/swan-lake/by-example/rollback/content.jsx
@@ -117,7 +117,7 @@ export function Rollback({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rollback/rollback.md",
+ "https://play.ballerina.io/?gist=a7820382266c2f484e308b54dd743a0c&file=rollback.bal",
"_blank",
);
}}
@@ -125,140 +125,16 @@ export function Rollback({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -266,7 +142,7 @@ export function Rollback({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/rollback",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/rollback",
"_blank",
);
}}
diff --git a/swan-lake/by-example/run-strands-safely-on-separate-threads/content.jsx b/swan-lake/by-example/run-strands-safely-on-separate-threads/content.jsx
index a36ad4f7a73..f6857e2acf3 100644
--- a/swan-lake/by-example/run-strands-safely-on-separate-threads/content.jsx
+++ b/swan-lake/by-example/run-strands-safely-on-separate-threads/content.jsx
@@ -97,7 +97,7 @@ export function RunStrandsSafelyOnSeparateThreads({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/run-strands-safely-on-separate-threads/run_strands_safely_on_separate_threads.md",
+ "https://play.ballerina.io/?gist=d1ca97b80ce71377722704e7ff828d10&file=run_strands_safely_on_separate_threads.bal",
"_blank",
);
}}
@@ -105,140 +105,16 @@ export function RunStrandsSafelyOnSeparateThreads({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -246,7 +122,7 @@ export function RunStrandsSafelyOnSeparateThreads({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/run-strands-safely-on-separate-threads",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/run-strands-safely-on-separate-threads",
"_blank",
);
}}
diff --git a/swan-lake/by-example/security-crypto/content.jsx b/swan-lake/by-example/security-crypto/content.jsx
index 60f0b326417..a58dcce6cba 100644
--- a/swan-lake/by-example/security-crypto/content.jsx
+++ b/swan-lake/by-example/security-crypto/content.jsx
@@ -264,7 +264,7 @@ export function SecurityCrypto({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/security-crypto",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/security-crypto",
"_blank",
);
}}
diff --git a/swan-lake/by-example/security-jwt-issue-validate/content.jsx b/swan-lake/by-example/security-jwt-issue-validate/content.jsx
index 7aba941755f..37dec9eded5 100644
--- a/swan-lake/by-example/security-jwt-issue-validate/content.jsx
+++ b/swan-lake/by-example/security-jwt-issue-validate/content.jsx
@@ -93,7 +93,7 @@ export function SecurityJwtIssueValidate({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/security-jwt-issue-validate",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/security-jwt-issue-validate",
"_blank",
);
}}
diff --git a/swan-lake/by-example/send-email/content.jsx b/swan-lake/by-example/send-email/content.jsx
index a0b9b718c75..27ebc0befb9 100644
--- a/swan-lake/by-example/send-email/content.jsx
+++ b/swan-lake/by-example/send-email/content.jsx
@@ -69,7 +69,7 @@ export function SendEmail({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/send-email",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/send-email",
"_blank",
);
}}
diff --git a/swan-lake/by-example/sequence-diagrams/content.jsx b/swan-lake/by-example/sequence-diagrams/content.jsx
index 5a4c543e703..b188e4e9942 100644
--- a/swan-lake/by-example/sequence-diagrams/content.jsx
+++ b/swan-lake/by-example/sequence-diagrams/content.jsx
@@ -13,11 +13,11 @@ import ballerina/io;
public function main() returns error? {
// The diagram also has a lifeline for each client object parameter or variable in
// the initialization section, representing the remote system to which the client object is sending messages.
- http:Client cl = check new ("https://run.mocky.io");
+ http:Client cl = check new ("https://www.mocky.io");
// Each remote method call on a client object is represented as a horizontal line
// between the lifeline of the worker making the call and the remote system.
- string payload = check cl->get("/v3/7240398e-0435-4457-91b0-0c862f10563f/");
+ string payload = check cl->get("/v2/5ae082123200006b00510c3d/");
io:println(payload);
return;
@@ -67,7 +67,7 @@ export function SequenceDiagrams({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/sequence-diagrams/sequence_diagrams.md",
+ "https://play.ballerina.io/?gist=55dca5ea17d5bf2be51f533e1b514b63&file=sequence_diagrams.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function SequenceDiagrams({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function SequenceDiagrams({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/sequence-diagrams",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/sequence-diagrams",
"_blank",
);
}}
diff --git a/swan-lake/by-example/service-declaration/content.jsx b/swan-lake/by-example/service-declaration/content.jsx
index 40532098b67..db201d4cb04 100644
--- a/swan-lake/by-example/service-declaration/content.jsx
+++ b/swan-lake/by-example/service-declaration/content.jsx
@@ -54,7 +54,7 @@ export function ServiceDeclaration({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/service-declaration",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/service-declaration",
"_blank",
);
}}
diff --git a/swan-lake/by-example/sftp-client-receive-file/content.jsx b/swan-lake/by-example/sftp-client-receive-file/content.jsx
index db1d89e12f0..2325080a934 100644
--- a/swan-lake/by-example/sftp-client-receive-file/content.jsx
+++ b/swan-lake/by-example/sftp-client-receive-file/content.jsx
@@ -75,7 +75,7 @@ export function SftpClientReceiveFile({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/sftp-client-receive-file",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/sftp-client-receive-file",
"_blank",
);
}}
diff --git a/swan-lake/by-example/sftp-client-send-file/content.jsx b/swan-lake/by-example/sftp-client-send-file/content.jsx
index fee812b5301..8ac3782e974 100644
--- a/swan-lake/by-example/sftp-client-send-file/content.jsx
+++ b/swan-lake/by-example/sftp-client-send-file/content.jsx
@@ -72,7 +72,7 @@ export function SftpClientSendFile({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/sftp-client-send-file",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/sftp-client-send-file",
"_blank",
);
}}
diff --git a/swan-lake/by-example/sftp-service-receive-file/content.jsx b/swan-lake/by-example/sftp-service-receive-file/content.jsx
index cbef5d4a1d1..d43b02d14e7 100644
--- a/swan-lake/by-example/sftp-service-receive-file/content.jsx
+++ b/swan-lake/by-example/sftp-service-receive-file/content.jsx
@@ -87,7 +87,7 @@ export function SftpServiceReceiveFile({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/sftp-service-receive-file",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/sftp-service-receive-file",
"_blank",
);
}}
diff --git a/swan-lake/by-example/sftp-service-send-file/content.jsx b/swan-lake/by-example/sftp-service-send-file/content.jsx
index 52604a31207..7138d30b4f2 100644
--- a/swan-lake/by-example/sftp-service-send-file/content.jsx
+++ b/swan-lake/by-example/sftp-service-send-file/content.jsx
@@ -83,7 +83,7 @@ export function SftpServiceSendFile({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/sftp-service-send-file",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/sftp-service-send-file",
"_blank",
);
}}
diff --git a/swan-lake/by-example/single-use-of-typed-binding/content.jsx b/swan-lake/by-example/single-use-of-typed-binding/content.jsx
index debb0846cf2..e9337c8f008 100644
--- a/swan-lake/by-example/single-use-of-typed-binding/content.jsx
+++ b/swan-lake/by-example/single-use-of-typed-binding/content.jsx
@@ -67,7 +67,7 @@ export function SingleUseOfTypedBinding({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/single-use-of-typed-binding/single_use_of_typed_binding.md",
+ "https://play.ballerina.io/?gist=de000513d715eaffef1920198c02612f&file=single_use_of_typed_binding.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function SingleUseOfTypedBinding({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function SingleUseOfTypedBinding({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/single-use-of-typed-binding",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/single-use-of-typed-binding",
"_blank",
);
}}
diff --git a/swan-lake/by-example/single-use-with-on-fail-clause/content.jsx b/swan-lake/by-example/single-use-with-on-fail-clause/content.jsx
index 11cd8330568..79b4818a4cf 100644
--- a/swan-lake/by-example/single-use-with-on-fail-clause/content.jsx
+++ b/swan-lake/by-example/single-use-with-on-fail-clause/content.jsx
@@ -50,7 +50,7 @@ export function SingleUseWithOnFailClause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/single-use-with-on-fail-clause/single_use_with_on_fail_clause.md",
+ "https://play.ballerina.io/?gist=556ad282e467ae3a58be38641fe52bb9&file=single_use_with_on_fail_clause.bal",
"_blank",
);
}}
@@ -58,140 +58,16 @@ export function SingleUseWithOnFailClause({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -199,7 +75,7 @@ export function SingleUseWithOnFailClause({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/single-use-with-on-fail-clause",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/single-use-with-on-fail-clause",
"_blank",
);
}}
diff --git a/swan-lake/by-example/sort-iterable-objects/content.jsx b/swan-lake/by-example/sort-iterable-objects/content.jsx
index 3e2c0bf98fd..c7ec47fb93c 100644
--- a/swan-lake/by-example/sort-iterable-objects/content.jsx
+++ b/swan-lake/by-example/sort-iterable-objects/content.jsx
@@ -77,7 +77,7 @@ export function SortIterableObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/sort-iterable-objects/sort_iterable_objects.md",
+ "https://play.ballerina.io/?gist=4a284fccfa79bb00515442baa87d2285&file=sort_iterable_objects.bal",
"_blank",
);
}}
@@ -85,140 +85,16 @@ export function SortIterableObjects({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -226,7 +102,7 @@ export function SortIterableObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/sort-iterable-objects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/sort-iterable-objects",
"_blank",
);
}}
diff --git a/swan-lake/by-example/start-service-from-service-class-definition/content.jsx b/swan-lake/by-example/start-service-from-service-class-definition/content.jsx
index d770b194e7e..6fe3dd8366b 100644
--- a/swan-lake/by-example/start-service-from-service-class-definition/content.jsx
+++ b/swan-lake/by-example/start-service-from-service-class-definition/content.jsx
@@ -90,7 +90,7 @@ export function StartServiceFromServiceClassDefinition({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/start-service-from-service-class-definition",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/start-service-from-service-class-definition",
"_blank",
);
}}
diff --git a/swan-lake/by-example/stop-handler/content.jsx b/swan-lake/by-example/stop-handler/content.jsx
index fe19ed0b2ad..613d967a60b 100644
--- a/swan-lake/by-example/stop-handler/content.jsx
+++ b/swan-lake/by-example/stop-handler/content.jsx
@@ -74,7 +74,7 @@ export function StopHandler({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/stop-handler",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/stop-handler",
"_blank",
);
}}
diff --git a/swan-lake/by-example/strands/content.jsx b/swan-lake/by-example/strands/content.jsx
index 16fcd2c2e20..81fda6e1b6e 100644
--- a/swan-lake/by-example/strands/content.jsx
+++ b/swan-lake/by-example/strands/content.jsx
@@ -71,7 +71,7 @@ export function Strands({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/strands/strands.md",
+ "https://play.ballerina.io/?gist=bf34c6369ae64d4c7487a271911835fe&file=strands.bal",
"_blank",
);
}}
@@ -79,140 +79,16 @@ export function Strands({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -220,7 +96,7 @@ export function Strands({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/strands",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/strands",
"_blank",
);
}}
diff --git a/swan-lake/by-example/stream-type/content.jsx b/swan-lake/by-example/stream-type/content.jsx
index 606857b1f57..fb0d0b5db1f 100644
--- a/swan-lake/by-example/stream-type/content.jsx
+++ b/swan-lake/by-example/stream-type/content.jsx
@@ -72,7 +72,7 @@ export function StreamType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/stream-type/stream_type.md",
+ "https://play.ballerina.io/?gist=bc569a0848cc26fa4aac51f4d8bf2adb&file=stream_type.bal",
"_blank",
);
}}
@@ -80,140 +80,16 @@ export function StreamType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -221,7 +97,7 @@ export function StreamType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/stream-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/stream-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/strings/content.jsx b/swan-lake/by-example/strings/content.jsx
index 7b697ef53c9..54566374206 100644
--- a/swan-lake/by-example/strings/content.jsx
+++ b/swan-lake/by-example/strings/content.jsx
@@ -58,7 +58,7 @@ export function Strings({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/strings/strings.md",
+ "https://play.ballerina.io/?gist=9d6197645ce93594de781dec8667aa5d&file=strings.bal",
"_blank",
);
}}
@@ -66,140 +66,16 @@ export function Strings({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -207,7 +83,7 @@ export function Strings({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/strings",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/strings",
"_blank",
);
}}
diff --git a/swan-lake/by-example/structural-typing/content.jsx b/swan-lake/by-example/structural-typing/content.jsx
index 3f536df6f10..d20cd256373 100644
--- a/swan-lake/by-example/structural-typing/content.jsx
+++ b/swan-lake/by-example/structural-typing/content.jsx
@@ -70,7 +70,7 @@ export function StructuralTyping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/structural-typing",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/structural-typing",
"_blank",
);
}}
diff --git a/swan-lake/by-example/structured-keys/content.jsx b/swan-lake/by-example/structured-keys/content.jsx
index d6a7ebaf622..39aeeba7294 100644
--- a/swan-lake/by-example/structured-keys/content.jsx
+++ b/swan-lake/by-example/structured-keys/content.jsx
@@ -64,7 +64,7 @@ export function StructuredKeys({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/structured-keys/structured_keys.md",
+ "https://play.ballerina.io/?gist=d3c86989bb0a489c8bcb77b69adf7e90&file=structured_keys.bal",
"_blank",
);
}}
@@ -72,140 +72,16 @@ export function StructuredKeys({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -213,7 +89,7 @@ export function StructuredKeys({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/structured-keys",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/structured-keys",
"_blank",
);
}}
diff --git a/swan-lake/by-example/synchronize-message-passing/content.jsx b/swan-lake/by-example/synchronize-message-passing/content.jsx
index 355a0c47fa6..03d6cbdf117 100644
--- a/swan-lake/by-example/synchronize-message-passing/content.jsx
+++ b/swan-lake/by-example/synchronize-message-passing/content.jsx
@@ -70,7 +70,7 @@ export function SynchronizeMessagePassing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/synchronize-message-passing/synchronize_message_passing.md",
+ "https://play.ballerina.io/?gist=e66ba6d3ca72e1abe7a18066329a92d8&file=synchronize_message_passing.bal",
"_blank",
);
}}
@@ -78,140 +78,16 @@ export function SynchronizeMessagePassing({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -219,7 +95,7 @@ export function SynchronizeMessagePassing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/synchronize-message-passing",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/synchronize-message-passing",
"_blank",
);
}}
diff --git a/swan-lake/by-example/table-types/content.jsx b/swan-lake/by-example/table-types/content.jsx
index 5e984c46920..8423d46b022 100644
--- a/swan-lake/by-example/table-types/content.jsx
+++ b/swan-lake/by-example/table-types/content.jsx
@@ -88,7 +88,7 @@ export function TableTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/table-types/table_types.md",
+ "https://play.ballerina.io/?gist=053da80e4d3372352f2394f05caae7d0&file=table_types.bal",
"_blank",
);
}}
@@ -96,140 +96,16 @@ export function TableTypes({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -237,7 +113,7 @@ export function TableTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/table-types",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/table-types",
"_blank",
);
}}
diff --git a/swan-lake/by-example/table/content.jsx b/swan-lake/by-example/table/content.jsx
index 43e0ef61b33..2e75e45cbc4 100644
--- a/swan-lake/by-example/table/content.jsx
+++ b/swan-lake/by-example/table/content.jsx
@@ -79,7 +79,7 @@ export function Table({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/table/table.md",
+ "https://play.ballerina.io/?gist=1e9a7a0ccd38ebfbccd9492c68819bd9&file=table.bal",
"_blank",
);
}}
@@ -87,140 +87,16 @@ export function Table({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -228,7 +104,7 @@ export function Table({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/table",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/table",
"_blank",
);
}}
diff --git a/swan-lake/by-example/task-frequency-job-execution/content.jsx b/swan-lake/by-example/task-frequency-job-execution/content.jsx
index 3a0c1d433a4..043ccf8074d 100644
--- a/swan-lake/by-example/task-frequency-job-execution/content.jsx
+++ b/swan-lake/by-example/task-frequency-job-execution/content.jsx
@@ -75,7 +75,7 @@ export function TaskFrequencyJobExecution({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/task-frequency-job-execution/task_frequency_job_execution.md",
+ "https://play.ballerina.io/?gist=0512a7bdf1a8de027f4585c7eb1a24ec&file=task_frequency_job_execution.bal",
"_blank",
);
}}
@@ -83,140 +83,16 @@ export function TaskFrequencyJobExecution({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -224,7 +100,7 @@ export function TaskFrequencyJobExecution({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/task-frequency-job-execution",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/task-frequency-job-execution",
"_blank",
);
}}
diff --git a/swan-lake/by-example/task-one-time-job-execution/content.jsx b/swan-lake/by-example/task-one-time-job-execution/content.jsx
index bfff3d26b3a..9710db51425 100644
--- a/swan-lake/by-example/task-one-time-job-execution/content.jsx
+++ b/swan-lake/by-example/task-one-time-job-execution/content.jsx
@@ -79,7 +79,7 @@ export function TaskOneTimeJobExecution({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/task-one-time-job-execution/task_one_time_job_execution.md",
+ "https://play.ballerina.io/?gist=88ee1787ebed8bcd32501b4b225a31b9&file=task_one_time_job_execution.bal",
"_blank",
);
}}
@@ -87,140 +87,16 @@ export function TaskOneTimeJobExecution({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -228,7 +104,7 @@ export function TaskOneTimeJobExecution({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/task-one-time-job-execution",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/task-one-time-job-execution",
"_blank",
);
}}
diff --git a/swan-lake/by-example/tcp-client-ssl-tls/content.jsx b/swan-lake/by-example/tcp-client-ssl-tls/content.jsx
index 8d3a758729b..abb8bc1e6dd 100644
--- a/swan-lake/by-example/tcp-client-ssl-tls/content.jsx
+++ b/swan-lake/by-example/tcp-client-ssl-tls/content.jsx
@@ -59,7 +59,7 @@ export function TcpClientSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/tcp-client-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/tcp-client-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/tcp-client/content.jsx b/swan-lake/by-example/tcp-client/content.jsx
index 06c80f07097..72ab658d861 100644
--- a/swan-lake/by-example/tcp-client/content.jsx
+++ b/swan-lake/by-example/tcp-client/content.jsx
@@ -61,7 +61,7 @@ export function TcpClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/tcp-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/tcp-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/tcp-listener/content.jsx b/swan-lake/by-example/tcp-listener/content.jsx
index 40c37db3a1c..a6fb2cc1ee2 100644
--- a/swan-lake/by-example/tcp-listener/content.jsx
+++ b/swan-lake/by-example/tcp-listener/content.jsx
@@ -78,7 +78,7 @@ export function TcpListener({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/tcp-listener",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/tcp-listener",
"_blank",
);
}}
diff --git a/swan-lake/by-example/tcp-service-ssl-tls/content.jsx b/swan-lake/by-example/tcp-service-ssl-tls/content.jsx
index 383b09741d6..831f5ef82d7 100644
--- a/swan-lake/by-example/tcp-service-ssl-tls/content.jsx
+++ b/swan-lake/by-example/tcp-service-ssl-tls/content.jsx
@@ -74,7 +74,7 @@ export function TcpServiceSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/tcp-service-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/tcp-service-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/temp-files-directories/content.jsx b/swan-lake/by-example/temp-files-directories/content.jsx
index 1c6e68da351..b4974d5f55a 100644
--- a/swan-lake/by-example/temp-files-directories/content.jsx
+++ b/swan-lake/by-example/temp-files-directories/content.jsx
@@ -60,7 +60,7 @@ export function TempFilesDirectories({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/temp-files-directories/temp_files_directories.md",
+ "https://play.ballerina.io/?gist=9b27ada7983afaf6abae888cfc6ce8ae&file=temp_files_directories.bal",
"_blank",
);
}}
@@ -68,140 +68,16 @@ export function TempFilesDirectories({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -209,7 +85,7 @@ export function TempFilesDirectories({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/temp-files-directories",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/temp-files-directories",
"_blank",
);
}}
diff --git a/swan-lake/by-example/testerina-assertions/content.jsx b/swan-lake/by-example/testerina-assertions/content.jsx
index 7c522dc242f..880cb4d3a7a 100644
--- a/swan-lake/by-example/testerina-assertions/content.jsx
+++ b/swan-lake/by-example/testerina-assertions/content.jsx
@@ -117,7 +117,7 @@ export function TesterinaAssertions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-assertions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-assertions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/testerina-before-and-after-each/content.jsx b/swan-lake/by-example/testerina-before-and-after-each/content.jsx
index 0f0509195f0..1430a3223d0 100644
--- a/swan-lake/by-example/testerina-before-and-after-each/content.jsx
+++ b/swan-lake/by-example/testerina-before-and-after-each/content.jsx
@@ -78,7 +78,7 @@ export function TesterinaBeforeAndAfterEach({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-before-and-after-each",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-before-and-after-each",
"_blank",
);
}}
diff --git a/swan-lake/by-example/testerina-before-and-after-groups/content.jsx b/swan-lake/by-example/testerina-before-and-after-groups/content.jsx
index 8c64e145946..58887612e37 100644
--- a/swan-lake/by-example/testerina-before-and-after-groups/content.jsx
+++ b/swan-lake/by-example/testerina-before-and-after-groups/content.jsx
@@ -78,7 +78,7 @@ export function TesterinaBeforeAndAfterGroups({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-before-and-after-groups",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-before-and-after-groups",
"_blank",
);
}}
diff --git a/swan-lake/by-example/testerina-before-and-after-suite/content.jsx b/swan-lake/by-example/testerina-before-and-after-suite/content.jsx
index b6cab509f6c..2d2bd14bd4c 100644
--- a/swan-lake/by-example/testerina-before-and-after-suite/content.jsx
+++ b/swan-lake/by-example/testerina-before-and-after-suite/content.jsx
@@ -82,7 +82,7 @@ export function TesterinaBeforeAndAfterSuite({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-before-and-after-suite",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-before-and-after-suite",
"_blank",
);
}}
diff --git a/swan-lake/by-example/testerina-before-and-after-test/content.jsx b/swan-lake/by-example/testerina-before-and-after-test/content.jsx
index 092bcdb325b..3094559d7d5 100644
--- a/swan-lake/by-example/testerina-before-and-after-test/content.jsx
+++ b/swan-lake/by-example/testerina-before-and-after-test/content.jsx
@@ -77,7 +77,7 @@ export function TesterinaBeforeAndAfterTest({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-before-and-after-test",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-before-and-after-test",
"_blank",
);
}}
diff --git a/swan-lake/by-example/testerina-data-driven-tests/content.jsx b/swan-lake/by-example/testerina-data-driven-tests/content.jsx
index 22cb4d5d926..bf2e8844830 100644
--- a/swan-lake/by-example/testerina-data-driven-tests/content.jsx
+++ b/swan-lake/by-example/testerina-data-driven-tests/content.jsx
@@ -91,7 +91,7 @@ export function TesterinaDataDrivenTests({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-data-driven-tests",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-data-driven-tests",
"_blank",
);
}}
diff --git a/swan-lake/by-example/testerina-group-tests/content.jsx b/swan-lake/by-example/testerina-group-tests/content.jsx
index 1e16e51189d..d69c6cf155c 100644
--- a/swan-lake/by-example/testerina-group-tests/content.jsx
+++ b/swan-lake/by-example/testerina-group-tests/content.jsx
@@ -84,7 +84,7 @@ export function TesterinaGroupTests({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-group-tests",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-group-tests",
"_blank",
);
}}
diff --git a/swan-lake/by-example/testerina-guarantee-test-execution-order/content.jsx b/swan-lake/by-example/testerina-guarantee-test-execution-order/content.jsx
index cc187da433e..109130d27ef 100644
--- a/swan-lake/by-example/testerina-guarantee-test-execution-order/content.jsx
+++ b/swan-lake/by-example/testerina-guarantee-test-execution-order/content.jsx
@@ -78,7 +78,7 @@ export function TesterinaGuaranteeTestExecutionOrder({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-guarantee-test-execution-order",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-guarantee-test-execution-order",
"_blank",
);
}}
diff --git a/swan-lake/by-example/testerina-mocking-functions/content.jsx b/swan-lake/by-example/testerina-mocking-functions/content.jsx
index 0a89d713ace..289b4aec961 100644
--- a/swan-lake/by-example/testerina-mocking-functions/content.jsx
+++ b/swan-lake/by-example/testerina-mocking-functions/content.jsx
@@ -114,7 +114,7 @@ export function TesterinaMockingFunctions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-mocking-functions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-mocking-functions",
"_blank",
);
}}
@@ -198,7 +198,7 @@ export function TesterinaMockingFunctions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-mocking-functions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-mocking-functions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/testerina-mocking-objects/content.jsx b/swan-lake/by-example/testerina-mocking-objects/content.jsx
index acb8a92613a..e283a918b9b 100644
--- a/swan-lake/by-example/testerina-mocking-objects/content.jsx
+++ b/swan-lake/by-example/testerina-mocking-objects/content.jsx
@@ -216,7 +216,7 @@ export function TesterinaMockingObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-mocking-objects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-mocking-objects",
"_blank",
);
}}
@@ -300,7 +300,7 @@ export function TesterinaMockingObjects({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/testerina-mocking-objects",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/testerina-mocking-objects",
"_blank",
);
}}
diff --git a/swan-lake/by-example/time-formatting-and-parsing/content.jsx b/swan-lake/by-example/time-formatting-and-parsing/content.jsx
index ef3ed39c8cc..8886817cb67 100644
--- a/swan-lake/by-example/time-formatting-and-parsing/content.jsx
+++ b/swan-lake/by-example/time-formatting-and-parsing/content.jsx
@@ -86,7 +86,7 @@ export function TimeFormattingAndParsing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/time-formatting-and-parsing/time_formatting_and_parsing.md",
+ "https://play.ballerina.io/?gist=944a8ada932030de3b433d3a93391889&file=time_formatting_and_parsing.bal",
"_blank",
);
}}
@@ -94,140 +94,16 @@ export function TimeFormattingAndParsing({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -235,7 +111,7 @@ export function TimeFormattingAndParsing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/time-formatting-and-parsing",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/time-formatting-and-parsing",
"_blank",
);
}}
diff --git a/swan-lake/by-example/time-utc-and-civil/content.jsx b/swan-lake/by-example/time-utc-and-civil/content.jsx
index 420fb200746..0f97b4ef52c 100644
--- a/swan-lake/by-example/time-utc-and-civil/content.jsx
+++ b/swan-lake/by-example/time-utc-and-civil/content.jsx
@@ -72,7 +72,7 @@ export function TimeUtcAndCivil({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/time-utc-and-civil/time_utc_and_civil.md",
+ "https://play.ballerina.io/?gist=77bc45cff506d8fc54f006e6a473c03b&file=time_utc_and_civil.bal",
"_blank",
);
}}
@@ -80,140 +80,16 @@ export function TimeUtcAndCivil({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -221,7 +97,7 @@ export function TimeUtcAndCivil({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/time-utc-and-civil",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/time-utc-and-civil",
"_blank",
);
}}
diff --git a/swan-lake/by-example/time-utc/content.jsx b/swan-lake/by-example/time-utc/content.jsx
index 3615d37a52f..88e9e73e28f 100644
--- a/swan-lake/by-example/time-utc/content.jsx
+++ b/swan-lake/by-example/time-utc/content.jsx
@@ -58,7 +58,7 @@ export function TimeUtc({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/time-utc/time_utc.md",
+ "https://play.ballerina.io/?gist=57fb1e7d4a1427a7787d1b44a3169dfc&file=time_utc.bal",
"_blank",
);
}}
@@ -66,140 +66,16 @@ export function TimeUtc({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -207,7 +83,7 @@ export function TimeUtc({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/time-utc",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/time-utc",
"_blank",
);
}}
diff --git a/swan-lake/by-example/tracing/content.jsx b/swan-lake/by-example/tracing/content.jsx
index edbd98a1d14..87b695fa4ed 100644
--- a/swan-lake/by-example/tracing/content.jsx
+++ b/swan-lake/by-example/tracing/content.jsx
@@ -119,7 +119,7 @@ export function Tracing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/tracing",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/tracing",
"_blank",
);
}}
diff --git a/swan-lake/by-example/transaction-statement/content.jsx b/swan-lake/by-example/transaction-statement/content.jsx
index 2cf745a99f7..acd7d300b5f 100644
--- a/swan-lake/by-example/transaction-statement/content.jsx
+++ b/swan-lake/by-example/transaction-statement/content.jsx
@@ -66,7 +66,7 @@ export function TransactionStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/transaction-statement/transaction_statement.md",
+ "https://play.ballerina.io/?gist=bb1e93091b863cd207505b2b333751f1&file=transaction_statement.bal",
"_blank",
);
}}
@@ -74,140 +74,16 @@ export function TransactionStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -215,7 +91,7 @@ export function TransactionStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/transaction-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/transaction-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/transactional-named-workers/content.jsx b/swan-lake/by-example/transactional-named-workers/content.jsx
index 29dd07e5907..e30ad2803d4 100644
--- a/swan-lake/by-example/transactional-named-workers/content.jsx
+++ b/swan-lake/by-example/transactional-named-workers/content.jsx
@@ -65,7 +65,7 @@ export function TransactionalNamedWorkers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/transactional-named-workers/transactional_named_workers.md",
+ "https://play.ballerina.io/?gist=8993d16a2407af586233c018aa82d0ec&file=transactional_named_workers.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function TransactionalNamedWorkers({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function TransactionalNamedWorkers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/transactional-named-workers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/transactional-named-workers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/transactional-qualifier/content.jsx b/swan-lake/by-example/transactional-qualifier/content.jsx
index 85879122e20..bc91422eb24 100644
--- a/swan-lake/by-example/transactional-qualifier/content.jsx
+++ b/swan-lake/by-example/transactional-qualifier/content.jsx
@@ -79,7 +79,7 @@ export function TransactionalQualifier({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/transactional-qualifier/transactional_qualifier.md",
+ "https://play.ballerina.io/?gist=ead8d281b2d046f49559bde3d9f2fc01&file=transactional_qualifier.bal",
"_blank",
);
}}
@@ -87,140 +87,16 @@ export function TransactionalQualifier({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -228,7 +104,7 @@ export function TransactionalQualifier({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/transactional-qualifier",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/transactional-qualifier",
"_blank",
);
}}
diff --git a/swan-lake/by-example/tuples/content.jsx b/swan-lake/by-example/tuples/content.jsx
index 947a01f1619..02aa424e276 100644
--- a/swan-lake/by-example/tuples/content.jsx
+++ b/swan-lake/by-example/tuples/content.jsx
@@ -76,7 +76,7 @@ export function Tuples({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/tuples/tuples.md",
+ "https://play.ballerina.io/?gist=8020e90900cbfdd333e2052d5cf47d28&file=tuples.bal",
"_blank",
);
}}
@@ -84,140 +84,16 @@ export function Tuples({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -225,7 +101,7 @@ export function Tuples({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/tuples",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/tuples",
"_blank",
);
}}
diff --git a/swan-lake/by-example/type-definitions/content.jsx b/swan-lake/by-example/type-definitions/content.jsx
index f4dcdf5d63d..71eacb6b176 100644
--- a/swan-lake/by-example/type-definitions/content.jsx
+++ b/swan-lake/by-example/type-definitions/content.jsx
@@ -50,7 +50,7 @@ export function TypeDefinitions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/type-definitions/type_definitions.md",
+ "https://play.ballerina.io/?gist=e3fa62699168a4b28f3017618f6e77e8&file=type_definitions.bal",
"_blank",
);
}}
@@ -58,140 +58,16 @@ export function TypeDefinitions({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -199,7 +75,7 @@ export function TypeDefinitions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/type-definitions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/type-definitions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/type-inclusion-for-records/content.jsx b/swan-lake/by-example/type-inclusion-for-records/content.jsx
index 76c69955b4b..62b999c670a 100644
--- a/swan-lake/by-example/type-inclusion-for-records/content.jsx
+++ b/swan-lake/by-example/type-inclusion-for-records/content.jsx
@@ -67,7 +67,7 @@ export function TypeInclusionForRecords({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/type-inclusion-for-records/type_inclusion_for_records.md",
+ "https://play.ballerina.io/?gist=c8b953f63ce0ec3a7279c0f91bbaf438&file=type_inclusion_for_records.bal",
"_blank",
);
}}
@@ -75,140 +75,16 @@ export function TypeInclusionForRecords({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -216,7 +92,7 @@ export function TypeInclusionForRecords({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/type-inclusion-for-records",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/type-inclusion-for-records",
"_blank",
);
}}
diff --git a/swan-lake/by-example/type-inference/content.jsx b/swan-lake/by-example/type-inference/content.jsx
index 8dde33a1e9d..d4f08f9f778 100644
--- a/swan-lake/by-example/type-inference/content.jsx
+++ b/swan-lake/by-example/type-inference/content.jsx
@@ -66,7 +66,7 @@ export function TypeInference({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/type-inference/type_inference.md",
+ "https://play.ballerina.io/?gist=31a10b50dfcd5d1c8651729dfb900717&file=type_inference.bal",
"_blank",
);
}}
@@ -74,140 +74,16 @@ export function TypeInference({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -215,7 +91,7 @@ export function TypeInference({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/type-inference",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/type-inference",
"_blank",
);
}}
diff --git a/swan-lake/by-example/typed-binding-pattern/content.jsx b/swan-lake/by-example/typed-binding-pattern/content.jsx
index bdff7adeb0b..64dcb62d567 100644
--- a/swan-lake/by-example/typed-binding-pattern/content.jsx
+++ b/swan-lake/by-example/typed-binding-pattern/content.jsx
@@ -65,7 +65,7 @@ export function TypedBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/typed-binding-pattern/typed_binding_pattern.md",
+ "https://play.ballerina.io/?gist=eb96fba16b83401caaf31f54c512f160&file=typed_binding_pattern.bal",
"_blank",
);
}}
@@ -73,140 +73,16 @@ export function TypedBindingPattern({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -214,7 +90,7 @@ export function TypedBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/typed-binding-pattern",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/typed-binding-pattern",
"_blank",
);
}}
diff --git a/swan-lake/by-example/typedesc-type/content.jsx b/swan-lake/by-example/typedesc-type/content.jsx
index 835479f54d6..8f51a8dc92b 100644
--- a/swan-lake/by-example/typedesc-type/content.jsx
+++ b/swan-lake/by-example/typedesc-type/content.jsx
@@ -61,7 +61,7 @@ export function TypedescType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/typedesc-type/typedesc_type.md",
+ "https://play.ballerina.io/?gist=ee3f8892ee472fcdf90080542fdfab20&file=typedesc_type.bal",
"_blank",
);
}}
@@ -69,140 +69,16 @@ export function TypedescType({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -210,7 +86,7 @@ export function TypedescType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/typedesc-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/typedesc-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/udp-client/content.jsx b/swan-lake/by-example/udp-client/content.jsx
index 3482136766c..30a7ccef08f 100644
--- a/swan-lake/by-example/udp-client/content.jsx
+++ b/swan-lake/by-example/udp-client/content.jsx
@@ -71,7 +71,7 @@ export function UdpClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/udp-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/udp-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/udp-connect-client/content.jsx b/swan-lake/by-example/udp-connect-client/content.jsx
index cc708b9a60c..328ace8967d 100644
--- a/swan-lake/by-example/udp-connect-client/content.jsx
+++ b/swan-lake/by-example/udp-connect-client/content.jsx
@@ -69,7 +69,7 @@ export function UdpConnectClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/udp-connect-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/udp-connect-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/udp-listener/content.jsx b/swan-lake/by-example/udp-listener/content.jsx
index 886637c11ad..474ce1382cb 100644
--- a/swan-lake/by-example/udp-listener/content.jsx
+++ b/swan-lake/by-example/udp-listener/content.jsx
@@ -60,7 +60,7 @@ export function UdpListener({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/udp-listener",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/udp-listener",
"_blank",
);
}}
diff --git a/swan-lake/by-example/unions/content.jsx b/swan-lake/by-example/unions/content.jsx
index 40726824e16..2b71d56dec4 100644
--- a/swan-lake/by-example/unions/content.jsx
+++ b/swan-lake/by-example/unions/content.jsx
@@ -74,7 +74,7 @@ export function Unions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/unions/unions.md",
+ "https://play.ballerina.io/?gist=f9580142e2169f8192b5765e65aa2ef3&file=unions.bal",
"_blank",
);
}}
@@ -82,140 +82,16 @@ export function Unions({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -223,7 +99,7 @@ export function Unions({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/unions",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/unions",
"_blank",
);
}}
diff --git a/swan-lake/by-example/url-encode-decode/content.jsx b/swan-lake/by-example/url-encode-decode/content.jsx
index 834be766843..bab9c2bea7e 100644
--- a/swan-lake/by-example/url-encode-decode/content.jsx
+++ b/swan-lake/by-example/url-encode-decode/content.jsx
@@ -56,7 +56,7 @@ export function UrlEncodeDecode({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/url-encode-decode/url_encode_decode.md",
+ "https://play.ballerina.io/?gist=3d40be164a0fd030e059d4902cb31868&file=url_encode_decode.bal",
"_blank",
);
}}
@@ -64,140 +64,16 @@ export function UrlEncodeDecode({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -205,7 +81,7 @@ export function UrlEncodeDecode({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/url-encode-decode",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/url-encode-decode",
"_blank",
);
}}
diff --git a/swan-lake/by-example/uuid-generation/content.jsx b/swan-lake/by-example/uuid-generation/content.jsx
index 9bd5cc2a0b7..285ce1372fb 100644
--- a/swan-lake/by-example/uuid-generation/content.jsx
+++ b/swan-lake/by-example/uuid-generation/content.jsx
@@ -91,7 +91,7 @@ export function UuidGeneration({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/uuid-generation/uuid_generation.md",
+ "https://play.ballerina.io/?gist=e90ffad405ac88b53072888c94bf0750&file=uuid_generation.bal",
"_blank",
);
}}
@@ -99,140 +99,16 @@ export function UuidGeneration({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -240,7 +116,7 @@ export function UuidGeneration({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/uuid-generation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/uuid-generation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/uuid-operations/content.jsx b/swan-lake/by-example/uuid-operations/content.jsx
index a011e03bb9f..d747ec81480 100644
--- a/swan-lake/by-example/uuid-operations/content.jsx
+++ b/swan-lake/by-example/uuid-operations/content.jsx
@@ -92,7 +92,7 @@ export function UuidOperations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/uuid-operations/uuid_operations.md",
+ "https://play.ballerina.io/?gist=c1f9f2cff33618b7f3ffdfff9922293b&file=uuid_operations.bal",
"_blank",
);
}}
@@ -100,140 +100,16 @@ export function UuidOperations({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -241,7 +117,7 @@ export function UuidOperations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/uuid-operations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/uuid-operations",
"_blank",
);
}}
diff --git a/swan-lake/by-example/variables-and-types/content.jsx b/swan-lake/by-example/variables-and-types/content.jsx
index 7cdaefd9730..1f0f50c15fe 100644
--- a/swan-lake/by-example/variables-and-types/content.jsx
+++ b/swan-lake/by-example/variables-and-types/content.jsx
@@ -48,7 +48,7 @@ export function VariablesAndTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/variables-and-types/variables_and_types.md",
+ "https://play.ballerina.io/?gist=00400e08adcb7add03a4816a563a18fc&file=variables_and_types.bal",
"_blank",
);
}}
@@ -56,140 +56,16 @@ export function VariablesAndTypes({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -197,7 +73,7 @@ export function VariablesAndTypes({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/variables-and-types",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/variables-and-types",
"_blank",
);
}}
diff --git a/swan-lake/by-example/visibility-of-object-fields-and-methods/content.jsx b/swan-lake/by-example/visibility-of-object-fields-and-methods/content.jsx
index d6bb9721c8a..f6183a05ab2 100644
--- a/swan-lake/by-example/visibility-of-object-fields-and-methods/content.jsx
+++ b/swan-lake/by-example/visibility-of-object-fields-and-methods/content.jsx
@@ -113,7 +113,7 @@ export function VisibilityOfObjectFieldsAndMethods({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/visibility-of-object-fields-and-methods/visibility_of_object_fields_and_methods.md",
+ "https://play.ballerina.io/?gist=741129280550f238a7ac456340c58897&file=visibility_of_object_fields_and_methods.bal",
"_blank",
);
}}
@@ -121,140 +121,16 @@ export function VisibilityOfObjectFieldsAndMethods({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -262,7 +138,7 @@ export function VisibilityOfObjectFieldsAndMethods({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/visibility-of-object-fields-and-methods",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/visibility-of-object-fields-and-methods",
"_blank",
);
}}
diff --git a/swan-lake/by-example/waiting-for-workers/content.jsx b/swan-lake/by-example/waiting-for-workers/content.jsx
index 61ea5193023..be05b0791b7 100644
--- a/swan-lake/by-example/waiting-for-workers/content.jsx
+++ b/swan-lake/by-example/waiting-for-workers/content.jsx
@@ -56,7 +56,7 @@ export function WaitingForWorkers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/waiting-for-workers/waiting_for_workers.md",
+ "https://play.ballerina.io/?gist=05aabb88164e8b00e5991c4d52a57f33&file=waiting_for_workers.bal",
"_blank",
);
}}
@@ -64,140 +64,16 @@ export function WaitingForWorkers({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -205,7 +81,7 @@ export function WaitingForWorkers({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/waiting-for-workers",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/waiting-for-workers",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-basic-sample/content.jsx b/swan-lake/by-example/websocket-basic-sample/content.jsx
index c227465cde5..d132c8099f4 100644
--- a/swan-lake/by-example/websocket-basic-sample/content.jsx
+++ b/swan-lake/by-example/websocket-basic-sample/content.jsx
@@ -73,7 +73,7 @@ export function WebsocketBasicSample({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-basic-sample",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-basic-sample",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client-basic-auth/content.jsx b/swan-lake/by-example/websocket-client-basic-auth/content.jsx
index 6f14baac1bb..df2e37acc24 100644
--- a/swan-lake/by-example/websocket-client-basic-auth/content.jsx
+++ b/swan-lake/by-example/websocket-client-basic-auth/content.jsx
@@ -58,7 +58,7 @@ export function WebsocketClientBasicAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client-basic-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client-basic-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client-bearer-token-auth/content.jsx b/swan-lake/by-example/websocket-client-bearer-token-auth/content.jsx
index 41a230eab1a..360e829ae4b 100644
--- a/swan-lake/by-example/websocket-client-bearer-token-auth/content.jsx
+++ b/swan-lake/by-example/websocket-client-bearer-token-auth/content.jsx
@@ -57,7 +57,7 @@ export function WebsocketClientBearerTokenAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client-bearer-token-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client-bearer-token-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client-mutual-ssl/content.jsx b/swan-lake/by-example/websocket-client-mutual-ssl/content.jsx
index 149b5a52deb..10db09f829c 100644
--- a/swan-lake/by-example/websocket-client-mutual-ssl/content.jsx
+++ b/swan-lake/by-example/websocket-client-mutual-ssl/content.jsx
@@ -64,7 +64,7 @@ export function WebsocketClientMutualSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client-mutual-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client-mutual-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client-oauth2-client-cred-grant-type/content.jsx b/swan-lake/by-example/websocket-client-oauth2-client-cred-grant-type/content.jsx
index 68d9aa30032..f1d1c0cf9d3 100644
--- a/swan-lake/by-example/websocket-client-oauth2-client-cred-grant-type/content.jsx
+++ b/swan-lake/by-example/websocket-client-oauth2-client-cred-grant-type/content.jsx
@@ -65,7 +65,7 @@ export function WebsocketClientOauth2ClientCredGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client-oauth2-client-cred-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client-oauth2-client-cred-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client-oauth2-jwt-bearer-grant-type/content.jsx b/swan-lake/by-example/websocket-client-oauth2-jwt-bearer-grant-type/content.jsx
index a8c2e07d936..7f0a3bea0d6 100644
--- a/swan-lake/by-example/websocket-client-oauth2-jwt-bearer-grant-type/content.jsx
+++ b/swan-lake/by-example/websocket-client-oauth2-jwt-bearer-grant-type/content.jsx
@@ -66,7 +66,7 @@ export function WebsocketClientOauth2JwtBearerGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client-oauth2-jwt-bearer-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client-oauth2-jwt-bearer-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client-oauth2-password-grant-type/content.jsx b/swan-lake/by-example/websocket-client-oauth2-password-grant-type/content.jsx
index b1633866696..bd37cdefbe7 100644
--- a/swan-lake/by-example/websocket-client-oauth2-password-grant-type/content.jsx
+++ b/swan-lake/by-example/websocket-client-oauth2-password-grant-type/content.jsx
@@ -71,7 +71,7 @@ export function WebsocketClientOauth2PasswordGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client-oauth2-password-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client-oauth2-password-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client-oauth2-refresh-token-grant-type/content.jsx b/swan-lake/by-example/websocket-client-oauth2-refresh-token-grant-type/content.jsx
index fa68f3ddd90..0809b6edc08 100644
--- a/swan-lake/by-example/websocket-client-oauth2-refresh-token-grant-type/content.jsx
+++ b/swan-lake/by-example/websocket-client-oauth2-refresh-token-grant-type/content.jsx
@@ -67,7 +67,7 @@ export function WebsocketClientOauth2RefreshTokenGrantType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client-oauth2-refresh-token-grant-type",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client-oauth2-refresh-token-grant-type",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client-payload-constraint-validation/content.jsx b/swan-lake/by-example/websocket-client-payload-constraint-validation/content.jsx
index 801922b22db..1067ef15da0 100644
--- a/swan-lake/by-example/websocket-client-payload-constraint-validation/content.jsx
+++ b/swan-lake/by-example/websocket-client-payload-constraint-validation/content.jsx
@@ -60,7 +60,7 @@ export function WebsocketClientPayloadConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client-payload-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client-payload-constraint-validation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client-self-signed-jwt-auth/content.jsx b/swan-lake/by-example/websocket-client-self-signed-jwt-auth/content.jsx
index 488360e9277..7356d7ed94d 100644
--- a/swan-lake/by-example/websocket-client-self-signed-jwt-auth/content.jsx
+++ b/swan-lake/by-example/websocket-client-self-signed-jwt-auth/content.jsx
@@ -70,7 +70,7 @@ export function WebsocketClientSelfSignedJwtAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client-self-signed-jwt-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client-self-signed-jwt-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client-ssl-tls/content.jsx b/swan-lake/by-example/websocket-client-ssl-tls/content.jsx
index 05376e6b459..cd86b762a7c 100644
--- a/swan-lake/by-example/websocket-client-ssl-tls/content.jsx
+++ b/swan-lake/by-example/websocket-client-ssl-tls/content.jsx
@@ -56,7 +56,7 @@ export function WebsocketClientSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-client/content.jsx b/swan-lake/by-example/websocket-client/content.jsx
index 300c37f1535..69a2b5b1bf8 100644
--- a/swan-lake/by-example/websocket-client/content.jsx
+++ b/swan-lake/by-example/websocket-client/content.jsx
@@ -59,7 +59,7 @@ export function WebsocketClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-retry-client/content.jsx b/swan-lake/by-example/websocket-retry-client/content.jsx
index 7780c3c27a5..da307ba2e79 100644
--- a/swan-lake/by-example/websocket-retry-client/content.jsx
+++ b/swan-lake/by-example/websocket-retry-client/content.jsx
@@ -58,7 +58,7 @@ export function WebsocketRetryClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-retry-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-retry-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-service-basic-auth-file-user-store/content.jsx b/swan-lake/by-example/websocket-service-basic-auth-file-user-store/content.jsx
index 00047ced450..a1834a6771e 100644
--- a/swan-lake/by-example/websocket-service-basic-auth-file-user-store/content.jsx
+++ b/swan-lake/by-example/websocket-service-basic-auth-file-user-store/content.jsx
@@ -105,7 +105,7 @@ export function WebsocketServiceBasicAuthFileUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-service-basic-auth-file-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-service-basic-auth-file-user-store",
"_blank",
);
}}
@@ -197,7 +197,7 @@ export function WebsocketServiceBasicAuthFileUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-service-basic-auth-file-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-service-basic-auth-file-user-store",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-service-basic-auth-ldap-user-store/content.jsx b/swan-lake/by-example/websocket-service-basic-auth-ldap-user-store/content.jsx
index e8ce4d9c0b8..fbd6fd3c4ed 100644
--- a/swan-lake/by-example/websocket-service-basic-auth-ldap-user-store/content.jsx
+++ b/swan-lake/by-example/websocket-service-basic-auth-ldap-user-store/content.jsx
@@ -108,7 +108,7 @@ export function WebsocketServiceBasicAuthLdapUserStore({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-service-basic-auth-ldap-user-store",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-service-basic-auth-ldap-user-store",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-service-error-handling/content.jsx b/swan-lake/by-example/websocket-service-error-handling/content.jsx
index 725d47d7bae..4b37033d60e 100644
--- a/swan-lake/by-example/websocket-service-error-handling/content.jsx
+++ b/swan-lake/by-example/websocket-service-error-handling/content.jsx
@@ -74,7 +74,7 @@ export function WebsocketServiceErrorHandling({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-service-error-handling",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-service-error-handling",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-service-jwt-auth/content.jsx b/swan-lake/by-example/websocket-service-jwt-auth/content.jsx
index 187d4c9cb08..c4e716d2785 100644
--- a/swan-lake/by-example/websocket-service-jwt-auth/content.jsx
+++ b/swan-lake/by-example/websocket-service-jwt-auth/content.jsx
@@ -87,7 +87,7 @@ export function WebsocketServiceJwtAuth({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-service-jwt-auth",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-service-jwt-auth",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-service-mutual-ssl/content.jsx b/swan-lake/by-example/websocket-service-mutual-ssl/content.jsx
index 34c39c77054..06e5c497509 100644
--- a/swan-lake/by-example/websocket-service-mutual-ssl/content.jsx
+++ b/swan-lake/by-example/websocket-service-mutual-ssl/content.jsx
@@ -79,7 +79,7 @@ export function WebsocketServiceMutualSsl({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-service-mutual-ssl",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-service-mutual-ssl",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-service-oauth2/content.jsx b/swan-lake/by-example/websocket-service-oauth2/content.jsx
index b23cb8c874e..4351f950166 100644
--- a/swan-lake/by-example/websocket-service-oauth2/content.jsx
+++ b/swan-lake/by-example/websocket-service-oauth2/content.jsx
@@ -91,7 +91,7 @@ export function WebsocketServiceOauth2({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-service-oauth2",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-service-oauth2",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-service-payload-constraint-validation/content.jsx b/swan-lake/by-example/websocket-service-payload-constraint-validation/content.jsx
index 23ad00dca2d..4f3070b44bf 100644
--- a/swan-lake/by-example/websocket-service-payload-constraint-validation/content.jsx
+++ b/swan-lake/by-example/websocket-service-payload-constraint-validation/content.jsx
@@ -68,7 +68,7 @@ export function WebsocketServicePayloadConstraintValidation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-service-payload-constraint-validation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-service-payload-constraint-validation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-service-ssl-tls/content.jsx b/swan-lake/by-example/websocket-service-ssl-tls/content.jsx
index c6829670dc0..aaf50eaf07b 100644
--- a/swan-lake/by-example/websocket-service-ssl-tls/content.jsx
+++ b/swan-lake/by-example/websocket-service-ssl-tls/content.jsx
@@ -70,7 +70,7 @@ export function WebsocketServiceSslTls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-service-ssl-tls",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-service-ssl-tls",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websocket-timeout-client/content.jsx b/swan-lake/by-example/websocket-timeout-client/content.jsx
index abfe6e45310..0708fb947a2 100644
--- a/swan-lake/by-example/websocket-timeout-client/content.jsx
+++ b/swan-lake/by-example/websocket-timeout-client/content.jsx
@@ -54,7 +54,7 @@ export function WebsocketTimeoutClient({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websocket-timeout-client",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websocket-timeout-client",
"_blank",
);
}}
diff --git a/swan-lake/by-example/websub-webhook-sample/content.jsx b/swan-lake/by-example/websub-webhook-sample/content.jsx
index bec37c8eb05..f1af74395dd 100644
--- a/swan-lake/by-example/websub-webhook-sample/content.jsx
+++ b/swan-lake/by-example/websub-webhook-sample/content.jsx
@@ -75,7 +75,7 @@ export function WebsubWebhookSample({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/websub-webhook-sample",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/websub-webhook-sample",
"_blank",
);
}}
diff --git a/swan-lake/by-example/while-statement/content.jsx b/swan-lake/by-example/while-statement/content.jsx
index 8a28f4addba..ba4af93b2fb 100644
--- a/swan-lake/by-example/while-statement/content.jsx
+++ b/swan-lake/by-example/while-statement/content.jsx
@@ -50,7 +50,7 @@ export function WhileStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/while-statement/while_statement.md",
+ "https://play.ballerina.io/?gist=127050f89c4a8c226df1da9a608decab&file=while_statement.bal",
"_blank",
);
}}
@@ -58,140 +58,16 @@ export function WhileStatement({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -199,7 +75,7 @@ export function WhileStatement({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/while-statement",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/while-statement",
"_blank",
);
}}
diff --git a/swan-lake/by-example/wildcard-binding-pattern/content.jsx b/swan-lake/by-example/wildcard-binding-pattern/content.jsx
index 4099bf17da4..c6a8d0f711b 100644
--- a/swan-lake/by-example/wildcard-binding-pattern/content.jsx
+++ b/swan-lake/by-example/wildcard-binding-pattern/content.jsx
@@ -53,7 +53,7 @@ export function WildcardBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/wildcard-binding-pattern/wildcard_binding_pattern.md",
+ "https://play.ballerina.io/?gist=44aa6aa468e7ee7729d570fd705afab4&file=wildcard_binding_pattern.bal",
"_blank",
);
}}
@@ -61,140 +61,16 @@ export function WildcardBindingPattern({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -202,7 +78,7 @@ export function WildcardBindingPattern({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/wildcard-binding-pattern",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/wildcard-binding-pattern",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-access/content.jsx b/swan-lake/by-example/xml-access/content.jsx
index a59cc9abbe1..70b003668c8 100644
--- a/swan-lake/by-example/xml-access/content.jsx
+++ b/swan-lake/by-example/xml-access/content.jsx
@@ -91,7 +91,7 @@ export function XmlAccess({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-access/xml_access.md",
+ "https://play.ballerina.io/?gist=228f539bcf6fe6ae2262db19e2e68a42&file=xml_access.bal",
"_blank",
);
}}
@@ -99,140 +99,16 @@ export function XmlAccess({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -240,7 +116,7 @@ export function XmlAccess({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-access",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-access",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-data-model/content.jsx b/swan-lake/by-example/xml-data-model/content.jsx
index db42b10d641..bfa4723a560 100644
--- a/swan-lake/by-example/xml-data-model/content.jsx
+++ b/swan-lake/by-example/xml-data-model/content.jsx
@@ -172,7 +172,7 @@ export function XmlDataModel({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-data-model/xml_data_model.md",
+ "https://play.ballerina.io/?gist=19e98fd3d3a68aab39eb3c66ba9d0b58&file=xml_data_model.bal",
"_blank",
);
}}
@@ -180,140 +180,16 @@ export function XmlDataModel({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -321,7 +197,7 @@ export function XmlDataModel({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-data-model",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-data-model",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-from-json-conversion/content.jsx b/swan-lake/by-example/xml-from-json-conversion/content.jsx
index 4e6e644ccde..665e7f33c1b 100644
--- a/swan-lake/by-example/xml-from-json-conversion/content.jsx
+++ b/swan-lake/by-example/xml-from-json-conversion/content.jsx
@@ -62,7 +62,7 @@ export function XmlFromJsonConversion({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-from-json-conversion/xml_from_json_conversion.md",
+ "https://play.ballerina.io/?gist=a2df2ceb777483bc85c1bc9a8a6cfc9f&file=xml_from_json_conversion.bal",
"_blank",
);
}}
@@ -70,140 +70,16 @@ export function XmlFromJsonConversion({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -211,7 +87,7 @@ export function XmlFromJsonConversion({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-from-json-conversion",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-from-json-conversion",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-from-record-conversion/content.jsx b/swan-lake/by-example/xml-from-record-conversion/content.jsx
index 4cdbc315a5d..6d3eea8f573 100644
--- a/swan-lake/by-example/xml-from-record-conversion/content.jsx
+++ b/swan-lake/by-example/xml-from-record-conversion/content.jsx
@@ -84,7 +84,7 @@ export function XmlFromRecordConversion({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-from-record-conversion/xml_from_record_conversion.md",
+ "https://play.ballerina.io/?gist=358a01c41a5409460c72a4c1500470f0&file=xml_from_record_conversion.bal",
"_blank",
);
}}
@@ -92,140 +92,16 @@ export function XmlFromRecordConversion({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -233,7 +109,7 @@ export function XmlFromRecordConversion({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-from-record-conversion",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-from-record-conversion",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-iteration/content.jsx b/swan-lake/by-example/xml-iteration/content.jsx
index 0ca5bfd37cd..fc51622aed3 100644
--- a/swan-lake/by-example/xml-iteration/content.jsx
+++ b/swan-lake/by-example/xml-iteration/content.jsx
@@ -53,7 +53,7 @@ export function XmlIteration({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-iteration/xml_iteration.md",
+ "https://play.ballerina.io/?gist=bee39eed100e6b6bf98c78354532750e&file=xml_iteration.bal",
"_blank",
);
}}
@@ -61,140 +61,16 @@ export function XmlIteration({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -202,7 +78,7 @@ export function XmlIteration({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-iteration",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-iteration",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-mutation/content.jsx b/swan-lake/by-example/xml-mutation/content.jsx
index 91d8c5e9756..713b39eb635 100644
--- a/swan-lake/by-example/xml-mutation/content.jsx
+++ b/swan-lake/by-example/xml-mutation/content.jsx
@@ -52,7 +52,7 @@ export function XmlMutation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-mutation/xml_mutation.md",
+ "https://play.ballerina.io/?gist=de6477892b4e5808b81670c5efe19c54&file=xml_mutation.bal",
"_blank",
);
}}
@@ -60,140 +60,16 @@ export function XmlMutation({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -201,7 +77,7 @@ export function XmlMutation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-mutation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-mutation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-namespaces/content.jsx b/swan-lake/by-example/xml-namespaces/content.jsx
index 8fa14bcf11e..d77b1f0dad8 100644
--- a/swan-lake/by-example/xml-namespaces/content.jsx
+++ b/swan-lake/by-example/xml-namespaces/content.jsx
@@ -51,7 +51,7 @@ export function XmlNamespaces({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-namespaces/xml_namespaces.md",
+ "https://play.ballerina.io/?gist=4d125f43450842a1807704a9173cc622&file=xml_namespaces.bal",
"_blank",
);
}}
@@ -59,140 +59,16 @@ export function XmlNamespaces({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -200,7 +76,7 @@ export function XmlNamespaces({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-namespaces",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-namespaces",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-navigation/content.jsx b/swan-lake/by-example/xml-navigation/content.jsx
index c44994b9dd5..dc0ae519a80 100644
--- a/swan-lake/by-example/xml-navigation/content.jsx
+++ b/swan-lake/by-example/xml-navigation/content.jsx
@@ -85,7 +85,7 @@ export function XmlNavigation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-navigation/xml_navigation.md",
+ "https://play.ballerina.io/?gist=38779a1a6a9fb5e3290dccc74af03029&file=xml_navigation.bal",
"_blank",
);
}}
@@ -93,140 +93,16 @@ export function XmlNavigation({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -234,7 +110,7 @@ export function XmlNavigation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-navigation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-navigation",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-operations/content.jsx b/swan-lake/by-example/xml-operations/content.jsx
index 362c9c5b7b0..b30bdf3d939 100644
--- a/swan-lake/by-example/xml-operations/content.jsx
+++ b/swan-lake/by-example/xml-operations/content.jsx
@@ -59,7 +59,7 @@ export function XmlOperations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-operations/xml_operations.md",
+ "https://play.ballerina.io/?gist=20f3ed52b3da70f9979ed6b1187a57b5&file=xml_operations.bal",
"_blank",
);
}}
@@ -67,140 +67,16 @@ export function XmlOperations({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -208,7 +84,7 @@ export function XmlOperations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-operations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-operations",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-subtyping/content.jsx b/swan-lake/by-example/xml-subtyping/content.jsx
index f1c92cc4e5e..ff13e1b1d8f 100644
--- a/swan-lake/by-example/xml-subtyping/content.jsx
+++ b/swan-lake/by-example/xml-subtyping/content.jsx
@@ -128,7 +128,7 @@ export function XmlSubtyping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-subtyping/xml_subtyping.md",
+ "https://play.ballerina.io/?gist=869bed2f9e69d1325826f4f1fdc70a7c&file=xml_subtyping.bal",
"_blank",
);
}}
@@ -136,140 +136,16 @@ export function XmlSubtyping({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -277,7 +153,7 @@ export function XmlSubtyping({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-subtyping",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-subtyping",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-templates-and-query/content.jsx b/swan-lake/by-example/xml-templates-and-query/content.jsx
index 7c24b74b679..3c621daaa71 100644
--- a/swan-lake/by-example/xml-templates-and-query/content.jsx
+++ b/swan-lake/by-example/xml-templates-and-query/content.jsx
@@ -55,7 +55,7 @@ export function XmlTemplatesAndQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-templates-and-query/xml_templates_and_query.md",
+ "https://play.ballerina.io/?gist=bfcb4b1cf46093d6cb0fe5ea7e5ef9c5&file=xml_templates_and_query.bal",
"_blank",
);
}}
@@ -63,140 +63,16 @@ export function XmlTemplatesAndQuery({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -204,7 +80,7 @@ export function XmlTemplatesAndQuery({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-templates-and-query",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-templates-and-query",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-templates/content.jsx b/swan-lake/by-example/xml-templates/content.jsx
index 3c57c616d49..a9c968e5bdb 100644
--- a/swan-lake/by-example/xml-templates/content.jsx
+++ b/swan-lake/by-example/xml-templates/content.jsx
@@ -58,7 +58,7 @@ export function XmlTemplates({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-templates/xml_templates.md",
+ "https://play.ballerina.io/?gist=06874549c766132b9835c5ca0031b25b&file=xml_templates.bal",
"_blank",
);
}}
@@ -66,140 +66,16 @@ export function XmlTemplates({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -207,7 +83,7 @@ export function XmlTemplates({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-templates",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-templates",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-to-json-conversion/content.jsx b/swan-lake/by-example/xml-to-json-conversion/content.jsx
index 7b4c1cd24c1..ef0a2cf4f42 100644
--- a/swan-lake/by-example/xml-to-json-conversion/content.jsx
+++ b/swan-lake/by-example/xml-to-json-conversion/content.jsx
@@ -62,7 +62,7 @@ export function XmlToJsonConversion({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-to-json-conversion/xml_to_json_conversion.md",
+ "https://play.ballerina.io/?gist=dbe71f960c6dac6b0c8094301f09a839&file=xml_to_json_conversion.bal",
"_blank",
);
}}
@@ -70,140 +70,16 @@ export function XmlToJsonConversion({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -211,7 +87,7 @@ export function XmlToJsonConversion({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-to-json-conversion",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-to-json-conversion",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xml-to-record-conversion/content.jsx b/swan-lake/by-example/xml-to-record-conversion/content.jsx
index b79b0180f19..eeef0af57a7 100644
--- a/swan-lake/by-example/xml-to-record-conversion/content.jsx
+++ b/swan-lake/by-example/xml-to-record-conversion/content.jsx
@@ -86,7 +86,7 @@ export function XmlToRecordConversion({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-to-record-conversion/xml_to_record_conversion.md",
+ "https://play.ballerina.io/?gist=d9130a6f09a815884882d3619b200bed&file=xml_to_record_conversion.bal",
"_blank",
);
}}
@@ -94,140 +94,16 @@ export function XmlToRecordConversion({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -235,7 +111,7 @@ export function XmlToRecordConversion({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xml-to-record-conversion",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xml-to-record-conversion",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xmlns-declarations/content.jsx b/swan-lake/by-example/xmlns-declarations/content.jsx
index ca465264e6d..0c9cc6fd941 100644
--- a/swan-lake/by-example/xmlns-declarations/content.jsx
+++ b/swan-lake/by-example/xmlns-declarations/content.jsx
@@ -69,7 +69,7 @@ export function XmlnsDeclarations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xmlns-declarations/xmlns_declarations.md",
+ "https://play.ballerina.io/?gist=be43d80ce14b41d49c8e83e95b6ad7a1&file=xmlns_declarations.bal",
"_blank",
);
}}
@@ -77,140 +77,16 @@ export function XmlnsDeclarations({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -218,7 +94,7 @@ export function XmlnsDeclarations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xmlns-declarations",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xmlns-declarations",
"_blank",
);
}}
diff --git a/swan-lake/by-example/xslt-transformation/content.jsx b/swan-lake/by-example/xslt-transformation/content.jsx
index 821f36789e3..3542fdcdaaf 100644
--- a/swan-lake/by-example/xslt-transformation/content.jsx
+++ b/swan-lake/by-example/xslt-transformation/content.jsx
@@ -106,7 +106,7 @@ export function XsltTransformation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
- "vscode://wso2.ballerina/open-file?repoFileUrl=https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xslt-transformation/xslt_transformation.md",
+ "https://play.ballerina.io/?gist=5bd6dedfa0732991e4fda7bf21c3839c&file=xslt_transformation.bal",
"_blank",
);
}}
@@ -114,140 +114,16 @@ export function XsltTransformation({ codeSnippets }) {
aria-label="Open in Ballerina Playground"
>
- Open in Ballerina Visual Studio Code
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Open in Ballerina Playground
+
+
@@ -255,7 +131,7 @@ export function XsltTransformation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2"
onClick={() => {
window.open(
- "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.2/examples/xslt-transformation",
+ "https://github.com/ballerina-platform/ballerina-distribution/tree/v2201.8.0/examples/xslt-transformation",
"_blank",
);
}}