Symphony Java BDK Project

Symphony Java BDK Parent

License

License

Categories

Categories

Java Languages ORM Data
GroupId

GroupId

com.symphony.platformsolutions
ArtifactId

ArtifactId

symphony-bdk-java
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

pom
Description

Description

Symphony Java BDK Project
Symphony Java BDK Parent
Project URL

Project URL

https://github.com/SymphonyPlatformSolutions/symphony-api-client-java
Source Code Management

Source Code Management

https://github.com/SymphonyPlatformSolutions/symphony-api-client-java

Download symphony-bdk-java

How to add to project

<!-- https://jarcasting.com/artifacts/com.symphony.platformsolutions/symphony-bdk-java/ -->
<dependency>
    <groupId>com.symphony.platformsolutions</groupId>
    <artifactId>symphony-bdk-java</artifactId>
    <version>1.2.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.symphony.platformsolutions/symphony-bdk-java/
implementation 'com.symphony.platformsolutions:symphony-bdk-java:1.2.0'
// https://jarcasting.com/artifacts/com.symphony.platformsolutions/symphony-bdk-java/
implementation ("com.symphony.platformsolutions:symphony-bdk-java:1.2.0")
'com.symphony.platformsolutions:symphony-bdk-java:pom:1.2.0'
<dependency org="com.symphony.platformsolutions" name="symphony-bdk-java" rev="1.2.0">
  <artifact name="symphony-bdk-java" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.symphony.platformsolutions', module='symphony-bdk-java', version='1.2.0')
)
libraryDependencies += "com.symphony.platformsolutions" % "symphony-bdk-java" % "1.2.0"
[com.symphony.platformsolutions/symphony-bdk-java "1.2.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Symphony BDK for Java

CircleCI Known Vulnerabilities Maven Central javadoc License: MIT Email

The Symphony BDK for Java helps you to create production-grade Chat Bots and Extension Applications on top of the Symphony REST APIs.

Installation and Getting Started

The reference documentation includes detailed installation instructions as well as a comprehensive getting started guide.

Here is a quick teaser of a complete Symphony BDK application in Java:

public class BotApplication {
    
    public static void main(String[] args) {
      
        final SymphonyBdk bdk = new SymphonyBdk(BdkConfigLoader.loadFromSymphonyDir("config.yaml"));
      
        bdk.activities().register(slash("/hello", context -> {
            bdk.messages().send(context.getStreamId(), "<messageML>Hello, World!</messageML>");
        }));
        
        bdk.datafeed().start();
    }
}

Build from Source

The Symphony BDK uses a Gradle build. The instructions below use the Gradle Wrapper from the root of the source tree. The wrapper script serves as a cross-platform, self-contained bootstrap mechanism for the build system.

Before you start

To build you will need Git and JDK 8 or later. Be sure that your JAVA_HOME environment variable points to the jdk1.8+ folder extracted from the JDK download.

Build from the Command Line

To compile, test and build all BDK2.0 jars, use:

./gradlew

To compile, test and build legacy jars:

cd symphony-bdk-legacy
./gradlew

Install in local Maven repository

To install all Symphony BDK jars in your local Maven repository, use:

./gradlew publishToMavenLocal

License

The Symphony BDK is Open Source software released under the MIT License.

com.symphony.platformsolutions

Symphony Platform Solutions

Symphony supported software client, bots, apps, and examples.

Versions

Version
1.2.0