Giter VIP home page Giter VIP logo

musicdin / kumuluzee-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kumuluz/kumuluzee-samples

1.0 1.0 1.0 1.28 MB

KumuluzEE samples demonstrate how to get started using KumuluzEE microservice framework. They provide small, specific, working samples that can be used as a reference for your own projects.

Home Page: https://ee.kumuluz.com

License: Other

Java 97.18% HTML 1.05% JavaScript 0.25% Dockerfile 0.24% Solidity 1.27%

kumuluzee-samples's Introduction

KumuluzEE Samples

These samples demonstrate how to get started using KumuluzEE microservice framework. They provide small, specific, working samples that can be used as a reference for your own projects.

These samples and quickstarts contain several working projects that demonstrate how to use KumuluzEE microservices. They also serve as test projects for the framework itself.

We recommend that you go through some of these samples to get a better understanding of the framework and use them as a reference for your own projects.

Keep in mind that while projects containing multiple microservices are located in the same repository in order to simplify things, is is often recommended that you separate microservices by repository as well.

Samples will be constantly added over time.

About

The samples demonstrate many different use cases for using KumuluzEE to create self-sustaining microservices. The latest version of the samples will always use the latest version of the KumuluzEE framework. Therefore, it is recommended to use the latest version of the KumuluzEE framework for these samples. This way, you will also get all the latest features of the KumuluzEE. Refer to the usage section on how to build and run the samples.

Some samples are tagged as well. The tags (eg. v3.2.0) will correspond to the KumuluzEE release version in order to easily access the desired version of the framework that is used in the examples. Tha master branch will always use the latest snapshot version of the framework and the latest samples.

If you wish to use a snapshot version of KumuluzEE when running the samples, you must make sure you add the Sonatype snapshots repository to your pom.xml. The master branch already contains the repository as it's targeted against the snapshot version of the framework.

<repositories>
    <repository>
        <id>sonatype-snapshots</id>
        <name>Sonatype Snapshots</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <releases><enabled>false</enabled></releases>
        <snapshots><enabled>true</enabled></snapshots>
    </repository>
</repositories>

The following samples are available (list might not be up-to-date; please refer to the actual list above):

Tutorial:

  • Simple microservice tutorial (microservices-simple)
  • Cloud-native Java EE Microservices with KumuluzEE: REST service using config, discovery, security, metrics, logging and fault tolerance (tutorial-microservice-config-discovery-faulttolerance-logs-metrics-security)

Java EE samples:

  • Bean Validation
  • JAX-RS
  • JAX-WS
  • JPA and CDI
  • JSF
  • JSP and Servlet
  • Servlet
  • Websocket
  • REST service over HTTPS
  • Logging with JUL and KumuluzEE

KumuluzEE extensions - samples:

  • KumuluzEE Config
  • KumuluzEE Config with etcd
  • KumuluzEE Config with Consul
  • KumuluzEE MicroProfile Config
  • KumuluzEE Discovery with etcd
  • KumuluzEE Discovery with Consul
  • KumuluzEE Logs with Log4j2
  • KumuluzEE Logs with JUL
  • KumuluzEE REST
  • KumuluzEE Security with Keycloak for REST services
  • KumuluzEE Security with Keycloak for CDI
  • KumuluzEE Fault Tolerance
  • KumuluzEE Event Streaming with Kafka
  • KumuluzEE Cors
  • KumuluzEE Metrics
  • KumuluzEE Health
  • KumuluzEE AMQP
  • KumuluzEE Ethereum
  • KumuluzEE GraphQL
  • KumuluzEE gRPC
  • KumuluzEE OpenAPI
  • KumuluzEE OpenAPI MicroProfile
  • KumuluzEE Swagger
  • KumuluzEE OpenTracing
  • KumuluzEE Reactive
  • KumuluzEE Rest Client

Requirements

In order to run these examples as they are intended, you will need the following:

  1. Java 8 (or newer), you can use any implementation:

    • If you have installed Java, you can check the version by typing the following in a command line:

      java -version
      
  2. Maven 3.2.1 (or newer):

    • If you have installed Maven, you can check the version by typing the following in a command line:

      mvn -version
      
  3. Git:

    • If you have installed Git, you can check the version by typing the following in a command line:

      git --version
      

Usage

  1. Clone the Git repository containing the examples:

    git clone [email protected]:kumuluz/kumuluzee-samples.git
    
  2. Checkout the desired tagged version of the examples and the KumuluzEE framework (alternatively skip this step if you want the latest and greatest)

    cd kumuluzee-samples
    git checkout v3.2.0
    

To run a specific sample, please refer to the specific README file of the sample. Most of the time you either build and run it directly with a maven command or build Docker containers and run them.

Changelog

Recent changes can be viewed on Github on the Releases Page

Contribute

See the contributing docs

When submitting an issue, please follow the guidelines.

Issues related to KumuluzEE itself should be submitted at https://github.com/kumuluz/kumuluzee/issues.

License

MIT

kumuluzee-samples's People

Contributors

jmezna avatar osbeorn avatar urbim avatar mbjuric avatar cen1 avatar skrjanec avatar zvoneg avatar zvonegit avatar povserok avatar blazmrak avatar klemenkobau avatar evader1337 avatar musicdin avatar domengasperlin avatar matijaklj avatar tfaga avatar gpor0 avatar primozh avatar domenjeric avatar lukasarc avatar aljazb avatar matejklemen avatar robertbarachini avatar dependabot[bot] avatar zanozbot avatar

Stargazers

Loester Franco avatar

Watchers

James Cloos avatar

Forkers

loesterfranco

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.