Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync master into bff-demo #8361

Merged
merged 230 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
0457d63
Merge pull request #8016 from ballerina-platform/master
dulajdilshan Oct 11, 2023
26fed02
Revamp sending-a-message-to-a-service tutorial
dulajdilshan Oct 18, 2023
15c028d
Replace linked page with revamped page
dulajdilshan Oct 18, 2023
ad139d9
Improve content addressing review comments
dulajdilshan Oct 18, 2023
3ace092
Add guide annimation for client intitialization
dulajdilshan Oct 18, 2023
da83693
Address review comments
dulajdilshan Oct 18, 2023
66ca7ba
Address review suggestions
dulajdilshan Oct 19, 2023
f621da5
Change `querydoctor` to `doctors`
dulajdilshan Oct 19, 2023
e6e5c12
Update "define client endpoint" gif
dulajdilshan Oct 19, 2023
0f80029
Address review suggestions
dulajdilshan Oct 19, 2023
f344003
Add GIFs for testing, running and trying out API
dulajdilshan Oct 20, 2023
929e8ab
Move images to a new directory inside /images
dulajdilshan Oct 20, 2023
3485c55
Merge pull request #8076 from ballerina-platform/master
sm1990 Oct 20, 2023
37921ad
Add new GIFs
dulajdilshan Oct 24, 2023
88e1f4c
Address review comments
dulajdilshan Oct 24, 2023
4ec4226
Apply suggestions from code review
dulajdilshan Oct 24, 2023
dc46384
Add small description to send-request
dulajdilshan Oct 24, 2023
4fb7733
Refactor wordings
dulajdilshan Oct 24, 2023
9923d0e
Remove importing modules step in step 5
dulajdilshan Oct 24, 2023
f30427a
Merge pull request #8057 from dulajdilshan/revamp-sending-message-tut…
MaryamZi Oct 24, 2023
0a7c57c
Update GIFs
dulajdilshan Oct 24, 2023
aa2b071
Update tests with surgeons variable
dulajdilshan Oct 24, 2023
aeb7a3b
Merge pull request #8092 from dulajdilshan/revamp-sending-message-tut…
dulajdilshan Oct 25, 2023
c2f136b
Improve sending-a-message-to-a-service.md and run_the_service.gif
dulajdilshan Oct 27, 2023
7d373f1
Address review suggestions
dulajdilshan Oct 27, 2023
9dabc5a
Add missing GIFs
dulajdilshan Oct 27, 2023
02443d2
Address few comments
dulajdilshan Oct 27, 2023
8aba2c1
Renew GIFs
dulajdilshan Oct 27, 2023
6668cb4
Update content on generating record
dulajdilshan Oct 30, 2023
e75635b
Merge pull request #8124 from ballerina-platform/master
sm1990 Oct 30, 2023
33c2aea
Merge remote-tracking branch 'upstream/integration-tutorials' into ad…
dulajdilshan Oct 30, 2023
4daf7ba
Improve open_diagram_view.gif
dulajdilshan Oct 30, 2023
1843ed9
Merge pull request #8128 from ballerina-platform/master
dulajdilshan Oct 30, 2023
b8f74f8
Merge branch 'integration-tutorials' into address-review-comments
dulajdilshan Oct 30, 2023
4677df2
Address review comments
dulajdilshan Oct 30, 2023
23afa74
Update swan-lake/integration-tutorials/sending-a-message-to-a-service.md
dulajdilshan Oct 30, 2023
ac24fac
Apply suggestions from code review
dulajdilshan Oct 30, 2023
0a69ee3
Remove port
dulajdilshan Oct 30, 2023
b4d1c34
Merge remote-tracking branch 'origin/address-review-comments' into ad…
dulajdilshan Oct 30, 2023
70d8d3d
Apply suggestions from code review
dulajdilshan Oct 30, 2023
f3914ec
Merge pull request #8120 from dulajdilshan/address-review-comments
dulajdilshan Oct 31, 2023
7ce9735
Merge pull request #8138 from ballerina-platform/master
sm1990 Oct 31, 2023
23f7d38
Merge pull request #8148 from ballerina-platform/master
dulajdilshan Oct 31, 2023
67e3a48
Merge remote-tracking branch 'upstream/master' into resolve-conflicts
dulajdilshan Nov 1, 2023
bbc9375
Merge pull request #8163 from dulajdilshan/resolve-conflicts
sm1990 Nov 1, 2023
8ed8c14
Add generated record type
dulajdilshan Nov 2, 2023
45dfbfc
Update swan-lake/integration-tutorials/sending-a-message-to-a-service.md
dulajdilshan Nov 2, 2023
3966f67
Merge pull request #8174 from dulajdilshan/add-records
MaryamZi Nov 2, 2023
3870a4d
Revamp sending emails tutorial
mindula Oct 30, 2023
e05c93c
Add gifs
mindula Oct 30, 2023
fdde48a
Address review suggestions
mindula Oct 31, 2023
7aa291d
Remove destructuring and type inclusions
mindula Nov 1, 2023
eae550f
Address review suggestions
mindula Nov 2, 2023
37d9294
Remove unnecessary changes
mindula Nov 2, 2023
259354f
Modify the gifs
mindula Nov 2, 2023
611784c
Add new gifs
mindula Nov 2, 2023
575fb1e
Address review suggestions
mindula Nov 2, 2023
6941a16
Modify the gifs
mindula Nov 2, 2023
c44a885
Make record open
dulajdilshan Nov 3, 2023
2fb228b
Make record closed
dulajdilshan Nov 3, 2023
d329098
Address review suggestions
mindula Nov 3, 2023
c96a173
Add a note explaining the use of closed records
mindula Nov 3, 2023
ef34a94
Update the note on closed-records
dulajdilshan Nov 3, 2023
26726e1
Address review suggestions
mindula Nov 3, 2023
cb8b3a3
Update the note on closed-records
dulajdilshan Nov 3, 2023
1b7dce8
Merge pull request #8180 from dulajdilshan/integration-tutorials
MaryamZi Nov 3, 2023
e3b64e8
Merge pull request #8133 from mindula/revamp-sending-emails-from-a-se…
MaryamZi Nov 3, 2023
397c0d7
Fix 'define_a_client' gif to loop
mindula Nov 3, 2023
8a412cf
Merge pull request #8195 from mindula/integration-tutorials
MaryamZi Nov 3, 2023
0162ffc
Fix style guide issues
Nov 6, 2023
e37e329
Do more changes
Nov 6, 2023
b5cc653
Add another change
Nov 6, 2023
5f24776
Merge pull request #8212 from ballerina-platform/master
sm1990 Nov 7, 2023
63a484f
Fix the code in Statements page
Nov 7, 2023
b8dbf14
Merge pull request #8215 from ballerina-platform/master
dulajdilshan Nov 7, 2023
437e11e
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 8, 2023
0242122
Fix the pipe in string union
Nov 8, 2023
bd25482
Merge branch 'fix-style-guide-issues' of https://github.com/praneesha…
Nov 8, 2023
9c38c22
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 8, 2023
dbd535e
Update content-based-message-routing tutorial
dulajdilshan Nov 8, 2023
cbd332e
Change annotation usages
Nov 8, 2023
f48499f
Merge branch 'fix-style-guide-issues' of https://github.com/praneesha…
Nov 8, 2023
2cffa13
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 8, 2023
d12632d
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 8, 2023
8aa6294
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 8, 2023
196f3d1
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 8, 2023
b83500e
Remove function annotation
Nov 8, 2023
04834ef
Resolve conflict
Nov 8, 2023
4d83c0c
Revamp service orchestration tutorial
mindula Nov 9, 2023
b65fda7
Fix the project name
mindula Nov 9, 2023
ff0a939
Merge pull request #8232 from mindula/integration-tutorials
dulajdilshan Nov 9, 2023
44d57a9
Add GIFs
mindula Nov 9, 2023
9c8944a
Update `transforming message formats` tutorial
dulajdilshan Nov 9, 2023
804276a
Remove merged conflict
Nov 9, 2023
060e9ae
Modify the `define_a_resource` GIF
mindula Nov 10, 2023
5ea2929
Add missing parts
dulajdilshan Nov 10, 2023
9ef8bc9
Update GIF
dulajdilshan Nov 10, 2023
5adc6dd
Update content-based-message-routing
dulajdilshan Nov 10, 2023
83541d6
Fix errors in sending emails tutorial
mindula Nov 10, 2023
f1a1b3d
Merge pull request #8236 from mindula/integration-tutorials
dulajdilshan Nov 10, 2023
55613ed
Remove black line in GIFs
dulajdilshan Nov 10, 2023
9daa556
Update swan-lake/integration-tutorials/service-orchestration.md
dulajdilshan Nov 10, 2023
2d95386
Address review comments
dulajdilshan Nov 10, 2023
4b2b883
Fix typo
dulajdilshan Nov 10, 2023
c8a6067
Merge pull request #8231 from mindula/revamp-service-orchestration
dulajdilshan Nov 10, 2023
c9f40e0
Update swan-lake/integration-tutorials/content-based-message-routing.md
dulajdilshan Nov 10, 2023
cf84223
Merge pull request #8223 from dulajdilshan/revamp-content-based-routing
dulajdilshan Nov 10, 2023
0dd162c
Remove email sending part
dulajdilshan Nov 10, 2023
63b4395
Update content
dulajdilshan Nov 10, 2023
d4fc16c
Replace 'clients" with "objects"
dulajdilshan Nov 10, 2023
30141f7
Merge remote-tracking branch 'upstream/integration-tutorials' into re…
dulajdilshan Nov 10, 2023
059badb
Fix typo
dulajdilshan Nov 10, 2023
d052e79
Merge pull request #8233 from dulajdilshan/revamp-transform-message-f…
mindula Nov 10, 2023
c1923a7
Merge pull request #8237 from ballerina-platform/master
dulajdilshan Nov 10, 2023
d5b1db8
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 13, 2023
6a774fb
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 13, 2023
8ce38d1
Add pipe to closed record
Nov 13, 2023
3b13186
Improve `content-based message routing` tutorial
dulajdilshan Nov 14, 2023
08ab98e
Improve `transforming message formats` tutorial
dulajdilshan Nov 14, 2023
1ca9676
Address review comments
dulajdilshan Nov 14, 2023
e01c056
Apply suggestions from code review
dulajdilshan Nov 14, 2023
449537a
Address review comments
mindula Nov 14, 2023
1b1db03
Emphasize payloads
dulajdilshan Nov 14, 2023
62617ca
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 15, 2023
af5b1c8
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 15, 2023
60f852c
Fix missing parts
dulajdilshan Nov 15, 2023
1ac0ed5
Address review comments
Nov 15, 2023
c919a8a
Merge branch 'fix-style-guide-issues' of https://github.com/praneesha…
Nov 15, 2023
73508c7
Update swan-lake/integration-tutorials/transforming-message-formats.md
dulajdilshan Nov 15, 2023
8e955d4
Update swan-lake/integration-tutorials/transforming-message-formats.md
dulajdilshan Nov 15, 2023
022f09e
Merge pull request #8248 from dulajdilshan/improve-tutorials
dulajdilshan Nov 15, 2023
c0d670a
Address more review comments
mindula Nov 15, 2023
edda837
Merge pull request #8250 from mindula/integration-tutorials
MaryamZi Nov 15, 2023
9a3a98b
Merge pull request #8252 from ballerina-platform/master
dulajdilshan Nov 15, 2023
cfeb371
Fix the if else don't section
Nov 15, 2023
16279e9
Update swan-lake/development-tutorials/source-code-dependencies/style…
Nov 15, 2023
a9a9e71
Update icons of the pre-built integrations page
sahanHe Nov 15, 2023
1799f8e
Merge pull request #8260 from sahanHe/master
sm1990 Nov 15, 2023
65b3f06
Address more review comments
Nov 16, 2023
0d9dca7
Merge branch 'fix-style-guide-issues' of https://github.com/praneesha…
Nov 16, 2023
28fbb98
Merge pull request #8209 from praneesha/fix-style-guide-issues
Nov 16, 2023
8203ec3
Improve sending emails tutorial
mindula Nov 16, 2023
e17dca8
Improve service orchestration tutorial
mindula Nov 16, 2023
5f85a9d
Merge pull request #8262 from mindula/integration-tutorials
MaryamZi Nov 16, 2023
5fc2454
Update "send request" section
dulajdilshan Nov 16, 2023
f8775ea
Merge pull request #8264 from dulajdilshan/refactor-tut
MaryamZi Nov 16, 2023
ebee441
Merge pull request #8268 from ballerina-platform/master
sm1990 Nov 16, 2023
4645f8c
Update the 1.2.x release note templates
Nov 16, 2023
cfc4266
Fix sticky footer
sm1990 Nov 16, 2023
be61bce
Remove commented code
sm1990 Nov 16, 2023
2e3ede2
Merge pull request #8276 from sm1990/fix-footer
dulajdilshan Nov 16, 2023
717fa25
Merge pull request #8271 from praneesha/update-rn-templates
sm1990 Nov 16, 2023
8898605
Update GIFs
dulajdilshan Nov 17, 2023
8d963a9
Merge pull request #8281 from dulajdilshan/minor-changes
MaryamZi Nov 17, 2023
b8bb66e
Merge pull request #8282 from ballerina-platform/master
dulajdilshan Nov 17, 2023
fa06344
Remove duplicated and unused files
sm1990 Nov 17, 2023
f9cb2dc
Merge pull request #8285 from sm1990/pkg1
Nov 17, 2023
28bd590
Merge pull request #8289 from ballerina-platform/master
dulajdilshan Nov 17, 2023
80548f8
Merge pull request #8290 from ballerina-platform/integration-tutorials
sm1990 Nov 17, 2023
e9b31c4
Update the release note templates
Nov 17, 2023
ac1a856
Merge pull request #8292 from praneesha/update-rn-templates
Nov 17, 2023
92435cd
Add release note for 2201.8.3
SasinduDilshara Nov 19, 2023
b3885d4
update jsons in release notes
SasinduDilshara Nov 19, 2023
8918ea7
Remove redirects in 8.3 release note
SasinduDilshara Nov 20, 2023
485d2c7
Remove duplicated content in H1 and Title
sm1990 Nov 20, 2023
ae33de7
Replace playground url with VS Code
keizer619 Nov 20, 2023
d379682
Fix sentence case
sm1990 Nov 20, 2023
a8ac6b3
Merge pull request #8306 from sm1990/seo1-1
sm1990 Nov 21, 2023
1af831c
Add the Ballerina Central case study
Nov 22, 2023
55f5123
Do minor updates
Nov 22, 2023
0a98087
Add the testimonial quote
Nov 22, 2023
7db5ee6
Fix typos
Nov 22, 2023
c478ea7
Include observability improvements
NipunaMadhushan Nov 22, 2023
b815b51
Update RELEASE_NOTE.md
NipunaMadhushan Nov 22, 2023
c686de1
Merge pull request #8314 from keizer619/master
sm1990 Nov 22, 2023
eacefe2
Update Ballerina Swan Lake by Examples
Nov 22, 2023
83b6d6a
Merge pull request #8315 from ballerina-platform/automate-bbes-c686de…
sm1990 Nov 22, 2023
d2cad69
Revert "[Automated] Update Ballerina By Example(BBEs) pages"
sm1990 Nov 22, 2023
c02ba45
Update Ballerina Swan Lake by Examples
Nov 22, 2023
82cbc2d
Merge pull request #8317 from ballerina-platform/revert-8315-automate…
sm1990 Nov 22, 2023
4afd92c
Merge pull request #8318 from ballerina-platform/automate-bbes-83b6d6…
sm1990 Nov 22, 2023
ef800a4
Update release note with OpenAPI changes
lnash94 Nov 22, 2023
64f5e86
Update Ballerina Swan Lake by Examples
Nov 22, 2023
4fcc792
Merge pull request #8320 from ballerina-platform/automate-bbes-4afd92…
sm1990 Nov 22, 2023
20341ad
Revert "[Automated] Update Ballerina By Example(BBEs) pages"
sm1990 Nov 22, 2023
b573299
Update RELEASE_NOTE.md
NipunaMadhushan Nov 22, 2023
3129cbf
Merge pull request #8322 from ballerina-platform/revert-8320-automate…
sm1990 Nov 22, 2023
0e0ed3e
Fix review suggestions
lnash94 Nov 22, 2023
b2fe06e
Merge branch '2201.8.3-release-note' of https://github.com/SasinduDil…
lnash94 Nov 22, 2023
bf86daf
Update the new project in health tool doc
Nov 22, 2023
d0ff3aa
Update RELEASE_NOTE.md
NipunaMadhushan Nov 22, 2023
9218d02
Update RELEASE_NOTE.md
NipunaMadhushan Nov 22, 2023
fb70d80
Fix review suggestions
lnash94 Nov 22, 2023
f3066c1
Fix review suggestions
lnash94 Nov 22, 2023
c4e9253
Merge branch '2201.8.3-release-note' of https://github.com/SasinduDil…
lnash94 Nov 22, 2023
f6663d2
Update metadata for 8.3 release
SasinduDilshara Nov 22, 2023
405b262
Merge branch '2201.8.3-release-note' of https://github.com/SasinduDil…
SasinduDilshara Nov 22, 2023
b6c88ba
Fix review suggestions
lnash94 Nov 22, 2023
8c4bf1d
Merge branch '2201.8.3-release-note' of https://github.com/SasinduDil…
lnash94 Nov 22, 2023
b553953
Address suggestions
NipunaMadhushan Nov 22, 2023
8b720f9
Add relese-notes for xml-to-record converter changes
AzeemMuzammil Nov 22, 2023
8e47e26
Rename the service.bal file
Nov 22, 2023
aabe63a
update the 8.3 release note
SasinduDilshara Nov 22, 2023
456e6b5
Format code samples in 8.3 release note
SasinduDilshara Nov 22, 2023
f60833b
Merge pull request #8294 from SasinduDilshara/2201.8.3-release-note
Nov 22, 2023
b483ec6
Merge pull request #8326 from ballerina-platform/release-2201.8.3
sm1990 Nov 22, 2023
8029ec7
Improve the 2201.8.3 release note
Nov 22, 2023
58e99a9
Merge pull request #8313 from praneesha/add-central-case-study
Nov 23, 2023
cd31f43
Merge pull request #8324 from praneesha/update-health-tool-page
Nov 23, 2023
025fdc5
Update urls and styles of case studies
sm1990 Nov 23, 2023
6c94be6
Merge pull request #8328 from ballerina-platform/praneesha-patch-1
sm1990 Nov 23, 2023
2c86318
Merge pull request #8329 from sm1990/users
sm1990 Nov 23, 2023
eb747a6
Fix broken links
sm1990 Nov 23, 2023
6e3cec3
Merge pull request #8331 from sm1990/sameTab
sm1990 Nov 23, 2023
1a9c2bf
Fix indentation
lnash94 Nov 23, 2023
5262713
Merge pull request #8332 from lnash94/master
sm1990 Nov 23, 2023
07e3b83
Fix build issues
sm1990 Nov 23, 2023
0eb9809
Merge pull request #8334 from sm1990/fixBuild
sm1990 Nov 23, 2023
c4f25a1
Remove playground button
keizer619 Nov 25, 2023
45c1fa3
Include content variable
keizer619 Nov 25, 2023
0193cfb
Merge pull request #8337 from keizer619/master
keizer619 Nov 26, 2023
6e0dff9
Update Ballerina Swan Lake by Examples
Nov 26, 2023
ae25e41
Merge pull request #8340 from ballerina-platform/automate-bbes-0193cf…
keizer619 Nov 27, 2023
fa60ac7
Fix style issue
keizer619 Nov 27, 2023
002418a
Merge pull request #8348 from keizer619/master
sm1990 Nov 27, 2023
23e2111
Update convertMarkdown.js
sm1990 Nov 27, 2023
38aff86
Merge pull request #8350 from ballerina-platform/sm1990-patch-1
keizer619 Nov 27, 2023
fff6e2f
Update Ballerina Swan Lake by Examples
Nov 27, 2023
fa1bd77
Merge pull request #8355 from ballerina-platform/automate-bbes-38aff8…
sm1990 Nov 27, 2023
89e7ab9
Sync master into bff-demo
sm1990 Nov 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
58 changes: 2 additions & 56 deletions .github/scripts/bbe/convertMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,29 +136,6 @@ const codeSnippetGenerator = (code, marginLeftMultiplier, lang) => {
return output;
};

