Skip to content

Commit

Permalink
Merge pull request #7515 from ballerina-platform/automate-bbes-91a9b8…
Browse files Browse the repository at this point in the history
…4d5e38ab04c09625a8fc425ceaf42ff6aa

[Automated] Update Ballerina By Example(BBEs) pages
  • Loading branch information
praneesha authored Aug 15, 2023
2 parents 3f78be3 + 270e560 commit 58cb5ac
Show file tree
Hide file tree
Showing 628 changed files with 708 additions and 74,892 deletions.
165 changes: 99 additions & 66 deletions _data/ballerina-by-example-nav.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion swan-lake/by-example/access-json-elements/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function AccessJsonElements({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=0f2b3d5c716ed4e1a71b56fc560033b6&file=access_json_elements.bal",
"https://play.ballerina.io/?gist=f363c0b759945548bafff3e201161305&file=access_json_elements.bal",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function AccessOptionalJsonElements({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=b359c92955535360f23aa9b97d9e234b&file=access_optional_json_elements.bal",
"https://play.ballerina.io/?gist=5803948de4487bba2b87058f515df449&file=access_optional_json_elements.bal",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/aggregation/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function Aggregation({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=6c1889927fd6fa43176ed49ae2af7b01&file=aggregation.bal",
"https://play.ballerina.io/?gist=a032ff59e5a8cb29e6acd32e6bc260d4&file=aggregation.bal",
"_blank",
);
}}
Expand Down
193 changes: 142 additions & 51 deletions swan-lake/by-example/all-bbes.json
Original file line number Diff line number Diff line change
Expand Up @@ -2493,6 +2493,29 @@
}
]
},
{
"title": " GraphQL service advanced",
"column": 1,
"category": "Network libraries",
"samples": [
{
"name": "Dataloader",
"url": "graphql-dataloader",
"verifyBuild": true,
"verifyOutput": false,
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "Custom prefetch methods",
"url": "custom-prefetch-methods",
"verifyBuild": true,
"verifyOutput": false,
"disablePlayground": true,
"isLearnByExample": false
}
]
},
{
"title": "GraphQL client",
"column": 1,
Expand Down Expand Up @@ -3978,7 +4001,7 @@
{
"name": "Cryptographic operations",
"url": "security-crypto",
"verifyBuild": true,
"verifyBuild": false,
"verifyOutput": false,
"disablePlayground": true,
"isLearnByExample": false
Expand Down Expand Up @@ -4319,6 +4342,124 @@
}
]
},
{
"title": "Docker",
"column": 0,
"category": "Deployment",
"samples": [
{
"name": "Hello world",
"url": "docker-hello-world",
"verifyBuild": true,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
}
]
},
{
"title": "Kubernetes",
"column": 1,
"category": "Deployment",
"samples": [
{
"name": "Hello world",
"url": "kubernetes-hello-world",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
}
]
},
{
"title": "AWS Lambda",
"column": 2,
"category": "Deployment",
"samples": [
{
"name": "Hello world",
"url": "aws-lambda-hello-world",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "Execution context",
"url": "aws-lambda-execution-context",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "S3 trigger",
"url": "aws-lambda-s3-trigger",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "DynamoDB trigger",
"url": "aws-lambda-dynamodb-trigger",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
}
]
},
{
"title": "Azure Functions",
"column": 3,
"category": "Deployment",
"samples": [
{
"name": "Hello world",
"url": "azure-functions-hello-world",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "Timer trigger",
"url": "azure-functions-timer-trigger",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "HTTP trigger with queue",
"url": "azure-functions-http-trigger-with-queue",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "Cosmos DB trigger",
"url": "azure-functions-cosmosdb-trigger",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
}
]
},
{
"title": "Query data",
"column": 0,
Expand Down Expand Up @@ -4445,55 +4586,5 @@
"isLearnByExample": false
}
]
},
{
"title": "Code to Cloud",
"column": 0,
"category": "Deployment",
"samples": [
{
"name": "Docker",
"url": "c2c-docker-deployment",
"verifyBuild": true,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "Kubernetes",
"url": "c2c-k8s-deployment",
"verifyBuild": true,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
}
]
},
{
"title": "Function as a Service",
"column": 1,
"category": "Deployment",
"samples": [
{
"name": "Azure Functions",
"url": "azure-functions-deployment",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "AWS Lambda",
"url": "aws-lambda-deployment",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Needs prerequisite condition",
"disablePlayground": true,
"isLearnByExample": false
}
]
}
]
2 changes: 1 addition & 1 deletion swan-lake/by-example/alternate-wait/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function AlternateWait({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=c655d22afd7678ab71633c6e2442fd6b&file=alternate_wait.bal",
"https://play.ballerina.io/?gist=425f6dd1366121a81e176a34a5e8882d&file=alternate_wait.bal",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/annotations/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function Annotations({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=849ecbc6f8c5f39693b4efe9392c4f29&file=annotations.bal",
"https://play.ballerina.io/?gist=a52e2d594fd2fd2ea01a7756558eacd5&file=annotations.bal",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/anonymous-function/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function AnonymousFunction({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=cd2d94b6d5e937473192b2a70205dfd4&file=anonymous_function.bal",
"https://play.ballerina.io/?gist=67f49c0ac8b917d4cd1d881116842cb6&file=anonymous_function.bal",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/any-type/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function AnyType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=beb73408704ff158feb34c17553a0a44&file=any_type.bal",
"https://play.ballerina.io/?gist=623fc1a831170e6da2e0739cc2727167&file=any_type.bal",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/anydata-type/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function AnydataType({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=01f10df30d1004dfeca19fca80d6f75f&file=anydata_type.bal",
"https://play.ballerina.io/?gist=2554dbbbe4e55ddc980ef6e0246aedba&file=anydata_type.bal",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/array-map-symmetry/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export function ArrayMapSymmetry({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=3f3d9d50db27c55cffad278433187420&file=array_map_symmetry.bal",
"https://play.ballerina.io/?gist=eb5e14368b42dc259748363421819b0d&file=array_map_symmetry.bal",
"_blank",
);
}}
Expand Down
2 changes: 1 addition & 1 deletion swan-lake/by-example/arrays/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function Arrays({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=728a082bbb107eea33b4f6c4de48323f&file=arrays.bal",
"https://play.ballerina.io/?gist=264a8ae6879f48c3906cbe48e4c2b371&file=arrays.bal",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function AsynchronizeMessagePassing({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=54371371a74802c4464253559b371ba5&file=asynchronize_message_passing.bal",
"https://play.ballerina.io/?gist=a0b35996b2d9df90d49c001c6cca489d&file=asynchronize_message_passing.bal",
"_blank",
);
}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function AsynchronousFunctionCalls({ codeSnippets }) {
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"https://play.ballerina.io/?gist=3adc2e7aafcd05e491f2c041d3ae74ee&file=asynchronous_function_calls.bal",
"https://play.ballerina.io/?gist=05dd3c52014ea23ca3b313f86e4342e1&file=asynchronous_function_calls.bal",
"_blank",
);
}}
Expand Down
Loading

0 comments on commit 58cb5ac

Please sign in to comment.