Skip to content

Commit

Permalink
Merge pull request #184 from leopardslab/partik-gsoc2023
Browse files Browse the repository at this point in the history
Linode and Oracle code generation module and plugin by Partik GSoC2023
  • Loading branch information
mbcse authored Sep 2, 2023
2 parents c859719 + a3fc0a1 commit c359958
Show file tree
Hide file tree
Showing 330 changed files with 136,484 additions and 80,330 deletions.
239 changes: 129 additions & 110 deletions README.md

Large diffs are not rendered by default.

Binary file added assets/generator/high_level_diagrams/linode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/generator/high_level_diagrams/oracle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/generator/high_level_diagrams/oracle2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,702 changes: 1,000 additions & 702 deletions docs/AWS_ArchivalStorage.html

Large diffs are not rendered by default.

1,515 changes: 894 additions & 621 deletions docs/AWS_BlockStorage.html

Large diffs are not rendered by default.

2,460 changes: 1,423 additions & 1,037 deletions docs/AWS_ComputeInstance.html

Large diffs are not rendered by default.

1,510 changes: 891 additions & 619 deletions docs/AWS_Container.html

Large diffs are not rendered by default.

1,514 changes: 902 additions & 612 deletions docs/AWS_DNS.html

Large diffs are not rendered by default.

1,690 changes: 1,007 additions & 683 deletions docs/AWS_IAM.html

Large diffs are not rendered by default.

1,711 changes: 1,006 additions & 705 deletions docs/AWS_KeyManagement.html

Large diffs are not rendered by default.

2,661 changes: 1,551 additions & 1,110 deletions docs/AWS_Kubernetes.html

Large diffs are not rendered by default.

1,709 changes: 1,002 additions & 707 deletions docs/AWS_LoadBalancer.html

Large diffs are not rendered by default.

1,517 changes: 903 additions & 614 deletions docs/AWS_Monitoring.html

Large diffs are not rendered by default.

1,870 changes: 1,111 additions & 759 deletions docs/AWS_NoSql.html

Large diffs are not rendered by default.

2,477 changes: 1,444 additions & 1,033 deletions docs/AWS_NoSqlIndexed.html

Large diffs are not rendered by default.

2,291 changes: 1,335 additions & 956 deletions docs/AWS_NotificationService.html

Large diffs are not rendered by default.

3,752 changes: 2,140 additions & 1,612 deletions docs/AWS_PaaS.html

Large diffs are not rendered by default.

1,890 changes: 1,119 additions & 771 deletions docs/AWS_RDBMS.html

Large diffs are not rendered by default.

1,624 changes: 956 additions & 668 deletions docs/AWS_StorageBucket.html

Large diffs are not rendered by default.

1,731 changes: 1,014 additions & 717 deletions docs/AWS_Translation.html

Large diffs are not rendered by default.

1,079 changes: 611 additions & 468 deletions docs/AWS_appServices_aws-paaS.js.html

Large diffs are not rendered by default.

711 changes: 426 additions & 285 deletions docs/AWS_artificialinteligence_aws-translation.js.html

Large diffs are not rendered by default.

843 changes: 494 additions & 349 deletions docs/AWS_compute_aws-computeInstance.js.html

Large diffs are not rendered by default.

678 changes: 409 additions & 269 deletions docs/AWS_compute_aws-container.js.html

Large diffs are not rendered by default.

876 changes: 511 additions & 365 deletions docs/AWS_compute_aws-kubernetes.js.html

Large diffs are not rendered by default.

744 changes: 443 additions & 301 deletions docs/AWS_database_aws-RDBMS.js.html

Large diffs are not rendered by default.

744 changes: 443 additions & 301 deletions docs/AWS_database_aws-noSql.js.html

Large diffs are not rendered by default.

843 changes: 494 additions & 349 deletions docs/AWS_database_aws-noSqlIndexed.js.html

Large diffs are not rendered by default.

711 changes: 426 additions & 285 deletions docs/AWS_management_aws-keyManagement.js.html

Large diffs are not rendered by default.

