Code Monkey home page Code Monkey logo

cumulocity-microservice-templates's Introduction

cumulocity-microservice-templates

Summary

Collection of templates / examples to give the developer a starting point how common features can be implemented in a Microservice by using Cumulocity's Microservice SDK for Java.

Templates & Examples

  • basic

    • how to communicate with Cumulocity's REST API
    • how to implement REST endpoints, e.g. GET or POST
    • how to implement a scheduler
    • how to work with different contexts
  • agent

    • how to create an agent representation for your Microservice
    • how to subscribe and receive configuration updates for your Microservice
    • how to write events
    • how to create measurement for microservice diagnostic (total, used and free memory)
  • realtime

    • how to subscribe and listen for realtime notifications
    • how to get notified once a managedObject is being updated
    • how to get notified once a new measurement has been created for a device
    • how to receive operations and update their status
  • secret

    • how to use tenant options
    • how to encrypt data and store it as a tenant option
  • ehcache

    • how to use ehcache to implement a caching mechanism for External Ids and managedObjects
  • multischeduler

    • how to start a separate scheduler thread for each tenant to run tasks in parallel.
  • metrics

    • how to use the Micrometer Framework with custom metrics to enable fine grainular monitoring of a microservice and its custom business logic.
  • interprocess communication - IPC

    • how to implement a interprocess communication between microservices based on REST. The solution is using a declarative REST client (Feign Spring Cloud) to call another microservice.
  • context

    • how to use user & tenant context in microservices.

Disclaimer

These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.

Contact

For more information you can Ask a Question in the TECHcommunity Forums.

You can find additional information in the Software AG TECHcommunity.


Contact us at TECHcommunity if you have any questions.

cumulocity-microservice-templates's People

Contributors

pestusatsag avatar cguether avatar switschel avatar haraldmeyer avatar techcommunity avatar ksbn7 avatar mvoigt-sag 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.