Coder Social home page Coder Social logo

mysqluser's Introduction

Microservice

IBM Cloud Microservice Starter for Spring

Platform

Table of Contents

Summary

The IBM Cloud Microservice Starter in Java provides a starting point for creating Java microservice applications running on Spring.

To deploy this application to IBM Cloud using a toolchain click the Create Toolchain button. Create Toolchain

Requirements

Configuration

Capabilities are provided through dependencies in the pom.xml file.

Project contents

The ports are set to the defaults of 8080 for http and 8443 for https and are exposed to the CLI in the cli-config.yml file.

The project contains IBM Cloud specific files that are used to deploy the application as part of a IBM Cloud DevOps flow. The .bluemix directory contains files used to define the IBM Cloud toolchain and pipeline for your application. The manifest.yml file specifies the name of your application in IBM Cloud, the timeout value during deployment and which services to bind to.

This microservice application is configured to connect to the following services :

Credentials are either taken from the VCAP_SERVICES environment variable that IBM Cloud provides or from environment variables passed in by the config file src/main/resources/localdev-config.json.

Run

To build and run the application:

  1. mvn install
  2. java -jar ./target/microservicedemo-1.0-SNAPSHOT.jar

To run the application in Docker use the Docker file called Dockerfile. If you do not want to install Maven locally you can use Dockerfile-tools to build a container with Maven installed.

Endpoints

The application exposes the following endpoints:

The ports are set in the pom.xml file and exposed to the CLI in the cli-config.yml file.

Notices

This project was generated using:

  • generator-ibm-java v5.4.6
  • ibm-java-codegen-common v3.0.1
  • generator-ibm-service-enablement v0.7.0
  • generator-ibm-cloud-enablement v^0.8.9
  • generator-ibm-java-spring v2.1.2

mysqluser's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.