- Notifications
You must be signed in to change notification settings - Fork0
Ballerina Connector Quickstart
License
NotificationsYou must be signed in to change notification settings
ldclakmal/ballerina-connector-quickstart
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a sample Ballerina connector for demonstration purpose.
| Version | |
|---|---|
| Ballerina Language | Swan Lake Beta 3 |
| Java Development Kit (JDK) | 11 |
- Refer to theSetting up Ballerina guide to download and install Ballerina.
- Clone theballerina-connector-quickstart GitHub repository.
- Move inside to
ballerina-connector-quickstart/connectordirectory and execute$ bal build connector. It should compile the source, run the tests and generates the executable as follows:
Compilingsource ldclakmal/connector:1.0.0Running Tests connector [pass] testMax 1 passing 0 failing 0 skippedGenerating executable target/bin/connector.jarImport theldclakmal/connector module into your Ballerina project and check the usage of samplemax function.
importballerina/io;importldclakmal/connector;publicfunction main() {int maxNo=connector:max(2,10);io:println(maxNo);}
About
Ballerina Connector Quickstart
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published