GithubHelp home page GithubHelp logo

signalk / signalk-core-java Goto Github PK

View Code? Open in Web Editor NEW
3.0 12.0 8.0 13.37 MB

Signalk core functionality. DEPRECATED - see https://github.com/SignalK/signalk-java

License: Apache License 2.0

Java 100.00%

signalk-core-java's Introduction

signalk-core-java

Signalk core

DEPRECATED: Replced by https://github.com/SignalK/artemis-server __ See https://github.com/SignalK/signalk-java for installation of the artemis-server__

This project contains the major SignalK related functionality from the Signalk-server-java project without the reliance on Apache Camel and the servers network IO capabilities. It should make reuse of the core functionality easier in other projects.

This project was ripped from the server project with minimal thought to the ideal api etc due to my time constraints. There is currently a lot of legacy method names and patterns that suited the server, and the code is fairly rough as a result. It needs refactoring and work to make it better. Pull requests with improvements are welcome.

Using

The project is not in any public maven repository yet but is available from jitpack.io.

For dev you will have to build the project locally on your dev system, and do a maven install to install into your local m2 repository.

Then add the following to the pom of your project.

<!--<properties>-->
<signalk.core.version>0.0.1-SNAPSHOT</signalk.core.version>

<!-- <dependencies>-->
    <dependency>
			<groupId>nz.co.fortytwo.signalk.core</groupId>
			<artifactId>signalk-core-java</artifactId>
			<version>${signalk.core.version}</version>
		</dependency>

Alternatively you can take the jar file from target/ and include manually in your project.

Development

The project is a typical maven/eclipse java project. Clone the repository, import into eclipse and go.

signalk-core-java's People

Contributors

jboynes avatar raffmont avatar rberliner avatar rob42 avatar sbender9 avatar westsail42 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

signalk-core-java's Issues

Not implemented function

Dear Guys,

we are developing the future for sailboats. With vYacht as an N2K gateway we read and write the boat bus. Bernd is on board ;-)

For data exchanging signalk would be perfekt: Is the project sill active cause there is no commit since nealy one year?

Do you know, that there is at leas one unimplemented method without throwing a NotImplementedException.
JsonSerializer.java parseJsonDelta(...

Best,
Martin

GPL code mixed in Tuple2f and SGImplify?

The following comment implies there may be GPL code mixed in these files:

/*
 * ...
 * Copied from http://screamyguy.net/Tuple/, under GPL licence as stated on the site
 * Modified to handle GPX by R T Huitema 2013 for Freeboard
 */

If true this could cause GPL to apply to the whole distribution. The link is also now dead so its hard to verify the original license terms. To remove that ambiguity I propose to re-implement the decimation function from the original algorithm as I can't find an Apache licensed version out there.

Other vessels (AIS) mmsi value is not spec compliant.

In vessels.self I get "mssi": "1234567"

In other vessels I get a stringValue:

      "mmsi": {
        "$source": "$source", 
        "timestamp": "1969-12-31T23:59:59.999Z", 
        "value": "368992000", 
        "values": {
          "$source": {
            "$source": "$source", 
            "timestamp": "1969-12-31T23:59:59.999Z", 
            "value": "368992000"
          }
        }
      }, 

Set up distribution of core jar via a public Maven repository

The jar produced by this should be downloadable from a Maven repository so that is can be used by other SignalK/Java projects. Currently this project must be built locally before it can be used e.g. by signalk-server-java.

Suggested locations would be jCenter or Sonatype's OSS repo. Both need configuration by an authorized user, typically a collaborator on the project. Once write access to the repository is set up, deployment can happen automatically at the end of the Travis CI build.

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.