Skip to content

Commit

Permalink
initial commit of Eclipse Ditto
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch-si.com>
  • Loading branch information
thjaeckle committed Oct 6, 2017
1 parent f7afe8b commit 1b7c634
Show file tree
Hide file tree
Showing 1,914 changed files with 255,980 additions and 175 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.checkstyle
.classpath
.idea
*.iml
.project
.settings
.metadata
target/
/ditto_all_dependencies/
dependencies.txt
75 changes: 75 additions & 0 deletions 3rd-dependencies/compile.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
ch.qos.logback:logback-classic:jar:1.2.3:compile
ch.qos.logback:logback-core:jar:1.2.3:compile
com.eclipsesource.minimal-json:minimal-json:jar:0.9.4:compile
com.fasterxml.jackson.core:jackson-annotations:jar:2.8.0:compile
com.fasterxml.jackson.core:jackson-core:jar:2.8.10:compile
com.fasterxml.jackson.core:jackson-databind:jar:2.8.10:compile
com.github.jjagged:metrics-statsd:jar:1.0.0:compile
com.github.jnr:jffi:jar:1.2.14:compile
com.github.jnr:jnr-constants:jar:0.9.6:compile
com.github.jnr:jnr-ffi:jar:2.1.2:compile
com.github.jnr:jnr-x86asm:jar:1.0.2:compile
com.github.nscala-time:nscala-time_2.12:jar:2.14.0:compile
com.github.scullxbones:akka-persistence-mongo-casbah_2.12:jar:2.0.3:compile
com.github.scullxbones:akka-persistence-mongo-common_2.12:jar:2.0.3:compile
com.google.guava:guava:jar:21.0:compile
com.typesafe.akka:akka-actor_2.12:jar:2.5.4:compile
com.typesafe.akka:akka-cluster_2.12:jar:2.5.4:compile
com.typesafe.akka:akka-cluster-sharding_2.12:jar:2.5.4:compile
com.typesafe.akka:akka-cluster-tools_2.12:jar:2.5.4:compile
com.typesafe.akka:akka-distributed-data_2.12:jar:2.5.4:compile
com.typesafe.akka:akka-http_2.12:jar:10.0.10:compile
com.typesafe.akka:akka-http-core_2.12:jar:10.0.10:compile
com.typesafe.akka:akka-parsing_2.12:jar:10.0.10:compile
com.typesafe.akka:akka-persistence_2.12:jar:2.5.4:compile
com.typesafe.akka:akka-persistence-query_2.12:jar:2.5.4:compile
com.typesafe.akka:akka-protobuf_2.12:jar:2.5.4:compile
com.typesafe.akka:akka-remote_2.12:jar:2.5.4:compile
com.typesafe.akka:akka-slf4j_2.12:jar:2.5.4:compile
com.typesafe.akka:akka-stream_2.12:jar:2.5.4:compile
com.typesafe:config:jar:1.3.1:compile
com.typesafe:ssl-config-core_2.12:jar:0.2.1:compile
de.heikoseeberger:akka-sse_2.12:jar:3.0.0:compile
io.aeron:aeron-client:jar:1.2.5:compile
io.aeron:aeron-driver:jar:1.2.5:compile
io.dropwizard.metrics:metrics-core:jar:3.1.2:compile
io.dropwizard.metrics:metrics-healthchecks:jar:3.1.2:compile
io.jsonwebtoken:jjwt:jar:0.7.0:compile
io.kamon:kamon-akka-2.4_2.12:jar:0.6.6:compile
io.kamon:kamon-akka-remote-2.4_2.12:jar:0.6.6:compile
io.kamon:kamon-core_2.12:jar:0.6.7:compile
io.kamon:kamon-scala_2.12:jar:0.6.5:compile
io.kamon:kamon-statsd_2.12:jar:0.6.6:compile
io.kamon:kamon-system-metrics_2.12:jar:0.6.6:compile
io.netty:netty:jar:3.10.6.Final:compile
joda-time:joda-time:jar:2.9.4:compile
net.logstash.logback:logstash-logback-encoder:jar:4.11:compile
nl.grons:metrics-scala_2.12:jar:3.5.5_a2.4:compile
org.agrona:agrona:jar:0.9.5:compile
org.codehaus.janino:commons-compiler:jar:2.7.8:compile
org.codehaus.janino:janino:jar:2.7.8:compile
org.hdrhistogram:HdrHistogram:jar:2.1.9:compile
org.joda:joda-convert:jar:1.2:compile
org.lmdbjava:lmdbjava:jar:0.0.5:compile
org.mongodb:bson:jar:3.5.0:compile
org.mongodb:casbah_2.12:pom:3.1.1:compile
org.mongodb:casbah-commons_2.12:jar:3.1.1:compile
org.mongodb:casbah-core_2.12:jar:3.1.1:compile
org.mongodb:casbah-gridfs_2.12:jar:3.1.1:compile
org.mongodb:casbah-query_2.12:jar:3.1.1:compile
org.mongodb:mongodb-driver-async:jar:3.5.0:compile
org.mongodb:mongodb-driver-core:jar:3.5.0:compile
org.mongodb:mongodb-driver-reactivestreams:jar:1.6.0:compile
org.mongodb:mongo-java-driver:jar:3.5.0:compile
org.ow2.asm:asm:jar:5.2:compile
org.ow2.asm:asm-analysis:jar:5.2:compile
org.ow2.asm:asm-commons:jar:5.2:compile
org.ow2.asm:asm-tree:jar:5.2:compile
org.ow2.asm:asm-util:jar:5.2:compile
org.parboiled:parboiled-core:jar:1.1.8:compile
org.parboiled:parboiled-java:jar:1.1.8:compile
org.reactivestreams:reactive-streams:jar:1.0.1:compile
org.scala-lang.modules:scala-java8-compat_2.12:jar:0.8.0:compile
org.scala-lang.modules:scala-parser-combinators_2.12:jar:1.0.4:compile
org.scala-lang:scala-library:jar:2.12.3:compile
org.slf4j:slf4j-api:jar:1.7.25:compile
22 changes: 22 additions & 0 deletions 3rd-dependencies/listDeps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh
# Copyright (c) 2017 Bosch Software Innovations GmbH.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v2.0
# which accompanies this distribution, and is available at
# https://www.eclipse.org/org/documents/epl-2.0/index.php
#
# Contributors:
# Bosch Software Innovations GmbH - initial contribution
cd ..
mvn dependency:list -DexcludeGroupIds=org.eclipse.ditto -Dsort=true -DoutputFile=dependencies.txt
find . -name dependencies.txt|while read i; do cat $i;done|grep '.*:.*:compile'|sort|uniq > 3rd-dependencies/compile.txt
find . -name dependencies.txt|while read i; do cat $i;done|grep '.*:.*:test'|sort|uniq > 3rd-dependencies/test.txt
find . -name dependencies.txt|while read i; do cat $i;done|grep '.*:.*:provided'|sort|uniq > 3rd-dependencies/provided.txt
find . -name dependencies.txt|while read i; do rm $i;done
cd 3rd-dependencies/
cat compile.txt|cut -d':' -f1-4|while read i; do grep -h $i provided.txt;done|sort|uniq|while read x; do sed -i.bak -e s/$x// provided.txt ;done
sed -i.bak '/^[[:space:]]*$/d' provided.txt
cat compile.txt provided.txt|cut -d':' -f1-4|while read i; do grep -h $i test.txt;done|sort|uniq|while read x; do sed -i.bak -e s/$x// test.txt ;done
sed -i.bak '/^[[:space:]]*$/d' test.txt
rm *.bak
1 change: 1 addition & 0 deletions 3rd-dependencies/provided.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
com.google.code.findbugs:jsr305:jar:3.0.1:provided
33 changes: 33 additions & 0 deletions 3rd-dependencies/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
com.github.dnvriend:akka-persistence-inmemory_2.12:jar:2.5.1.1:test
com.github.jnr:jffi:jar:native:1.2.14:test
com.typesafe.akka:akka-http-testkit_2.12:jar:10.0.10:test
com.typesafe.akka:akka-stream-testkit_2.12:jar:2.5.4:test
com.typesafe.akka:akka-testkit_2.12:jar:2.5.4:test
commons-io:commons-io:jar:2.4:test
de.flapdoodle.embed:de.flapdoodle.embed.mongo:jar:2.0.0:test
de.flapdoodle.embed:de.flapdoodle.embed.process:jar:2.0.1:test
junit:junit:jar:4.12:test
net.bytebuddy:byte-buddy:jar:1.7.0:test
net.bytebuddy:byte-buddy-agent:jar:1.7.0:test
net.java.dev.jna:jna:jar:4.0.0:test
net.java.dev.jna:jna-platform:jar:4.0.0:test
net.sf.jopt-simple:jopt-simple:jar:4.6:test
nl.jqno.equalsverifier:equalsverifier:jar:2.3:test
org.apache.commons:commons-compress:jar:1.10:test
org.apache.commons:commons-lang3:jar:3.1:test
org.apache.commons:commons-math3:jar:3.2:test
org.assertj:assertj-core:jar:3.8.0:test
org.hamcrest:hamcrest-core:jar:1.3:test
org.json:json:jar:20090211:test
org.mockito:mockito-core:jar:2.9.0:test
org.mutabilitydetector:MutabilityDetector:jar:0.9.6:test
org.objenesis:objenesis:jar:2.6:test
org.openjdk.jmh:jmh-core:jar:1.4.1:test
org.openjdk.jmh:jmh-generator-annprocess:jar:1.4.1:test
org.scalactic:scalactic_2.12:jar:3.0.0:test
org.scala-lang.modules:scala-xml_2.12:jar:1.0.5:test
org.scala-lang:scala-reflect:jar:2.12.0:test
org.scalatest:scalatest_2.12:jar:3.0.0:test
org.scalaz:scalaz-core_2.12:jar:7.2.12:test
org.skyscreamer:jsonassert:jar:1.2.3:test
org.slf4j:slf4j-simple:jar:1.7.25:test
57 changes: 57 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# How to contribute to Eclipse Ditto

