The Microsoft Bot Framework provides what you need to build and connect intelligent bots that interact naturally wherever your users are talking, from text/sms to Skype, Slack, Office 365 mail and other popular services.
Перейти к файлу
tracyboehrer 1961ccab23
Added Teams meeting start/end (#1260)
* Added Teams meeting start/end

* Switched to using OffsetDateTime instead of String for Teams meeting models

* Accept case insensitive properties in JSON

* Corrected unit test after case insensitive JSON change

* Corrected MeetingEndEventDetails superclass

* Added TeamsInfo.getMeetingInfo overload to allow optional meetingId
2021-06-25 08:39:57 -05:00
.github Add pr style linting (#1144) 2021-04-08 13:22:25 -07:00
docs/media edits for //build 2019-05-05 14:32:06 -07:00
etc [Linter] Upgrade Checkstyle plugin to 3.1.2 supporting Checkstyle version up to 8.41 (#1226) 2021-06-09 09:58:39 -05:00
libraries Added Teams meeting start/end (#1260) 2021-06-25 08:39:57 -05:00
.editorconfig Added PMD (as a linter test) to the projects. Botbuilder and Sample are skipped at present. 2019-08-12 09:56:55 -05:00
.gitignore Update pom.xml for ConversationalAI feed deploys (#849) 2020-12-04 10:17:47 -06:00
.travis.yml Test travis fix that will perform maven resource filter 2018-06-24 13:16:53 -07:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md 2021-04-14 12:22:37 -07:00
Contributing.md Adding community docs as per guidelines (#603) 2020-06-15 13:37:19 -07:00
LICENSE Initial commit 2018-01-10 15:05:15 -08:00
README.md minor readme update (#1206) 2021-05-12 11:46:36 -05:00
STATUS.md Updated STATUS (#979) 2021-02-12 11:57:59 -06:00
pom.xml [Linter] Upgrade Checkstyle plugin to 3.1.2 supporting Checkstyle version up to 8.41 (#1226) 2021-06-09 09:58:39 -05:00
settings.xml Add ossrh to settings.xml (#851) 2020-12-04 16:31:01 -06:00

README.md

Bot Framework for Java

This repository contains code for the Java version of the Microsoft Bot Framework SDK, which is part of the Microsoft Bot Framework - a comprehensive framework for building enterprise-grade conversational AI experiences.

This SDK enables developers to model conversation and build sophisticated bot applications using JavaScript. SDKs for .NET, Python and JavaScript are also available.

To get started building bots using the SDK, see the Azure Bot Service Documentation. If you are an existing user, then you can also find out what's new with Bot Framework.

For more information jump to a section below.

Build Status

Branch Description Build Status Coverage Status
Main 4.14.* Preview Builds Build Status Coverage Status

Getting Started

To get started building bots using the SDK, see the Azure Bot Service Documentation.

The Bot Framework Samples includes a rich set of samples repository.

If you want to debug an issue, would like to contribute, or understand how the Bot Builder SDK works, instructions for building and testing the SDK are below.

Prerequisites

Clone

Clone a copy of the repo:

git clone https://github.com/Microsoft/botbuilder-java.git

Change to the SDK's directory:

cd botbuilder-java

Now at the command prompt type:

mvn clean install

Build and test locally

Any IDE that can import and work with Maven projects should work. As a matter of practice we use the command line to perform Maven builds. If your IDE can be configured to defer build and run to Maven it should also work.

  • Java

    • We use the Azul JDK 8 to build and test with. While not a requirement to develop the SDK with, it is recommended as this is what Azure is using for Java 1.8. If you do install this JDK, make sure your IDE is targeting that JVM, and your path (from command line) and JAVA_HOME point to that.
  • Visual Studio Code

    • Extensions
      • Java Extension Pack by Microsoft
      • EditorConfig for VS Code by EditorConfig (Recommended)
  • IntelliJ

    • Extensions
      • Checkstyle by IDEA
    • Recommended setup
      • When importing the SDK for the first time, make sure "Auto import" is checked.

Linting rules

This project uses linting rules to enforce code standardization. These rules are specified in the file bot-checkstyle.xml with CheckStyle and are hooked to Maven's build cycle.

INFO: Since the CheckStyle and PMD plugins are hooked into the build cycle, this makes the build fail in cases where there are linting warnings in the project files. Errors will be in the file ./target/checkstyle-result.xml and ./target/pmd.xml.

CheckStyle is available in different flavours:

INFO: Be sure to configure your IDE to use the file bot-checkstyle.xml instead of the default rules.

Getting support and providing feedback

Below are the various channels that are available to you for obtaining support and providing feedback. Please pay carful attention to which channel should be used for which type of content. e.g. general "how do I..." questions should be asked on Stack Overflow, Twitter or Gitter, with GitHub issues being for feature requests and bug reports.

Github issues

Github issues should be used for bugs and feature requests.

Stack overflow

Stack Overflow is a great place for getting high-quality answers. Our support team, as well as many of our community members are already on Stack Overflow providing answers to 'how-to' questions.

Azure Support

If you issues relates to Azure Bot Service, you can take advantage of the available Azure support options.

Twitter

We use the @botframework account on twitter for announcements and members from the development team watch for tweets for @botframework.

Gitter Chat Room

The Gitter Channel provides a place where the Community can get together and collaborate.

Contributing and our code of conduct

We welcome contributions and suggestions. Please see our contributing guidelines for more information.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Reporting Security Issues

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License.