GithubHelp home page GithubHelp logo

ballerina-attic / composer Goto Github PK

View Code? Open in Web Editor NEW
25.0 43.0 64.0 81.56 MB

The Ballerina Composer provides a flexible and powerful browser-based tool for creating your Ballerina programs.

Home Page: https://ballerinalang.org/

License: Other

Java 6.58% CSS 13.78% HTML 0.67% JavaScript 51.06% Shell 0.10% Batchfile 0.10% GAP 0.17% Ballerina 27.55%

composer's Introduction

Ballerina Composer

This repository is no longer used for development. Current developments are done in following repository.

https://github.com/ballerina-lang/ballerina

Build Status
The Ballerina Composer provides a flexible and powerful browser-based tool for creating your Ballerina programs. You can build your integrations by creating sequence diagrams, dragging elements from a tool palette onto a canvas. As you build the diagrams, the underlying code is written for you, which you can work with in the Source view. You can also use the Swagger view of a Service and writing Swagger definitions. You can switch seamlessly between the Design view, Source view and create your programs in the way that you like to work.

You can create your integration in Design view:

alt text

And go to Source view to edit the code that's generated:

alt text

See Design and Source view at the same time:

alt text

You can also go to Swagger view through the heading of a Service's Design View to edit the Swagger definition that's generated:

alt text

Running the Composer

The Composer is included in the full distribution of Ballerina Tools Distribution, which you can download from www.ballerinalang.org. After you unzip it, navigate to its /bin directory in the command line, and enter the following command:

For Windows

composer.bat

For Unix/Linux

./composer

The command line will display the URL you can use to access the Composer in your browser.

How to build

The build process of the composer works on Maven and Node Package Manager(npm).

Prerequisites

  • JDK 1.8.0
  • NodeJS (Version 8.x or later, 8.9.1 LTS Recommended)
  • Maven 3.0.5

Steps to build

  1. Clone(git clone) and build the ballerinalang/composer project using mvn clean install.
  2. Clone(git clone) and build ballerinalang/tools-distribution project using mvn clean install. Find the distribution in tools-distribution/modules/ballerina-tools/target folder.

Developement commands on web module(<BALLERINA_COMPOSER>/modules/web)

  • npm install - Installs all npm dependencies.
  • npm run clean - Deletes the /dist(distribution folder) in the web module.
  • npm run build or npm run webpack - To build the web module.
  • npm run dev - To start development server with hot deployment. Go to http://localhost:8080 or http://127.0.0.1:8080 afterwards.
  • npm run test - Executes tests. The tests requires the composer service to run.
  • npm run lint - Run eslint on the code to find potential problems in the code.

Browser Compatibility

For now the Composer supports only following browsers.

  • Google Chrome ( v49 and above )
  • Mozilla Firefox ( v50 and above )
  • Safari (10.1 and above)
  • Edge

composer's People

Contributors

akalankapagoda avatar ballerina-bot avatar chanaka3d avatar dakshika avatar dnwick avatar erangatl avatar hasithaa avatar hemikak avatar hevayo avatar jeradrutnam avatar kaviththiranga avatar keizer619 avatar lankavitharana avatar maheeka avatar malinthaadikari avatar manuranga avatar nadeeshaan avatar natashawso2 avatar nipunamarcus avatar pahans avatar rasika avatar roonyh avatar sameerajayasoma avatar sanjeewa-malalgoda avatar sinthuja avatar sohaniwso2 avatar srsharon avatar sumuditha-viraj avatar tanyam avatar this avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.