ubirch-share

shared code (should probably extracted to ubirch-scala-utils)

License

License

GroupId

GroupId

com.ubirch.storage
ArtifactId

ArtifactId

ubirch-share_2.11
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

ubirch-share
shared code (should probably extracted to ubirch-scala-utils)
Project URL

Project URL

http://ubirch.com
Project Organization

Project Organization

com.ubirch.storage
Source Code Management

Source Code Management

https://github.com/ubirch/ubirch-storage-service

Download ubirch-share_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.ubirch.storage/ubirch-share_2.11/ -->
<dependency>
    <groupId>com.ubirch.storage</groupId>
    <artifactId>ubirch-share_2.11</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.ubirch.storage/ubirch-share_2.11/
implementation 'com.ubirch.storage:ubirch-share_2.11:0.0.1'
// https://jarcasting.com/artifacts/com.ubirch.storage/ubirch-share_2.11/
implementation ("com.ubirch.storage:ubirch-share_2.11:0.0.1")
'com.ubirch.storage:ubirch-share_2.11:jar:0.0.1'
<dependency org="com.ubirch.storage" name="ubirch-share_2.11" rev="0.0.1">
  <artifact name="ubirch-share_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.ubirch.storage', module='ubirch-share_2.11', version='0.0.1')
)
libraryDependencies += "com.ubirch.storage" % "ubirch-share_2.11" % "0.0.1"
[com.ubirch.storage/ubirch-share_2.11 "0.0.1"]

Dependencies

compile (21)

Group / Artifact Type Version
org.scala-lang : scala-compiler jar 2.11.8
org.scala-lang : scala-library jar 2.11.8
com.ubirch.storage : model_2.11 jar 0.0.1
org.scala-lang.modules : scala-xml_2.11 jar 1.0.5
org.scala-lang : scala-reflect jar 2.11.8
com.typesafe.scala-logging : scala-logging_2.11 jar 3.4.0
ch.qos.logback : logback-classic jar 1.1.3
ch.qos.logback : logback-core jar 1.1.3
org.slf4j : slf4j-api jar 1.7.12
com.internetitem : logback-elasticsearch-appender jar 1.3
commons-io : commons-io jar 2.4
commons-logging : commons-logging jar 1.2
com.fasterxml.jackson.core : jackson-core jar 2.8.0
org.eclipse.paho : org.eclipse.paho.client.mqttv3 jar 1.1.0
org.json4s : json4s-core_2.11 jar 3.4.0
org.json4s : json4s-jackson_2.11 jar 3.4.0
org.json4s : json4s-ext_2.11 jar 3.4.0
org.json4s : json4s-native_2.11 jar 3.4.0
com.typesafe : config jar 1.3.0
com.ubirch.util : uuid_2.11 jar 0.1
com.ubirch.util : json_2.11 jar 0.1

test (4)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 2.2.6
com.roundeights : hasher_2.11 jar 1.2.0
uk.co.bigbeeconsultants » bee-client_2.11 jar 0.29.1
com.ubirch.util : date_2.11 jar 0.1

Project Modules

There are no modules declared in this project.

ubirch-storage-service

ubirch generic storage service

!!! project is deprecated and might be deleted at any time !!!

Scala Dependencies

client

resolvers ++= Seq(
  Resolver.sonatypeRepo("snapshots"),
  Resolver.bintrayRepo("rick-beton", "maven") // BeeClient
)
libraryDependencies ++= Seq(
  "com.ubirch.backend.storage" %% "client" % "0.0.1-SNAPSHOT"
)

core

resolvers ++= Seq(
  Resolver.sonatypeRepo("snapshots"),
  "RoundEights" at "http://maven.spikemark.net/roundeights", // Hasher
  Resolver.bintrayRepo("rick-beton", "maven") // BeeClient
)
libraryDependencies ++= Seq(
  "com.ubirch.backend.storage" %% "core" % "0.0.1-SNAPSHOT"
)

model

resolvers ++= Seq(
  Resolver.sonatypeRepo("snapshots")
)
libraryDependencies ++= Seq(
  "com.ubirch.backend.storage" %% "model" % "0.0.1-SNAPSHOT"
)

share

resolvers ++= Seq(
  Resolver.sonatypeRepo("snapshots"),
  "RoundEights" at "http://maven.spikemark.net/roundeights" // Hasher
)
libraryDependencies ++= Seq(
  "com.ubirch.backend.storage" %% "share" % "0.0.1-SNAPSHOT"
)

test-util

resolvers ++= Seq(
  Resolver.sonatypeRepo("snapshots"),
  Resolver.bintrayRepo("rick-beton", "maven") // BeeClient
)
libraryDependencies ++= Seq(
  "com.ubirch.backend.storage" %% "test-util" % "0.0.1-SNAPSHOT"
)

ubirch-share

resolvers ++= Seq(
  Resolver.sonatypeRepo("snapshots"),
  Resolver.bintrayRepo("rick-beton", "maven") // BeeClient
)
libraryDependencies ++= Seq(
  "com.ubirch.backend.storage" %% "ubirch-share" % "0.0.1-SNAPSHOT"
)

server

resolvers ++= Seq(
  Resolver.sonatypeRepo("snapshots")
)
libraryDependencies ++= Seq(
  "com.ubirch.backend.storage" %% "server" % "0.0.1-SNAPSHOT"
)

client usage

these settings have to be set:

ubirchStorageService {
  interface = "localhost"
  port = 8080
  hash {
    algorithm = sha512
  }
  elasticsearch {
    url = "http://localhost:9200"
    unminedHashesLimit = 10000
    devicemessage {
      index = "ubirch-device-data"
    }
    deviceconfig {
      index = "ubirch-device-configs"
      type = "device-config"
    }
    hashchainstore {
      index = "ubirch-chain-hash"
      type = "chain-hash"
    }
    blockchainstore {
      index = "ubirch-chain-block"
      type = "chain-block"
    }
    genesisblockchainstore {
      index = "ubirch-chain-block"
      type = "chain-genesisblock"
    }
  }
}

create docker image

./sbt server/docker
com.ubirch.storage

ubirch GmbH

Versions

Version
0.0.1