678 changes: 409 additions & 269 deletions docs/AWS_management_aws-monitoring.js.html

Large diffs are not rendered by default.

810 changes: 477 additions & 333 deletions docs/AWS_management_aws-notificationService.js.html

Large diffs are not rendered by default.

678 changes: 409 additions & 269 deletions docs/AWS_network_aws-DNS.js.html

Large diffs are not rendered by default.

711 changes: 426 additions & 285 deletions docs/AWS_network_aws-loadBalancer.js.html

Large diffs are not rendered by default.

3,752 changes: 2,140 additions & 1,612 deletions docs/AWS_paas.html

Large diffs are not rendered by default.

711 changes: 426 additions & 285 deletions docs/AWS_security_aws-IAM.js.html

Large diffs are not rendered by default.

711 changes: 426 additions & 285 deletions docs/AWS_storage_aws-archivalStorage.js.html

Large diffs are not rendered by default.

678 changes: 409 additions & 269 deletions docs/AWS_storage_aws-blockStorage.js.html

Large diffs are not rendered by default.

709 changes: 425 additions & 284 deletions docs/AWS_storage_aws-storageBucket.js.html

Large diffs are not rendered by default.

2,166 changes: 1,301 additions & 865 deletions docs/Azure_BlockStorage.html

Large diffs are not rendered by default.

2,452 changes: 1,466 additions & 986 deletions docs/Azure_ComputeInstance.html

Large diffs are not rendered by default.

1,847 changes: 1,109 additions & 738 deletions docs/Azure_Container.html

Large diffs are not rendered by default.

1,964 changes: 1,199 additions & 765 deletions docs/Azure_DNS.html

Large diffs are not rendered by default.

2,351 changes: 1,429 additions & 922 deletions docs/Azure_KeyManagement.html

Large diffs are not rendered by default.

3,814 changes: 2,300 additions & 1,514 deletions docs/Azure_Kubernetes.html

Large diffs are not rendered by default.

2,217 changes: 1,338 additions & 879 deletions docs/Azure_LoadBalancer.html

Large diffs are not rendered by default.

2,186 changes: 1,321 additions & 865 deletions docs/Azure_Monitoring.html

Large diffs are not rendered by default.

2,443 changes: 1,491 additions & 952 deletions docs/Azure_NoSql.html

Large diffs are not rendered by default.

4,439 changes: 2,678 additions & 1,761 deletions docs/Azure_PaaS.html

Large diffs are not rendered by default.

2,562 changes: 1,573 additions & 989 deletions docs/Azure_RDBMS.html

Large diffs are not rendered by default.

1,723 changes: 1,048 additions & 675 deletions docs/Azure_StorageBucket.html

Large diffs are not rendered by default.

1,168 changes: 584 additions & 584 deletions docs/Azure_appServices_azure-paaS.js.html

Large diffs are not rendered by default.

830 changes: 456 additions & 374 deletions docs/Azure_compute_azure-computeInstance.js.html

Large diffs are not rendered by default.

740 changes: 416 additions & 324 deletions docs/Azure_compute_azure-container.js.html

Large diffs are not rendered by default.

1,066 changes: 541 additions & 525 deletions docs/Azure_compute_azure-kubernetes.js.html

Large diffs are not rendered by default.

852 changes: 445 additions & 407 deletions docs/Azure_database_azure-RDBMS.js.html

Large diffs are not rendered by default.

827 changes: 442 additions & 385 deletions docs/Azure_database_azure-noSql.js.html

Large diffs are not rendered by default.

801 changes: 440 additions & 361 deletions docs/Azure_management_azure-keyManagement.js.html

Large diffs are not rendered by default.

786 changes: 437 additions & 349 deletions docs/Azure_management_azure-monitoring.js.html

Large diffs are not rendered by default.

750 changes: 419 additions & 331 deletions docs/Azure_network_azure-DNS.js.html

Large diffs are not rendered by default.

798 changes: 438 additions & 360 deletions docs/Azure_network_azure-loadBalancer.js.html

Large diffs are not rendered by default.

