From 4b5c90dbb2ff8e31c9b6eb28c59a5aeb40341e79 Mon Sep 17 00:00:00 2001 From: Nipuna Fernando Date: Thu, 23 Jan 2025 13:18:35 +0530 Subject: [PATCH] Remove skipped test case in available nodes --- .../extension/AvailableNodesTest.java | 8 - .../config/remote_connector.json | 386 ++++++++++++------ 2 files changed, 252 insertions(+), 142 deletions(-) diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/java/io/ballerina/flowmodelgenerator/extension/AvailableNodesTest.java b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/java/io/ballerina/flowmodelgenerator/extension/AvailableNodesTest.java index 705ce02a5..753a022cd 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/java/io/ballerina/flowmodelgenerator/extension/AvailableNodesTest.java +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/java/io/ballerina/flowmodelgenerator/extension/AvailableNodesTest.java @@ -56,14 +56,6 @@ public void test(Path config) throws IOException { } } - @Override - protected String[] skipList() { - //TODO: Need a better approach on how we can mock the central data - return new String[]{ - "remote_connector.json" - }; - } - @Override protected String getResourceDir() { return "available_nodes"; diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/remote_connector.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/remote_connector.json index 5fdaacf56..866bc329b 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/remote_connector.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/remote_connector.json @@ -20,608 +20,646 @@ { "metadata": { "label": "getGlobalStatus", - "description": "Get global COVID-19 totals for today, yesterday and two days ago\n\n", + "description": "Get global COVID-19 totals for today, yesterday and two days ago\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getGlobalStatus", - "id": "6267" + "parentSymbol": "covidClient", + "id": 726 }, "enabled": true }, { "metadata": { "label": "getAllUSAStatesStatus", - "description": "Get COVID-19 totals for all US States\n\n", + "description": "Get COVID-19 totals for all US States\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getAllUSAStatesStatus", - "id": "6267" + "parentSymbol": "covidClient", + "id": 731 }, "enabled": true }, { "metadata": { "label": "getUSAStatusByState", - "description": "Get COVID-19 totals for specific US State(s)\n\n", + "description": "Get COVID-19 totals for specific US State(s)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getUSAStatusByState", - "id": "6267" + "parentSymbol": "covidClient", + "id": 733 }, "enabled": true }, { "metadata": { "label": "getAllContinentsStatus", - "description": "Get COVID-19 totals for all continents\n\n", + "description": "Get COVID-19 totals for all continents\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getAllContinentsStatus", - "id": "6267" + "parentSymbol": "covidClient", + "id": 734 }, "enabled": true }, { "metadata": { "label": "getStatusByContinent", - "description": "Get COVID-19 totals for a specific continent\n\n", + "description": "Get COVID-19 totals for a specific continent\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getStatusByContinent", - "id": "6267" + "parentSymbol": "covidClient", + "id": 737 }, "enabled": true }, { "metadata": { "label": "getAllCountriesStatus", - "description": "Get COVID-19 totals for all countries\n\n", + "description": "Get COVID-19 totals for all countries\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getAllCountriesStatus", - "id": "6267" + "parentSymbol": "covidClient", + "id": 740 }, "enabled": true }, { "metadata": { "label": "getStatusByCountry", - "description": "Get COVID-19 totals for a specific country\n\n", + "description": "Get COVID-19 totals for a specific country\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getStatusByCountry", - "id": "6267" + "parentSymbol": "covidClient", + "id": 746 }, "enabled": true }, { "metadata": { "label": "getMultipleCountriesStatus", - "description": "Get COVID-19 totals for a specific set of countries\n\n", + "description": "Get COVID-19 totals for a specific set of countries\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getMultipleCountriesStatus", - "id": "6267" + "parentSymbol": "covidClient", + "id": 756 }, "enabled": true }, { "metadata": { "label": "getAllCountriesAndProvincesStatus", - "description": "Get COVID-19 totals for all countries and their provinces\n\n", + "description": "Get COVID-19 totals for all countries and their provinces\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getAllCountriesAndProvincesStatus", - "id": "6267" + "parentSymbol": "covidClient", + "id": 757 }, "enabled": true }, { "metadata": { "label": "getUSCountiesStatus", - "description": "Get COVID-19 totals for all US counties\n\n", + "description": "Get COVID-19 totals for all US counties\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getUSCountiesStatus", - "id": "6267" + "parentSymbol": "covidClient", + "id": 758 }, "enabled": true }, { "metadata": { "label": "getUSAStatusByCounty", - "description": "Get COVID-19 totals for a specific county\n\n", + "description": "Get COVID-19 totals for a specific county\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getUSAStatusByCounty", - "id": "6267" + "parentSymbol": "covidClient", + "id": 759 }, "enabled": true }, { "metadata": { "label": "getTimeSeriesForAllCountriesAndProvinces", - "description": "Get COVID-19 time series data for all countries and their provinces\n\n", + "description": "Get COVID-19 time series data for all countries and their provinces\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTimeSeriesForAllCountriesAndProvinces", - "id": "6267" + "parentSymbol": "covidClient", + "id": 760 }, "enabled": true }, { "metadata": { "label": "getGlobalStatusInTimeSeries", - "description": "Get global accumulated COVID-19 time series data\n\n", + "description": "Get global accumulated COVID-19 time series data\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getGlobalStatusInTimeSeries", - "id": "6267" + "parentSymbol": "covidClient", + "id": 761 }, "enabled": true }, { "metadata": { "label": "getTimeSeriesBycountry", - "description": "Get COVID-19 time series data for a specific country\n\n", + "description": "Get COVID-19 time series data for a specific country\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTimeSeriesBycountry", - "id": "6267" + "parentSymbol": "covidClient", + "id": 762 }, "enabled": true }, { "metadata": { "label": "getTimeSeriesOfMultipleCountries", - "description": "Get COVID-19 time series data for a specific set of countries\n\n", + "description": "Get COVID-19 time series data for a specific set of countries\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTimeSeriesOfMultipleCountries", - "id": "6267" + "parentSymbol": "covidClient", + "id": 763 }, "enabled": true }, { "metadata": { "label": "getTimeSeriesByProvince", - "description": "Get COVID-19 time series data for a specific province in a country\n\n", + "description": "Get COVID-19 time series data for a specific province in a country\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTimeSeriesByProvince", - "id": "6267" + "parentSymbol": "covidClient", + "id": 764 }, "enabled": true }, { "metadata": { "label": "getTimeSeriesDataForMultipleProvinces", - "description": "Get COVID-19 time series data for a set of provinces in a country\n\n", + "description": "Get COVID-19 time series data for a set of provinces in a country\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTimeSeriesDataForMultipleProvinces", - "id": "6267" + "parentSymbol": "covidClient", + "id": 765 }, "enabled": true }, { "metadata": { "label": "getTimeSeriesForUSACounties", - "description": "Get all possible US States to query the /historical/usacounties/{state} endpoint with\n\n", + "description": "Get all possible US States to query the /historical/usacounties/{state} endpoint with\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTimeSeriesForUSACounties", - "id": "6267" + "parentSymbol": "covidClient", + "id": 766 }, "enabled": true }, { "metadata": { "label": "getUSACountiesDataByState", - "description": "Get COVID-19 time series data for all counties in a specified US state\n\n", + "description": "Get COVID-19 time series data for all counties in a specified US state\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getUSACountiesDataByState", - "id": "6267" + "parentSymbol": "covidClient", + "id": 767 }, "enabled": true }, { "metadata": { "label": "getTimeSeriesForAllUSAStatesNYT", - "description": "Get COVID-19 time series data for all states, with an entry for each day since the pandemic began\n\n", + "description": "Get COVID-19 time series data for all states, with an entry for each day since the pandemic began\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTimeSeriesForAllUSAStatesNYT", - "id": "6267" + "parentSymbol": "covidClient", + "id": 768 }, "enabled": true }, { "metadata": { "label": "getTimeSeriesByUSAStateNYT", - "description": "Get COVID-19 time series data for a state or set of states, with an entry for each day since the pandemic began\n\n", + "description": "Get COVID-19 time series data for a state or set of states, with an entry for each day since the pandemic began\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTimeSeriesByUSAStateNYT", - "id": "6267" + "parentSymbol": "covidClient", + "id": 769 }, "enabled": true }, { "metadata": { "label": "getTimeSeriesByUSACountyNYT", - "description": "Get COVID-19 time series data for a county or set of counties, with an entry for each day since the pandemic began\n\n", + "description": "Get COVID-19 time series data for a county or set of counties, with an entry for each day since the pandemic began\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTimeSeriesByUSACountyNYT", - "id": "6267" + "parentSymbol": "covidClient", + "id": 770 }, "enabled": true }, { "metadata": { "label": "getTimeSeriesForUSANYT", - "description": "Get COVID-19 time series data for the entire USA, with an entry for each day since the pandemic began\n\n", + "description": "Get COVID-19 time series data for the entire USA, with an entry for each day since the pandemic began\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTimeSeriesForUSANYT", - "id": "6267" + "parentSymbol": "covidClient", + "id": 771 }, "enabled": true }, { "metadata": { "label": "getAppleMobilityDataSupportedCountries", - "description": "Get a list of supported countries for Apple mobility data\n\n", + "description": "Get a list of supported countries for Apple mobility data\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getAppleMobilityDataSupportedCountries", - "id": "6267" + "parentSymbol": "covidClient", + "id": 772 }, "enabled": true }, { "metadata": { "label": "getAppleMobilityDataSupportedSubRegions", - "description": "Get a list of supported subregions for specific country in the Apple mobility data set\n\n", + "description": "Get a list of supported subregions for specific country in the Apple mobility data set\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getAppleMobilityDataSupportedSubRegions", - "id": "6267" + "parentSymbol": "covidClient", + "id": 773 }, "enabled": true }, { "metadata": { "label": "getStatusBySubRegionUsingAppleMobilotyData", - "description": "Get COVID-19 Apple mobility data for subregions of a country\n\n", + "description": "Get COVID-19 Apple mobility data for subregions of a country\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getStatusBySubRegionUsingAppleMobilotyData", - "id": "6267" + "parentSymbol": "covidClient", + "id": 774 }, "enabled": true }, { "metadata": { "label": "getGovenrmentDataSupportedCountries", - "description": "Get a list of supported countries for government specific data\n\n", + "description": "Get a list of supported countries for government specific data\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getGovenrmentDataSupportedCountries", - "id": "6267" + "parentSymbol": "covidClient", + "id": 775 }, "enabled": true }, { "metadata": { "label": "getGovernmentReportedDataByCountry", - "description": "Get COVID-19 government reported data for a specific country\n\n", + "description": "Get COVID-19 government reported data for a specific country\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getGovernmentReportedDataByCountry", - "id": "6267" + "parentSymbol": "covidClient", + "id": 776 }, "enabled": true }, { "metadata": { "label": "getVaccineTrialData", - "description": "Get vaccine trial data from RAPS (Regulatory Affairs Professional Society). Specifically published by Jeff Craven at https://www.raps.org/news-and-articles/news-articles/2020/3/covid-19-vaccine-tracker\n\n", + "description": "Get vaccine trial data from RAPS (Regulatory Affairs Professional Society). Specifically published by Jeff Craven at https://www.raps.org/news-and-articles/news-articles/2020/3/covid-19-vaccine-tracker\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getVaccineTrialData", - "id": "6267" + "parentSymbol": "covidClient", + "id": 777 }, "enabled": true }, { "metadata": { "label": "getTotalGlobalVaccineDosesAdministered", - "description": "Get total global COVID-19 vaccine doses administered. Sourced from https://covid.ourworldindata.org/\n\n", + "description": "Get total global COVID-19 vaccine doses administered. Sourced from https://covid.ourworldindata.org/\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTotalGlobalVaccineDosesAdministered", - "id": "6267" + "parentSymbol": "covidClient", + "id": 778 }, "enabled": true }, { "metadata": { "label": "getVaccineCoverageOfAllCountries", - "description": "Get COVID-19 vaccine doses administered for all countries that have reported rolling out vaccination. Sourced from https://covid.ourworldindata.org/\n\n", + "description": "Get COVID-19 vaccine doses administered for all countries that have reported rolling out vaccination. Sourced from https://covid.ourworldindata.org/\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getVaccineCoverageOfAllCountries", - "id": "6267" + "parentSymbol": "covidClient", + "id": 779 }, "enabled": true }, { "metadata": { "label": "getVaccineCoverageByCountry", - "description": "Get COVID-19 vaccine doses administered for a country that has reported vaccination rollout. Sourced from https://covid.ourworldindata.org/\n\n", + "description": "Get COVID-19 vaccine doses administered for a country that has reported vaccination rollout. Sourced from https://covid.ourworldindata.org/\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getVaccineCoverageByCountry", - "id": "6267" + "parentSymbol": "covidClient", + "id": 780 }, "enabled": true }, { "metadata": { "label": "getVaccineCoverageOfAllUSAStates", - "description": "Get COVID-19 vaccine doses administered for all states that have reported rolling out vaccination. Sourced from https://covid.ourworldindata.org/\n\n", + "description": "Get COVID-19 vaccine doses administered for all states that have reported rolling out vaccination. Sourced from https://covid.ourworldindata.org/\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getVaccineCoverageOfAllUSAStates", - "id": "6267" + "parentSymbol": "covidClient", + "id": 781 }, "enabled": true }, { "metadata": { "label": "getVaccineCoverageByUSAState", - "description": "Get COVID-19 vaccine doses administered for a state that has reported vaccination rollout. Sourced from https://covid.ourworldindata.org/\n\n", + "description": "Get COVID-19 vaccine doses administered for a state that has reported vaccination rollout. Sourced from https://covid.ourworldindata.org/\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getVaccineCoverageByUSAState", - "id": "6267" + "parentSymbol": "covidClient", + "id": 782 }, "enabled": true }, { "metadata": { "label": "getTherapeuticsTrialData", - "description": "Get therapeutics trial data from RAPS (Regulatory Affairs Professional Society). Specifically published by Jeff Craven at https://www.raps.org/news-and-articles/news-articles/2020/3/covid-19-therapeutics-tracker\n\n", + "description": "Get therapeutics trial data from RAPS (Regulatory Affairs Professional Society). Specifically published by Jeff Craven at https://www.raps.org/news-and-articles/news-articles/2020/3/covid-19-therapeutics-tracker\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getTherapeuticsTrialData", - "id": "6267" + "parentSymbol": "covidClient", + "id": 783 }, "enabled": true }, { "metadata": { "label": "getInfluenzaLikeIllnessData", - "description": "Get Influenza-like-illness data for the 2019 and 2020 outbreaks from the US Center for Disease Control\n\n", + "description": "Get Influenza-like-illness data for the 2019 and 2020 outbreaks from the US Center for Disease Control\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getInfluenzaLikeIllnessData", - "id": "6267" + "parentSymbol": "covidClient", + "id": 784 }, "enabled": true }, { "metadata": { "label": "getInfluenzaReportsByUCLA", - "description": "Get Influenza report data for the 2019 and 2020 outbreaks from the US Center for Disease Control, reported by US clinical labs\n\n", + "description": "Get Influenza report data for the 2019 and 2020 outbreaks from the US Center for Disease Control, reported by US clinical labs\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getInfluenzaReportsByUCLA", - "id": "6267" + "parentSymbol": "covidClient", + "id": 785 }, "enabled": true }, { "metadata": { "label": "getInfluenzaReportsByUSPHL", - "description": "Get Influenza report data for the 2019 and 2020 outbreaks from the US Center for Disease Control, reported by US public health labs\n\n", + "description": "Get Influenza report data for the 2019 and 2020 outbreaks from the US Center for Disease Control, reported by US public health labs\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { - "node": "ACTION_CALL", + "node": "REMOTE_ACTION_CALL", "org": "ballerinax", "module": "covid19", "object": "Client", "symbol": "getInfluenzaReportsByUSPHL", - "id": "6267" + "parentSymbol": "covidClient", + "id": 786 }, "enabled": true } @@ -635,6 +673,15 @@ "description": "Fundamental executable units in a program" }, "items": [ + { + "metadata": { + "label": "Variable" + }, + "codedata": { + "node": "VARIABLE" + }, + "enabled": true + }, { "metadata": { "label": "Assign", @@ -657,11 +704,10 @@ }, { "metadata": { - "label": "Data Mapper", - "description": "Map data from multiple variables to a record type" + "label": "Map Data" }, "codedata": { - "node": "DATA_MAPPER" + "node": "DATA_MAPPER_CALL" }, "enabled": true } @@ -726,35 +772,37 @@ }, { "metadata": { - "label": "Data", - "description": "Data nodes are used to create, read, update, delete, and transform data" + "label": "Error Handling", + "description": "Handle errors that occur during execution" }, "items": [ { "metadata": { - "label": "Assign JSON" + "label": "ErrorHandler", + "description": "Catch and handle errors" }, "codedata": { - "node": "JSON_PAYLOAD" + "node": "ERROR_HANDLER" }, "enabled": true }, { "metadata": { - "label": "Assign XML" + "label": "Fail", + "description": "Fail the execution" }, "codedata": { - "node": "XML_PAYLOAD" + "node": "FAIL" }, "enabled": true }, { "metadata": { - "label": "Assign Binary", - "description": "Assign Binary" + "label": "Panic", + "description": "Panic and stop the execution" }, "codedata": { - "node": "BINARY_DATA" + "node": "PANIC" }, "enabled": true } @@ -762,27 +810,97 @@ }, { "metadata": { - "label": "Error Handling", - "description": "Handle errors that occur during execution" + "label": "Concurrency", + "description": "Concurrency nodes" }, "items": [ { "metadata": { - "label": "Fail", - "description": "Fail the execution" + "label": "Fork", + "description": "Create parallel workers" }, "codedata": { - "node": "FAIL" + "node": "FORK" }, "enabled": true }, { "metadata": { - "label": "Panic", - "description": "Panic and stop the execution" + "label": "Parallel Flow", + "description": "Create parallel flows" }, "codedata": { - "node": "PANIC" + "node": "PARALLEL_FLOW" + }, + "enabled": true + }, + { + "metadata": { + "label": "Wait", + "description": "Wait for a set of futures to complete" + }, + "codedata": { + "node": "WAIT" + }, + "enabled": true + }, + { + "metadata": { + "label": "Lock", + "description": "Allow to access mutable states safely" + }, + "codedata": { + "node": "LOCK" + }, + "enabled": true + }, + { + "metadata": { + "label": "Start", + "description": "Execute a function or a method invocation in a new strand" + }, + "codedata": { + "node": "START" + }, + "enabled": true + }, + { + "metadata": { + "label": "Transaction", + "description": "Handle transaction." + }, + "codedata": { + "node": "TRANSACTION" + }, + "enabled": true + }, + { + "metadata": { + "label": "Commit", + "description": "Commit transaction" + }, + "codedata": { + "node": "COMMIT" + }, + "enabled": true + }, + { + "metadata": { + "label": "Rollback", + "description": "Rollback the transaction" + }, + "codedata": { + "node": "ROLLBACK" + }, + "enabled": true + }, + { + "metadata": { + "label": "Retry Block", + "description": "Retry block." + }, + "codedata": { + "node": "RETRY" }, "enabled": true }