generator-jhipster-spring-cloud-stream

1.0.0 • Public • Published

generator-jhipster-spring-cloud-stream

NPM version Build Status Dependency Status

JHipster module for messaging microservices with Spring Cloud Stream

Introduction

This is a JHipster module, that is meant to be used in a JHipster application.

Prerequisites

As this is a JHipster module, we expect you have JHipster and its related tools already installed:

Installation

With NPM

To install this module:

npm install -g generator-jhipster-spring-cloud-stream

To update this module:

npm update -g generator-jhipster-spring-cloud-stream

With Yarn

To install this module:

yarn global add generator-jhipster-spring-cloud-stream

To update this module:

yarn global upgrade generator-jhipster-spring-cloud-stream

Usage

In your JHipster project, launch:

yo jhipster-spring-cloud-stream

This module will:

  • add new dependencies: spring-cloud-stream-dependencies
  • add configuration to your application-dev.yml and application-prod.yml
  • add a new endpoint, so you can get and send messages
  • a new docker-compose file: rabbitmq.yml

Don't forget to start your RabbitMQ with:

docker-compose -f src/main/docker/rabbitmq.yml up -d

Then, start your project, go to Swagger UI and test the endpoint.

License

Apache-2.0 © Pascal Grimaud and the respective JHipster contributors

Package Sidebar

Install

npm i generator-jhipster-spring-cloud-stream

Weekly Downloads

6

Version

1.0.0

License

Apache-2.0

Unpacked Size

48.8 kB

Total Files

10

Last publish

Collaborators

  • pascalgrimaud