4,439 changes: 2,678 additions & 1,761 deletions docs/Azure_paas.html

Large diffs are not rendered by default.

781 changes: 437 additions & 344 deletions docs/Azure_storage_azure-blockStorage.js.html

Large diffs are not rendered by default.

706 changes: 399 additions & 307 deletions docs/Azure_storage_azure-storageBucket.js.html

Large diffs are not rendered by default.

1,508 changes: 895 additions & 613 deletions docs/DO_BlockStorage.html

Large diffs are not rendered by default.

1,651 changes: 988 additions & 663 deletions docs/DO_ComputeInstance.html

Large diffs are not rendered by default.

2,019 changes: 1,233 additions & 786 deletions docs/DO_DNS.html

Large diffs are not rendered by default.

1,623 changes: 970 additions & 653 deletions docs/DO_KeyManagement.html

Large diffs are not rendered by default.

2,566 changes: 1,534 additions & 1,032 deletions docs/DO_Kubernetes.html

Large diffs are not rendered by default.

1,470 changes: 874 additions & 596 deletions docs/DO_LoadBalancer.html

Large diffs are not rendered by default.

1,664 changes: 1,008 additions & 656 deletions docs/DO_NoSql.html

Large diffs are not rendered by default.

1,664 changes: 1,008 additions & 656 deletions docs/DO_RDBMS.html

Large diffs are not rendered by default.

661 changes: 394 additions & 267 deletions docs/DO_compute_do-computeInstance.js.html

Large diffs are not rendered by default.

769 changes: 446 additions & 323 deletions docs/DO_compute_do-kubernetes.js.html

Large diffs are not rendered by default.

661 changes: 394 additions & 267 deletions docs/DO_database_do-RDBMS.js.html

Large diffs are not rendered by default.

661 changes: 394 additions & 267 deletions docs/DO_database_do-noSql.js.html

Large diffs are not rendered by default.

659 changes: 393 additions & 266 deletions docs/DO_management_do-keyManagement.js.html

Large diffs are not rendered by default.

697 changes: 411 additions & 286 deletions docs/DO_network_do-DNS.js.html

Large diffs are not rendered by default.

648 changes: 390 additions & 258 deletions docs/DO_network_do-loadBalancer.js.html

Large diffs are not rendered by default.

648 changes: 390 additions & 258 deletions docs/DO_storage_do-blockStorage.js.html

Large diffs are not rendered by default.

2,015 changes: 1,197 additions & 818 deletions docs/GCP_KeyManagement.html

Large diffs are not rendered by default.

2,942 changes: 1,742 additions & 1,200 deletions docs/GCP_Kubernetes.html

Large diffs are not rendered by default.

2,165 changes: 1,282 additions & 883 deletions docs/GCP_Monitoring.html

Large diffs are not rendered by default.

1,712 changes: 1,023 additions & 689 deletions docs/GCP_NoSql.html

Large diffs are not rendered by default.

2,718 changes: 1,602 additions & 1,116 deletions docs/GCP_NotificationService.html

Large diffs are not rendered by default.

2,464 changes: 1,465 additions & 999 deletions docs/GCP_RDBMS.html

Large diffs are not rendered by default.

1,971 changes: 1,171 additions & 800 deletions docs/GCP_Translation.html

Large diffs are not rendered by default.

2,116 changes: 1,274 additions & 842 deletions docs/GCP_dns.html

Large diffs are not rendered by default.

6,228 changes: 3,666 additions & 2,562 deletions docs/GCP_storage.html

Large diffs are not rendered by default.

948 changes: 948 additions & 0 deletions docs/Linode_BlockStorage.html

Large diffs are not rendered by default.

949 changes: 949 additions & 0 deletions docs/Linode_ComputeInstance.html

Large diffs are not rendered by default.

1,192 changes: 1,192 additions & 0 deletions docs/Linode_DNS.html

Large diffs are not rendered by default.

1,293 changes: 1,293 additions & 0 deletions docs/Linode_Firewalls.html

Large diffs are not rendered by default.

1,260 changes: 1,260 additions & 0 deletions docs/Linode_Images.html

