symphony-bdk-core

Symphony Java BDK Core

License

License

Categories

Categories

ORM Data
GroupId

GroupId

com.symphony.platformsolutions
ArtifactId

ArtifactId

symphony-bdk-core
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

symphony-bdk-core
Symphony Java BDK Core
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-core

Dependencies

compile (5)

Group / Artifact Type Version
com.symphony.platformsolutions : symphony-bdk-http-api jar 2.0.0
com.symphony.platformsolutions : symphony-bdk-template-api jar 2.0.0
org.apiguardian : apiguardian-api jar
com.fasterxml.jackson.core : jackson-databind jar
com.fasterxml.jackson.dataformat : jackson-dataformat-yaml jar

runtime (11)

Group / Artifact Type Version
org.mapstruct : mapstruct jar 1.3.1.Final
org.slf4j : slf4j-api jar
commons-io : commons-io jar
org.apache.commons : commons-lang3 jar
com.brsanthu : migbase64 jar
io.jsonwebtoken : jjwt jar
org.bouncycastle : bcpkix-jdk15on jar
io.github.resilience4j : resilience4j-retry jar
io.swagger : swagger-annotations jar
com.google.code.findbugs : jsr305 jar
org.glassfish.jersey.core : jersey-client jar

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
2.0.0
2.0.0.RC1
1.6.0.BETA
1.5.1.BETA
1.5.0.BETA
1.4.0.BETA
1.3.2.BETA
1.3.1.BETA
1.3.0.BETA
1.2.1.BETA