Coder Social home page Coder Social logo

softwareag / cumulocity-clients-java Goto Github PK

View Code? Open in Web Editor NEW
8.0 7.0 6.0 35.21 MB

This repository contains Cumulocity client libraries for Java. This is a read-only mirror

Java 99.05% Dockerfile 0.01% Shell 0.94%
cumulocity-iot iot-analytics cumulocity-client java client

cumulocity-clients-java's Issues

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.

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???

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.