Large diffs are not rendered by default.

1,262 changes: 1,262 additions & 0 deletions docs/Linode_Kubernetes.html

Large diffs are not rendered by default.

956 changes: 956 additions & 0 deletions docs/Linode_LoadBalancer.html

Large diffs are not rendered by default.

1,583 changes: 1,583 additions & 0 deletions docs/Linode_Monitoring.html

Large diffs are not rendered by default.

1,294 changes: 1,294 additions & 0 deletions docs/Linode_NoSql.html

Large diffs are not rendered by default.

408 changes: 408 additions & 0 deletions docs/Linode_compute_linode-computeInstance.js.html

Large diffs are not rendered by default.

437 changes: 437 additions & 0 deletions docs/Linode_compute_linode-kubernetes.js.html

Large diffs are not rendered by default.

439 changes: 439 additions & 0 deletions docs/Linode_database_linode-noSql.js.html

Large diffs are not rendered by default.

447 changes: 447 additions & 0 deletions docs/Linode_firewalls_linode-firewalls.js.html

Large diffs are not rendered by default.

438 changes: 438 additions & 0 deletions docs/Linode_images_linode-images.js.html

Large diffs are not rendered by default.

475 changes: 475 additions & 0 deletions docs/Linode_management_linode-monitoring.js.html

Large diffs are not rendered by default.

435 changes: 435 additions & 0 deletions docs/Linode_network_linode-DNS.js.html

Large diffs are not rendered by default.

408 changes: 408 additions & 0 deletions docs/Linode_network_linode-loadBalancer.js.html

Large diffs are not rendered by default.

408 changes: 408 additions & 0 deletions docs/Linode_storage_linode-blockStorage.js.html

Large diffs are not rendered by default.

703 changes: 418 additions & 285 deletions docs/googleCloud_artificialinteligence_gcp-translation.js.html

Large diffs are not rendered by default.

833 changes: 480 additions & 353 deletions docs/googleCloud_compute_gcp-kubernetes.js.html

Large diffs are not rendered by default.

754 changes: 442 additions & 312 deletions docs/googleCloud_database_gcp-RDBMS.js.html

Large diffs are not rendered by default.

653 changes: 393 additions & 260 deletions docs/googleCloud_database_gcp-noSql.js.html

Large diffs are not rendered by default.

703 changes: 417 additions & 286 deletions docs/googleCloud_management_gcp-keyManagement.js.html

Large diffs are not rendered by default.

719 changes: 425 additions & 294 deletions docs/googleCloud_management_gcp-monitoring.js.html

Large diffs are not rendered by default.

804 changes: 467 additions & 337 deletions docs/googleCloud_management_gcp-notificationService.js.html

Large diffs are not rendered by default.

697 changes: 413 additions & 284 deletions docs/googleCloud_network_gcp-DNS.js.html

Large diffs are not rendered by default.

708 changes: 418 additions & 290 deletions docs/googleCloud_storage_gcp-archivalStorage.js.html

Large diffs are not rendered by default.

708 changes: 418 additions & 290 deletions docs/googleCloud_storage_gcp-storageBucket.js.html

Large diffs are not rendered by default.

1,985 changes: 1,178 additions & 807 deletions docs/index.html

Large diffs are not rendered by default.

