All Projects → watson-developer-cloud → spring-boot-starter

watson-developer-cloud / spring-boot-starter

Licence: Apache-2.0 license
Spring Boot support for Watson services

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to spring-boot-starter

assistant-with-discovery-openwhisk
DEPRECATED: this repo is no longer actively maintained
Stars: ✭ 21 (+75%)
Mutual labels:  watson, watson-conversation, watson-discovery
Node Sdk
☄️ Node.js library to access IBM Watson services.
Stars: ✭ 1,471 (+12158.33%)
Mutual labels:  ibm-watson-services, watson
ruby-sdk
♦️ Ruby SDK to use the IBM Watson services.
Stars: ✭ 45 (+275%)
Mutual labels:  ibm-watson-services, watson
watson-personality-insights-php
Framework Agnostic Watson Personality Insights Client
Stars: ✭ 13 (+8.33%)
Mutual labels:  ibm-watson-services, watson
speech-to-text-code-pattern
React app using the Watson Speech to Text service to transform voice audio into written text.
Stars: ✭ 37 (+208.33%)
Mutual labels:  ibm-watson-services, watson
Chatagram
Winning ChatBot in the IBM ChatBot competition. A ChatBot for a bank
Stars: ✭ 13 (+8.33%)
Mutual labels:  watson
hiatus-spring-boot
No description or website provided.
Stars: ✭ 23 (+91.67%)
Mutual labels:  spring-boot-starter
infinispan-spring-boot
Infinispan Spring Boot starter. Use this starter in your Spring Boot applications to help you use Infinispan+Spring integration in embedded and client/server mode
Stars: ✭ 61 (+408.33%)
Mutual labels:  spring-boot-starter
honeymon-spring-boot-starter
Simple Spring Boot Starter and Summary
Stars: ✭ 20 (+66.67%)
Mutual labels:  spring-boot-starter
redaxo watson
Suchagent für REDAXO 4.5 + 5
Stars: ✭ 28 (+133.33%)
Mutual labels:  watson
mqtt-spring-boot-starter
MQTT starter for Spring Boot, easier to use.
Stars: ✭ 48 (+300%)
Mutual labels:  spring-boot-starter
youtube-video-maker
📹 A tool for automatic video creation and uploading on YouTube
Stars: ✭ 134 (+1016.67%)
Mutual labels:  watson
IBM Covid19 Watson FR
Contenu d'entrainement d'un Bot Covid19 pour Watson Assistant en français et allemand.
Stars: ✭ 15 (+25%)
Mutual labels:  watson
sms-analysis-with-wks
Analyzing SMS offers for domain specific entities using Watson Knowledge Studio and Watson's Natural Language Understanding
Stars: ✭ 17 (+41.67%)
Mutual labels:  watson
personal-wealth-portfolio-mgt-bot
WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. This repository will be kept available in read-only mode.
Stars: ✭ 43 (+258.33%)
Mutual labels:  watson-conversation
watson-discovery-news
A Node.js web app that uses the Watson Discovery News service to query and view the latest trending news items.
Stars: ✭ 39 (+225%)
Mutual labels:  watson-discovery
watson-document-classifier
Augment IBM Watson Natural Language Understanding APIs with a configurable mechanism for text classification, uses Watson Studio.
Stars: ✭ 41 (+241.67%)
Mutual labels:  watson
neo4j-java-driver-spring-boot-starter
Automatic configuration of Neo4j's Java Driver for Spring Boot applications
Stars: ✭ 33 (+175%)
Mutual labels:  spring-boot-starter
visual-recognition-with-coreml
🕶 Classify images offline using Watson Visual Recognition and Core ML.
Stars: ✭ 40 (+233.33%)
Mutual labels:  watson
cxf-spring-boot-starter
Enterprise & production ready SOAP webservices powered by Spring Boot & Apache CXF
Stars: ✭ 129 (+975%)
Mutual labels:  spring-boot-starter

Watson Spring Boot

Build and Test Deploy and Publish Maven Central CLA assistant

Deprecated builds

Build Status

This project adds Spring Boot support for the Watson services.

This means that you can now "auto-wire" any of the Watson services into your Spring Boot application using the standard Spring autoconfiguration framework.

Usage

All you need to do is:

  1. Add the Watson watson-spring-boot-starter dependency to your Spring Boot app:

    In your maven pom.xml

    <dependency>
      <groupId>com.ibm.watson.developer_cloud</groupId>
      <artifactId>watson-spring-boot-starter</artifactId>
      <version>2.3.6</version>
    </dependency>
    

    or in your gradle build.gradle, in the dependencies stanza, add

    compile 'com.ibm.watson.developer_cloud:watson-spring-boot-starter:2.3.6'
    
  2. Add your Watson service(s) credentials and version info to your application properties file. The standard location for application properties is the src/main/resources/application.properties file, but your application might use a different location. The properties to add are:

  • watson.<service>.url: The base URL for the service. This can be omitted if your service uses the default service url

  • watson.<service>.username and watson.<service>.password OR watson.<service>.apiKey OR watson.<service>.iamApiKey: The credentials for accessing the service. The credentials can be omitted from the application properties file if they are supplied through the VCAP_SERVICES environment variable.

  • watson.<service>.versionDate: Some Watson services use a versionDate parameter to indicate the service behavior expected by the application. For services that accept it, this is a required parameter and must be specified in the application properties.

    Both Eclipse and IntelliJ (Ultimate Edition) offer autocomplete support for Spring Boot application properties and should show these properties, along with their required type and Javadoc description, in the autocomplete menu.

  1. Autowire the service into your application. Autowiring is the key mechanism of the Spring framework for injecting dependencies. It is accomplished by specifying the @Autowired annotation on the declaration for the service instance. Here's an example using the Watson Conversation service:
@Autowired
protected Conversation service;

The Spring framework takes care of the rest. Your application can now simply start using the service instance.

Open Source @ IBM

Find more open source projects on the IBM Github Page

License

This library is licensed under Apache 2.0. Full license text is available in LICENSE.

Contributing

See CONTRIBUTING.md.

Code of Conduct

See CODE_OF_CONDUCT.md.

Other

If you are having difficulties using the APIs or you have a question about the IBM Watson Services, please ask a question on dW Answers or Stack Overflow.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].