Code Monkey home page Code Monkey logo

cumulocity-clients-java's Introduction

Cumulocity Clients Java

This repository contains [Cumulocity] 1 client libraries for Java. For more information on [Cumulocity] 1 visit [http://www.cumulocity.com] 1.

Access to [Cumulocity] 1 [Maven repository] 2 is required to build the code.

Building with Maven

Please add [Cumulocity] 1 [Maven repository] 2 to Your settings.xml like this:

<settings>
  <activeProfiles>
    <activeProfile>cumulocity</activeProfile>
  </activeProfiles>

  <profiles>
    <profile>
      <id>cumulocity</id>
      <repositories>
        <repository>
          <id>cumulocity-maven-repo</id>
          <url>https://resources.cumulocity.com/maven/repository</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>cumulocity-plugins-repo</id>
          <url>https://resources.cumulocity.com/maven/repository</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
</settings>

Backporting

A github actions plugin for backporting was introduced. You can inspect it in .github/workflows/auto-backport.yml. It will automatically prepare Pull Requests to specified branches, when the original Pull Request will be merged.

To do a backport add auto-backport label in your Pull Request. Second, you need a target branches, each specified with auto-backport-to-<branch_name>. For example to backport to branch release/r0000.0.0 you have to add a label auto-backport-to-release/r0000.0.0.

Backporting can be also done without github actions. See documentation for the tool itself: https://github.com/sqren/backport

cumulocity-clients-java's People

Contributors

509132 avatar agajjojmpojk avatar ashhsag93 avatar atulpandasag avatar c8y-kh4mell avatar d-mariak avatar deepakgoenka avatar dependabot[bot] avatar dkac-impaq avatar gapa-c8y avatar georgi-huklev avatar ikorolev-c8y avatar jaro-herod avatar jkot-softwareag avatar karolkaczmarski-sag avatar khoinguyenc8y avatar lpiasecki86 avatar manasesjesus avatar oezge-akin avatar pawelkowalczyksag avatar robertsquire avatar rzeznik avatar sag-eweingaertner avatar sag-jher avatar sag-khn avatar sag-tjegorow avatar slc-softwareag avatar tyrmanuz avatar wtrzcinski avatar zocimek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cumulocity-clients-java's Issues

Problem with com.cumulocity.rest.representation.alarm.AlarmRepresentation

We updated to Version Cumulocity SDK Version 1015.77.0.
There was a change in the AlarmRepresentation-Class. It calls super for the equals and hashcode methode now. In our old version it does not call super for equals and hashcode.
The parent class has an attribute of Type ManagedObjectRepresentation. Because of super call of hashcode and equals and the equals and hashcode implementation of the super class(EventRepresentation) the equals and hashcode methode of the ManagedObjectRepresentation class is called. The ManagedObjectRepresentation class does not implement equals and hashcode. The two compared ManagedObjectRepresentation classes have the same id, but they have not the same address in memory. The equals and hashcode method is not implemented and so the result of equals methode is false and so the two Alarmrepresentation Objects are also unequal. Why does the ManagedObjectRepresentation-Class not implement the equals and hashcode methode???

Topics

Hi,

can you please add the topic 'client' or 'cumulocity-client' to your repo?

This is needed to get an overview about all open-source Cumulocity IoT Repos and make them visible on prominent pages.

Repositories should use https instead of http, otherwise they are blocked

Maven blocks access to repositories using http in its setting.xml

     <mirror>
      <id>maven-default-http-blocker</id>
      <mirrorOf>external:http:*</mirrorOf>
      <name>Pseudo repository to mirror external repositories initially using HTTP.</name>
      <url>http://0.0.0.0/</url>
      <blocked>true</blocked>
    </mirror>

so the repositories referenced in the README.md should be configured using https:

<settings>
  <activeProfiles>
    <activeProfile>cumulocity</activeProfile>
  </activeProfiles>

  <profiles>
    <profile>
      <id>cumulocity</id>
      <repositories>
        <repository>
          <id>cumulocity-maven-repo</id>
          <url>https://resources.cumulocity.com/maven/repository</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>cumulocity-plugins-repo</id>
          <url>https://resources.cumulocity.com/maven/repository</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
</settings>

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.