First of all, thanks for considering to contribute to Eclipse Ditto. We really appreciate the time and effort you want to
spend helping to improve things around here.

In order to get you started as fast as possible we need to go through some organizational issues first, though.

## Legal Requirements

Hono is an [Eclipse IoT](https://iot.eclipse.org) project and as such is governed by the Eclipse Development process.
This process helps us in creating great open source software within a safe legal framework.

For you as a contributor, the following preliminary steps are required in order for us to be able to accept your contribution:

* Sign the [Eclipse Foundation Contributor License Agreement](http://www.eclipse.org/legal/CLA.php).
In order to do so:
* Obtain an Eclipse Foundation user ID. Anyone who currently uses Eclipse Bugzilla or Gerrit systems already has one of those.
If you don't already have an account simply [register on the Eclipse web site](https://dev.eclipse.org/site_login/createaccount.php).
* Once you have your account, log in to the [projects portal](https://projects.eclipse.org/), select *My Account* and then the *Contributor License Agreement* tab.

* Add your GiHub username to your Eclipse Foundation account. Log in to Eclipse and go to [Edit my account](https://dev.eclipse.org/site_login/myaccount.php).

The easiest way to contribute code/patches/whatever is by creating a GitHub pull request (PR). When you do make sure that you *Sign-off* your commit records using the same email address used for your Eclipse account.

You do this by adding the `-s` flag when you make the commit(s), e.g.

$> git commit -s -m "Shave the yak some more"

You can find all the details in the [Contributing via Git](http://wiki.eclipse.org/Development_Resources/Contributing_via_Git) document on the Eclipse web site.

## Codestyle

We use the [Google Java Style Guide](https://github.com/google/styleguide) where a formatter for Eclipse IDE is available.

The only adjustment: use longer lines ("line split") with 120 characters instead of only 100.

## Making your Changes

* Fork the repository on GitHub
* Create a new branch for your changes
* Make your changes
* Make sure you include test cases for non-trivial features
* Make sure the test suite passes after your changes
* Please make sure to format your code with the above mentioned formatter
* Commit your changes into that branch
* Use descriptive and meaningful commit messages
* If you have more than one commit, squash your commits into a single commit
* Make sure you use the `-s` flag when committing as explained above
* Push your changes to your branch in your forked repository

## Submitting the Changes

Submit a pull request via the normal GitHub UI.

## After Submitting

* Do not use your branch for any other development, otherwise further changes that you make will be visible in the PR.

0 comments on commit 1b7c634

Please sign in to comment.