-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APP-3060 Documentation revamping, getting started #222
Changes from 1 commit
50b5627
5e69ec9
ce2c031
f230fbc
3439689
0ec5cce
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Symphony Java BDK | ||
# Symphony BDK Java | ||
[![CircleCI](https://circleci.com/gh/SymphonyPlatformSolutions/symphony-api-client-java.svg?style=shield)](https://circleci.com/gh/SymphonyPlatformSolutions/symphony-api-client-java) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/SymphonyPlatformSolutions/symphony-api-client-java/badge.svg)](https://snyk.io/test/github/SymphonyPlatformSolutions/symphony-api-client-java) | ||
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.symphony.platformsolutions/symphony-api-client-java/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.symphony.platformsolutions/symphony-api-client-java) | ||
|
@@ -9,33 +9,29 @@ The Symphony Java BDK helps you to create Bots and Applications on top of the [S | |
|
||
Documentation about BDK features and usage is available under [docs](./docs/index.md) folder. | ||
|
||
## How to Build | ||
## Build from Source | ||
The Symphony BDK uses a Maven [build](https://maven.apache.org/) build. The instructions below use the [Maven Wrapper](https://github.com/takari/maven-wrapper) | ||
from the root of the source treen. The wrapper script serves as a cross-platform, self-contained bootstrap mechanism for | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. treen -> tree There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed |
||
the build system. | ||
|
||
As this project contains modules for the legacy SDK/BDK as well as for the 2.0 ones, some | ||
Maven are defined to make the build faster depending on which version you are working on. | ||
|
||
The BDK can be built and published to your local Maven cache using the [Maven Wrapper](https://github.com/takari/maven-wrapper). | ||
|
||
**Build Legacy Modules** | ||
|
||
The `legacy` profile is activated by default so there is no specific argument to define to have | ||
it part of the build. However, it is also possible to skip legacy modules to be built using argument `-P -legacy`: | ||
### Before you start | ||
To build you will need [Git](https://docs.github.com/en/github/getting-started-with-github/set-up-git) and [JDK 8 or later](https://adoptopenjdk.net/). | ||
Be sure that your `JAVA_HOME` environment variable points to the `jdk1.8+` folder extracted from the JDK download. | ||
|
||
### Get the source | ||
```shell script | ||
# build the legacy modules | ||
./mvnw clean install | ||
|
||
# skip building legacy modules | ||
./mvnw clean install -P -legacy | ||
git clone git@github.com:SymphonyPlatformSolutions/symphony-api-client-java.git | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is that necessary (because Github is already giving you that)? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, removed |
||
cd symphony-api-client-java | ||
``` | ||
|
||
**Build BDK 2.0 Modules** | ||
|
||
Still in construction, the 2.0 modules are deactivated by default but can be activated through the Maven profile `2.0` : | ||
|
||
### Build from the Command Line | ||
To compile, test and build all jars, use: | ||
```shell script | ||
# build the 2.0 modules only, skip the legacy ones | ||
./mvnw clean install -P2.0,-legacy | ||
./mvnw clean package | ||
``` | ||
### Install in local Maven repository | ||
To install all Symphony BDK jars in your local Maven repository, use: | ||
```shell script | ||
./mvnw clean install | ||
``` | ||
|
||
## License | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,6 @@ public class Example { | |
} | ||
|
||
``` | ||
|
||
---- | ||
[Home :house:](./index.md) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Getting Started with Symphony BDK for Java | ||
|
||
This getting guide provides detailed information for beginners that want to bootstrap their first Symphony BDK project | ||
in Java either from scratch or by using | ||
|
||
---- | ||
[Home :house:](./index.md) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
# Symphony BDK Reference Documentation | ||
# Symphony BDK Reference Documentation | ||
|
||
This reference guide provides detailed information about the Symphony BDK. It provides comprehensive | ||
documentation for all features and abstractions made on top of the [Symphony REST API](https://developers.symphony.com/restapi/reference). | ||
|
||
If you are just getting started with Symphony Bot developments, you may want to begin reading the | ||
[Getting Started](./getting-started.md) guide. | ||
|
||
The reference documentation consists of the following sections: | ||
|
||
| Section | Description | | ||
|-------------------------------------------|:---------------------------------------------------------------------:| | ||
| [Getting Started](./getting-started.md) | Introducing Symphony BDK for beginners | | ||
| [Configuration](./configuration.md) | Configuration structure, formats, how to load from code | | ||
| [Authentication](./authentication.md) | RSA or certificate authentication, OBO, extension app authentication | | ||
| [Fluent API](fluent-api.md) | Java Fluent API usage | | ||
| [Message API](message.md) | Sending or searching messages, usage of templates | | ||
| [Activity API](activity-api.md) | The Activity Registry, creating custom activities | | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build is written twice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed 👍