// playground link generator
const generatePlaygroundLink = async (content, description, fileName) => {
const data = {
content,
description,
fileName,
};

try {
sleep(1000);
const result = await axios({
url: "https://play.ballerina.io/gists",
method: "POST",
data,
});

playgroundLink = `https://play.ballerina.io/?gist=${result.data.id}&file=${fileName}`;
} catch (error) {
console.log(error.response.data);
}
return playgroundLink;
};

// edit on github link generator
const generateEditOnGithubLink = (exampleDir) => {
// Github base URL
Expand Down Expand Up @@ -190,36 +167,9 @@ md.use(container, "code", {
${env.isIndent ? 'indent' : ''}"
style={{ marginLeft: "${env.marginLeftMultiplier * 8}px" }}>
<Col className="d-flex align-items-start" sm={12}>
${env.playgroundLink != undefined
? `<button
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open(
"${env.playgroundLink}",
"_blank"
);
}}
target="_blank"
aria-label="Open in Ballerina Playground"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
fill="#000"
className="bi bi-play-circle"
viewBox="0 0 16 16"
>
<title>Open in Ballerina Playground</title>
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z" />
<path d="M6.271 5.055a.5.5 0 0 1 .52.038l3.5 2.5a.5.5 0 0 1 0 .814l-3.5 2.5A.5.5 0 0 1 6 10.5v-5a.5.5 0 0 1 .271-.445z" />
</svg>
</button>`
: ""
}
${(env.editOnGithubLink !== "") ? `
<button
className="bg-transparent border-0 m-0 p-2${env.playgroundLink != undefined ? "" : " ms-auto"}"
className="bg-transparent border-0 m-0 p-2 ms-auto"
onClick={() => {
window.open("${env.editOnGithubLink}", "_blank");
}}
Expand Down Expand Up @@ -716,11 +666,7 @@ const generate = async (examplesDir, outputDir) => {
let { fileName, codeContent } = extractCode(relPath, m[2]);

if (playground) {
playgroundLink = await generatePlaygroundLink(
codeContent,
relPath,
fileName
);
playgroundLink = `vscode://wso2.ballerina/open-file?repoFileUrl=${editOnGithubLink}/${file}`;
}

convertedLine = md.render(m[2], {
Expand Down
38 changes: 19 additions & 19 deletions _data/swanlake-latest/metadata.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"version":"2201.8.2",
"short-version":"2201.8.2",
"display-version":"2201.8.2 (Swan Lake Update 8)",
"release-date":"2023-10-17",
"windows-installer":"ballerina-2201.8.2-swan-lake-windows-x64.msi",
"windows-installer-size":"174mb",
"linux-installer":"ballerina-2201.8.2-swan-lake-linux-x64.deb",
"linux-installer-size":"197mb",
"macos-installer":"ballerina-2201.8.2-swan-lake-macos-x64.pkg",
"macos-installer-size":"232mb",
"macos-arm-installer":"ballerina-2201.8.2-swan-lake-macos-arm-x64.pkg",
"macos-arm-installer-size":"231mb",
"rpm-installer":"ballerina-2201.8.2-swan-lake-linux-x64.rpm",
"rpm-installer-size":"234mb",
"other-artefacts":[
"ballerina-2201.8.2-swan-lake.zip"
],
"api-docs":"ballerina-api-docs-2201.8.2.zip",
"release-notes":"ballerina-release-notes-2201.8.2.md"
"version":"2201.8.3",
"short-version":"2201.8.3",
"display-version":"2201.8.3 (Swan Lake Update 8)",
"release-date":"2023-11-22",
"windows-installer":"ballerina-2201.8.3-swan-lake-windows-x64.msi",
"windows-installer-size":"178mb",
"linux-installer":"ballerina-2201.8.3-swan-lake-linux-x64.deb",
"linux-installer-size":"200mb",
"macos-installer":"ballerina-2201.8.3-swan-lake-macos-x64.pkg",
"macos-installer-size":"236mb",
"macos-arm-installer":"ballerina-2201.8.3-swan-lake-macos-arm-x64.pkg",
"macos-arm-installer-size":"235mb",
"rpm-installer":"ballerina-2201.8.3-swan-lake-linux-x64.rpm",
"rpm-installer-size":"238mb",
"other-artefacts":[
"ballerina-2201.8.3-swan-lake.zip"
],
"api-docs":"ballerina-api-docs-2201.8.3.zip",
"release-notes":"ballerina-release-notes-2201.8.3.md"
}
21 changes: 21 additions & 0 deletions _data/swanlake_release_notes_versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1116,5 +1116,26 @@
],
"api-docs":"ballerina-api-docs-2201.8.1.zip",
"release-notes":"ballerina-release-notes-2201.8.1.md"
},
{
"version":"2201.8.2",
"short-version":"2201.8.2",
"display-version":"2201.8.2 (Swan Lake Update 8)",
"release-date":"2023-10-17",
"windows-installer":"ballerina-2201.8.2-swan-lake-windows-x64.msi",
"windows-installer-size":"174mb",
"linux-installer":"ballerina-2201.8.2-swan-lake-linux-x64.deb",
"linux-installer-size":"197mb",
"macos-installer":"ballerina-2201.8.2-swan-lake-macos-x64.pkg",
"macos-installer-size":"232mb",
"macos-arm-installer":"ballerina-2201.8.2-swan-lake-macos-arm-x64.pkg",
"macos-arm-installer-size":"231mb",
"rpm-installer":"ballerina-2201.8.2-swan-lake-linux-x64.rpm",
"rpm-installer-size":"234mb",
"other-artefacts":[
"ballerina-2201.8.2-swan-lake.zip"
],
"api-docs":"ballerina-api-docs-2201.8.2.zip",
"release-notes":"ballerina-release-notes-2201.8.2.md"
}
]
53 changes: 53 additions & 0 deletions case-studies/ballerina-central.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
layout: ballerina-publishing-to-central-left-nav-pages-swanlake
title: 'Ballerina Central leverages the power of Ballerina for effective package management'
description: Ballerina code is organized in a single, shareable unit called a package. Ballerina packages are developed via different channels in multiple categories. These categories include the Ballerina packages that are developed by the Ballerina team, which are shipped with the Ballerina distribution, the BallerinaX packages that are developed by the Ballerina team but are not shipped with the distribution, and the packages that are developed by third-party users, which are also not shipped with the distribution.
keywords: ballerina, programming language, package, management, central
permalink: /learn/case-studies/central
active: central
intro: Ballerina code is organized in a single, shareable unit called a package. Ballerina packages are developed via different channels in multiple categories. These categories include the Ballerina packages that are developed by the Ballerina team, which are shipped with the Ballerina distribution, the BallerinaX packages that are developed by the Ballerina team but are not shipped with the distribution, and the packages that are developed by third-party users, which are also not shipped with the distribution.
logo: '/images/home-page/user-logos/ballerina-central.svg'
user: 'central'
---

## Overview

With the rapidly increasing growth of a wide range of these Ballerina packages, a need for a globally hosted robust package management system to discover, download, and publish them was highlighted. [Ballerina Central](https://central.ballerina.io/) was developed to cater to this purpose as the all-inclusive package repository to manage Ballerina, BallerinaX, and other packages belonging to other organizations.

## Challenges

The primary objective of Ballerina Central is to manage the wide spectrum of Ballerina packages most effectively and optimally. Therefore, it was critical for Ballerina Central to be a cloud deployment, which can scale the platform on demand when the load is increased by preserving consistent high availability for its users. Designing the solution faced several other secondary challenges such as the requirement to handle JSON, other network-services-related data types, and database connectors, achieve concurrency via isolated services, and generate Docker and Kubernetes images for a robust and resilient cloud deployment.

## Solution

The Ballerina language was the natural choice when implementing Ballerina Central, not only to demonstrate its features in a real-world use case but also because the features of Ballerina were deemed to be the perfect choice to meet the specific requirements and develop the best package repository, prompting to come up with a fresh an innovative solution for itself.

As for the main highlights of the solution as illustrated in the diagram below, [WSO2 Choreo](https://wso2.com/choreo/) was used to provide the hosting capabilities, [WSO2 Asgardeo](https://wso2.com/asgardeo/) was used as the identity service provider, and Microsoft Azure products and SQL were used in implementing the cloud-based network and data storage requirements.

<img src="/images/case-studies/ballerina-central-architecture.png" alt="Ballerina Central Architecture">

## Benefits

Implementing the Ballerina Central platform had a profound impact on managing Ballerina packages in an optimized manner based on the key areas listed below.

- **Scalability:** The platform easily accommodated increased uploads of Ballerina packages, ensuring a seamless experience for developers when downloading them.

- **High availability:** The use of the cloud-native features of the Ballerina language together with the Azure cloud deployment helped to ensure high availability in the solution.

- **Load handling:** The implementation was designed to be capable of handling a large number of user requests being made simultaneously to download Ballerina packages.

- **Package maintenance:** The solution enabled storing and managing the packages all in one place together with the components related to them such as the corresponding source code and documentation.

- **Security:** Ballerina's strong security features such as OAuth2 authentication and rate limiting were used in implementing security in Ballerina Central to secure and safeguard sensitive information associated with the packages.

- **Monitoring and analytics:** With the Azure log analyzer, Ballerina's observability capabilities were utilized to gain real-time insights into the performance of the packages.

- **Enhanced CI/CD capabilities:** The solution was designed with improved CI/CD features to ensure smooth and effective usage of the packages via operations such as publishing and downloading.

- **Augmented development experience:** The concise and efficient syntax of the Ballerina language combined with its advanced graphical tooling facilitated an enhanced development experience, which included writing the code with less effort, reducing the learning curve, and improving long-term code readability and maintainability.

## Conclusion

The journey of Ballerina Central to implement a robust and resilient Ballerina package management platform was successful mainly due to the perfect matching of the Ballerina features with the requirements of the planned solution. The platform not only paved the way for them to meet the expectations of managing the Ballerina packages smoothly and effectively but also demonstrated a practical example of utilizing the feature-rich Ballerina language in a real-world scenario, thereby, safeguarding and strengthening the simplicity and powerfulness of the Ballerina language ecosystem for continued growth in the enterprise integration solutions arena.

>*"Ballerina Central's successful implementation of a robust package management platform showcases the perfect synergy between Ballerina's features and the solution's needs. This achievement not only ensures efficient Ballerina package management but also serves as a compelling real-world testament to the language's adaptability by strengthening the simplicity and power of the Ballerina language ecosystem.*<br/><br/>Anuruddha Liyanarachchi - Technical Lead, WSO2 LLC.
2 changes: 1 addition & 1 deletion case-studies/mosip.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: ballerina-publishing-to-central-left-nav-pages-swanlake
title: 'How MOSIP uses Ballerina WebSubHub for event-driven integration'
description:
description: Ballerina is an open source programming language for the cloud that makes it easier to use, combine, and create network services. In addition to the powerful language features, it comes with a rich Ballerina library, which covers network data, messaging, and communication protocols. The Modular Open Source Identity Platform (MOSIP), an open-source identity platform currently being adopted by several countries to manage the digitization of their civil registries, uses the Ballerina WebSubHub module for event-driven communication.
keywords: ballerina, programming language, integration, websubhub, mosip
permalink: /learn/case-studies/mosip
active: mosip
Expand Down
2 changes: 1 addition & 1 deletion case-studies/wso2.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: ballerina-publishing-to-central-left-nav-pages-swanlake
title: 'Transform WSO2 internal apps to enhance efficiency and collaboration'
description:
description: WSO2’s digital transformation team realized that they needed to modernize the company’s own internal applications to improve operational efficiency, collaboration, and productivity. To drive these efforts, the company leveraged the Ballerina language to achieve remarkable results and empower its workforce.
keywords: ballerina, programming language, digital transformation, internal apps, wso2
permalink: /learn/case-studies/wso2
active: wso2
Expand Down
3 changes: 2 additions & 1 deletion components/common/top-nav/TopNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ const TopNav = (props) => {
<Dropdown.Item category='usecases' href={`${prefix}/usecases/microservices`} className={styles.dropDownItem} key='10'>Microservices</Dropdown.Item>,
<Dropdown.Item category='usecases' href={`${prefix}/usecases/bff`} className={styles.dropDownItem} key='11'>BFF</Dropdown.Item>,
<Dropdown.Item category='case studies' href={`${prefix}/case-studies/wso2`} className={styles.dropDownItem} key='9'>WSO2</Dropdown.Item>,
<Dropdown.Item category='case studies' href={`${prefix}/case-studies/mosip`} className={styles.dropDownItem} key='12'>MOSIP</Dropdown.Item>
<Dropdown.Item category='case studies' href={`${prefix}/case-studies/mosip`} className={styles.dropDownItem} key='11'>MOSIP</Dropdown.Item>,
<Dropdown.Item category='case studies' href={`${prefix}/case-studies/ballerina-central`} className={styles.dropDownItem} key='12'>Ballerina Central</Dropdown.Item>
];


Expand Down
8 changes: 4 additions & 4 deletions components/home-page/users/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ export default function Users(props) {

<Row>
<Col sm={18} md={12} className={styles.logo}>
<a href="/case-studies/wso2" target='_blank' rel="noreferrer" ><img src={`${prefix}/images/home-page/user-logos/wso2.svg`} width={280} alt="WSO2" title="WSO2" /></a>
<a href={`${prefix}/case-studies/wso2`}><img src={`${prefix}/images/home-page/user-logos/wso2.svg`} width={280} alt="WSO2" title="WSO2" /></a>
<a href="https://choreo.dev/" target='_blank' rel="noreferrer"><img src={`${prefix}/images/home-page/user-logos/choreo.svg`} width={280} alt="Choreo" title="Choreo" /></a>
<a href="https://fattuesday.com/" target='_blank' rel="noreferrer"><img src={`${prefix}/images/home-page/user-logos/fat-tuesday.svg`} width={150} alt="Fat Tuesday" title="Fat Tuesday" /></a>
<a href="/case-studies/mosip" target='_blank' rel="noreferrer"><img src={`${prefix}/images/home-page/user-logos/mosip.png`} width={280} alt="MOSIP" title="MOSIP" /></a>
<a href={`${prefix}/case-studies/mosip`}><img src={`${prefix}/images/home-page/user-logos/mosip.png`} width={280} alt="MOSIP" title="MOSIP" /></a>
<a href="https://quantil.readthedocs.io/en/latest/user-guide/qhana/" target='_blank' rel="noreferrer"><img src={`${prefix}/images/home-page/user-logos/qhana.png`} width={200} alt="QHAna - The Quantum Humanities Analysis Tool" title="QHAna - The Quantum Humanities Analysis Tool" /></a>

</Col>
</Row>
<Row>
<Col sm={18} md={12} className={styles.logo}>
<a href="https://central.ballerina.io/" target='_blank' rel="noreferrer"><img src={`${prefix}/images/home-page/user-logos/ballerina-central.svg`} width={340} alt="Ballerina Central" title="Ballerina Central" /></a>
<a href="https://elixir.redcross.lk/" target='_blank' rel="noreferrer"><img src={`${prefix}/images/home-page/user-logos/redcross-elixir.png`} width={280} alt="Redcross Elixir" title="Redcross Elixir" /></a>
<a href={`${prefix}/case-studies/ballerina-central`}><img src={`${prefix}/images/home-page/user-logos/ballerina-central.svg`} width={340} alt="Ballerina Central" title="Ballerina Central" /></a>
<a href="https://www.redcross.lk/news/sri-lanka-red-cross-societys-elixir-a-source-of-strength-to-the-health-sector-of-sri-lanka/" target='_blank' rel="noreferrer"><img src={`${prefix}/images/home-page/user-logos/redcross-elixir.png`} width={280} alt="Redcross Elixir" title="Redcross Elixir" /></a>
<a href="https://www.raapid.ai/" target='_blank' rel="noreferrer"><img src={`${prefix}/images/home-page/user-logos/raapid-ai.png`} width={320} alt="RAAPID" title="RAAPID" /></a>
</Col>
</Row>
Expand Down
2 changes: 0 additions & 2 deletions downloads/1.2.x-release-notes/1.2.x-bug-fixes-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ layout: ballerina-left-nav-release-notes
title: <RELEASE_VERSION>
permalink: /downloads/1.2.x-release-notes/<RELEASE_VERSION>/
active: <RELEASE_VERSION>
redirect_from:
- /downloads/1.2.x-release-notes/
---

## Overview of jBallerina <RELEASE_VERSION>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ layout: ballerina-left-nav-release-notes
title: <RELEASE_VERSION>
permalink: /downloads/1.2.x-release-notes/<RELEASE_VERSION>/
active: <RELEASE_VERSION>
redirect_from:
- /downloads/1.2.x-release-notes/
---

## Overview of jBallerina <RELEASE_VERSION>

<!-- COMMENT OUT ONLY THE APPLICABLE ONE FROM THE BELOW -->

<!-- The jBallerina <RELEASE_VERSION> patch release improves upon the <PREVIOUS_RELEASE_VERSION> release by addressing a few security improvements. -->
<!-- The jBallerina <RELEASE_VERSION> patch release improves upon the <PREVIOUS_RELEASE_VERSION> release by addressing a security improvement. -->

<!-- The jBallerina <RELEASE_VERSION> patch release improves upon the <PREVIOUS_RELEASE_VERSION> release by addressing a few security improvements. -->

Expand Down
Loading
Loading