168 changes: 84 additions & 84 deletions docs/scripts/app.min.js
Original file line number Diff line number Diff line change
@@ -1,91 +1,91 @@
"use strict";
'use strict';
$().ready(function() {});
var sidebarIsVisible = !1,
toggleSidebar = function(e) {
var a = !(0 < arguments.length && void 0 !== e) || e;
$("#sidebarNav").toggleClass("sticky", a),
$("#stickyNavbarOverlay").toggleClass("active", a),
$("#hamburger").toggleClass("is-active"),
(sidebarIsVisible = a);
};
toggleSidebar = function(e) {
var a = !(0 < arguments.length && void 0 !== e) || e;
$('#sidebarNav').toggleClass('sticky', a),
$('#stickyNavbarOverlay').toggleClass('active', a),
$('#hamburger').toggleClass('is-active'),
(sidebarIsVisible = a);
};
$().ready(function() {
$("#hamburger").click(function() {
toggleSidebar(!sidebarIsVisible);
}),
$("#stickyNavbarOverlay").click(function() {
sidebarIsVisible && toggleSidebar(!1);
});
$('#hamburger').click(function() {
toggleSidebar(!sidebarIsVisible);
}),
$('#stickyNavbarOverlay').click(function() {
sidebarIsVisible && toggleSidebar(!1);
});
});
var OFFSET = 150;
$().ready(function() {
var o = $("#side-nav"),
c = [];
if (
($(".vertical-section").length || o.hide(),
$(".vertical-section").each(function(e, a) {
var i = $(a),
t = i.find("> h1").text();
if (t) {
o.append($("<h3/>").text(t));
var s = $("<ul></ul>");
i.find(".members h4.name").each(function(e, a) {
var i = $(a),
t = i
.find(".code-name")
.clone()
.children()
.remove()
.end()
.text(),
n = i.find("a").attr("href"),
r = $('<a href="'.concat(n, '" />')).text(t);
s.append($("<li></li>").append(r)),
c.push({ link: r, offset: i.offset().top });
}),
o.append(s);
} else
i.find(".members h4.name").each(function(e, a) {
var i = $(a),
t = i
.find(".code-name")
.clone()
.children()
.remove()
.end()
.text(),
n = i.find("a").attr("href"),
r = $('<a href="'.concat(n, '" />')).text(t);
o.append(r), c.push({ link: r, offset: i.offset().top });
});
}),
!$.trim(o.text()))
)
return o.hide();
function e() {
for (var e = n.scrollTop(), a = !1, i = c.length - 1; 0 <= i; i--) {
var t = c[i];
t.link.removeClass("is-active"),
e + OFFSET >= t.offset
? a
? t.link.addClass("is-past")
: (t.link.addClass("is-active"), (a = !0))
: t.link.removeClass("is-past");
}
}
var n = $("#main-content-wrapper");
n.on("scroll", e),
e(),
c.forEach(function(e) {
e.link.click(function() {
n.animate({ scrollTop: e.offset - OFFSET + 1 }, 500);
});
});
var o = $('#side-nav'),
c = [];
if (
($('.vertical-section').length || o.hide(),
$('.vertical-section').each(function(e, a) {
var i = $(a),
t = i.find('> h1').text();
if (t) {
o.append($('<h3/>').text(t));
var s = $('<ul></ul>');
i.find('.members h4.name').each(function(e, a) {
var i = $(a),
t = i
.find('.code-name')
.clone()
.children()
.remove()
.end()
.text(),
n = i.find('a').attr('href'),
r = $('<a href="'.concat(n, '" />')).text(t);
s.append($('<li></li>').append(r)),
c.push({ link: r, offset: i.offset().top });
}),
o.append(s);
} else
i.find('.members h4.name').each(function(e, a) {
var i = $(a),
t = i
.find('.code-name')
.clone()
.children()
.remove()
.end()
.text(),
n = i.find('a').attr('href'),
r = $('<a href="'.concat(n, '" />')).text(t);
o.append(r), c.push({ link: r, offset: i.offset().top });
});
}),
!$.trim(o.text()))
)
return o.hide();
function e() {
for (var e = n.scrollTop(), a = !1, i = c.length - 1; 0 <= i; i--) {
var t = c[i];
t.link.removeClass('is-active'),
e + OFFSET >= t.offset
? a
? t.link.addClass('is-past')
: (t.link.addClass('is-active'), (a = !0))
: t.link.removeClass('is-past');
}
}
var n = $('#main-content-wrapper');
n.on('scroll', e),
e(),
c.forEach(function(e) {
e.link.click(function() {
n.animate({ scrollTop: e.offset - OFFSET + 1 }, 500);
});
});
}),
$().ready(function() {
$("#sidebarNav a").each(function(e, a) {
var i = $(a).attr("href");
window.location.pathname.match("/" + i) &&
($(a).addClass("active"),
$("#sidebarNav").scrollTop($(a).offset().top - 150));
});
});
$().ready(function() {
$('#sidebarNav a').each(function(e, a) {
var i = $(a).attr('href');
window.location.pathname.match('/' + i) &&
($(a).addClass('active'),
$('#sidebarNav').scrollTop($(a).offset().top - 150));
});
});
40 changes: 20 additions & 20 deletions docs/scripts/linenumber.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
/*global document */

(function() {
var source = document.getElementsByClassName("prettyprint source linenums");
var i = 0;
var lineNumber = 0;
var lineId;
var lines;
var totalLines;
var anchorHash;
var source = document.getElementsByClassName('prettyprint source linenums');
var i = 0;
var lineNumber = 0;
var lineId;
var lines;
var totalLines;
var anchorHash;

if (source && source[0]) {
anchorHash = document.location.hash.substring(1);
lines = source[0].getElementsByTagName("li");
totalLines = lines.length;
if (source && source[0]) {
anchorHash = document.location.hash.substring(1);
lines = source[0].getElementsByTagName('li');
totalLines = lines.length;

for (; i < totalLines; i++) {
lineNumber++;
lineId = "line" + lineNumber;
lines[i].id = lineId;
if (lineId === anchorHash) {
lines[i].className += " selected";
}
}
}
for (; i < totalLines; i++) {
lineNumber++;
lineId = 'line' + lineNumber;
lines[i].id = lineId;
if (lineId === anchorHash) {
lines[i].className += ' selected';
}
}
}
})();
79 changes: 43 additions & 36 deletions docs/scripts/search.js
Original file line number Diff line number Diff line change
@@ -1,42 +1,49 @@
(function() {
const input = document.querySelector("#search");
const targets = [...document.querySelectorAll("#sidebarNav li")];
input.addEventListener("keyup", () => {
// loop over each targets and hide the not corresponding ones
targets.forEach(target => {
if (!target.innerText.toLowerCase().includes(input.value.toLowerCase())) {
target.style.display = "none";
const input = document.querySelector('#search');
const targets = [...document.querySelectorAll('#sidebarNav li')];
input.addEventListener('keyup', () => {
// loop over each targets and hide the not corresponding ones
targets.forEach(target => {
if (
!target.innerText
.toLowerCase()
.includes(input.value.toLowerCase())
) {
target.style.display = 'none';

/**
* Detects an empty list
* Remove the list and the list's title if the list is not displayed
*/
const list = [...target.parentNode.childNodes].filter(
elem => elem.style.display !== "none"
);
/**
* Detects an empty list
* Remove the list and the list's title if the list is not displayed
*/
const list = [...target.parentNode.childNodes].filter(
elem => elem.style.display !== 'none'
);

if (!list.length) {
target.parentNode.style.display = "none";
target.parentNode.previousSibling.style.display = "none";
}
if (!list.length) {
target.parentNode.style.display = 'none';
target.parentNode.previousSibling.style.display = 'none';
}

/**
* Detects empty category
* Remove the entire category if no item is displayed
*/
const category = [...target.parentNode.parentNode.childNodes].filter(
elem => elem.tagName !== "H2" && elem.style.display !== "none"
);
/**
* Detects empty category
* Remove the entire category if no item is displayed
*/
const category = [
...target.parentNode.parentNode.childNodes,
].filter(
elem =>
elem.tagName !== 'H2' && elem.style.display !== 'none'
);

if (!category.length) {
target.parentNode.parentNode.style.display = "none";
}
} else {
target.parentNode.style.display = "block";
target.parentNode.previousSibling.style.display = "block";
target.parentNode.parentNode.style.display = "block";
target.style.display = "block";
}
});
});
if (!category.length) {
target.parentNode.parentNode.style.display = 'none';
}
} else {
target.parentNode.style.display = 'block';
target.parentNode.previousSibling.style.display = 'block';
target.parentNode.parentNode.style.display = 'block';
target.style.display = 'block';
}
});
});
})();
Loading

0 comments on commit c359958

Please sign in to comment.