Skip to content

Commit

Permalink
Merge branch 'feature/evcs_ocppserver' of https://github.com/OpenEMS/…
Browse files Browse the repository at this point in the history
…openems into feature/evcs_ocppserver

* 'feature/evcs_ocppserver' of https://github.com/OpenEMS/openems: (55 commits)
  Start development of version 2020.2.0-SNAPSHOT
  Push version to 2020.1.0
  UI: General Adjustments (#1029)
  Add no of cycles option to influxdb module. (#1028)
  OneWire.Thermometer: remove unnecessary event handler property
  Update bndrun files
  Fix setting Session-ID from Odoo
  Improve error handling for JSON-RPC Error Response
  Update UI dependencies
  Start development of 2019.19.0-SNAPSHOT
  Push version to 2019.18.0
  Add 'resolution' to QueryHistoricTimeseriesDataRequest
  Resolve BackendApp.bndrun
  Update UI dependencies
  Add Controllers for Predictive Delay Charge and ESS Sell-To-Grid Limit (for 70 % restriction) (#911)
  UI: improvements to formly and history SoC chart (#1027)
  Add Schneider Acti9 Smartlink Electricity Meter (#1014)
  Repair Checkstyle XML definition
  Add Thermometer-API, OneWire bridge and OneWire-Thermometer implementation (#891)
  Update Java dependencies #1023 #1021 #1015
  ...
  • Loading branch information
sebastianasen committed Jan 8, 2020
2 parents 3e86ec3 + 8210c15 commit 560a306
Show file tree
Hide file tree
Showing 1,109 changed files with 117,163 additions and 22,260 deletions.
Binary file modified .gradle-wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion .gradle-wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ OpenEMS is funded by several federal and EU funding projects. If you are a devel
* OpenEMS Edge
* OpenEMS Backend

Copyright (C) 2016-2019 FENECON GmbH.
Copyright (C) 2016-2020 FENECON GmbH.

This product includes software developed at FENECON GmbH: you can
redistribute it and/or modify it under the terms of the [Eclipse Public License version 2.0](LICENSE-EPL-2.0).

* OpenEMS UI

Copyright (C) 2016-2019 FENECON GmbH.
Copyright (C) 2016-2020 FENECON GmbH.

This product includes software developed at FENECON GmbH: you can
redistribute it and/or modify it under the terms of the [GNU Affero General Public License version 3](LICENSE-AGPL-3.0).
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// Available to customize the build

plugins {
id "com.github.node-gradle.node" version "1.3.0"
id "org.ajoberstar.reckon" version "0.9.0"
}

wrapper {
jarFile = rootProject.file('.gradle-wrapper/gradle-wrapper.jar')
tasks.named('wrapper') {
jarFile = rootProject.file('.gradle-wrapper/gradle-wrapper.jar')
}

reckon {
Expand Down
3 changes: 2 additions & 1 deletion cnf/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/cache/
local/index.*
release/index.*
release/index.*
templates/index.*
142 changes: 80 additions & 62 deletions cnf/build.bnd
Original file line number Diff line number Diff line change
@@ -1,72 +1,90 @@
buildpath: osgi.enroute.base.api;version=2.1
testpath:\
osgi.enroute.junit.wrapper;version=4.12,\
osgi.enroute.hamcrest.wrapper;version=1.3

-plugin.9x.enroute.distro = \
# Configure Repositories
-plugin.1.R7.API: \
aQute.bnd.repository.maven.pom.provider.BndPomRepository; \
releaseUrls=https://repo1.maven.org/maven2/; \
revision=org.osgi:osgi.enroute.pom.distro:2.1.0; \
name=Distro; \
location=${build}/cache/enroute-distro.xml

-runblacklist.enroute: \
osgi.identity;filter:='(osgi.identity=osgi.enroute.base.api)', \
osgi.identity;filter:='(osgi.identity=osgi.cmpn)', \
osgi.identity;filter:='(osgi.identity=osgi.core)', \
osgi.identity;filter:='(osgi.identity=biz.aQute.junit)', \
osgi.identity;filter:='(osgi.identity=biz.aQute.launcher)', \
osgi.identity;filter:='(osgi.identity=biz.aQute.remote.launcher)'
snapshotUrls=https://oss.sonatype.org/content/repositories/osgi/; \
releaseUrls=https://repo.maven.apache.org/maven2/; \
revision=org.osgi.enroute:osgi-api:7.0.0; \
readOnly=true; \
name="OSGi R7 API"
-plugin.2.Enterprise.API: \
aQute.bnd.repository.maven.pom.provider.BndPomRepository; \
snapshotUrls=https://oss.sonatype.org/content/repositories/osgi/; \
releaseUrls=https://repo.maven.apache.org/maven2/; \
revision=org.osgi.enroute:enterprise-api:7.0.0; \
readOnly=true; \
name="Enterprise Java APIs"
-plugin.3.R7.Impl: \
aQute.bnd.repository.maven.pom.provider.BndPomRepository; \
snapshotUrls=https://oss.sonatype.org/content/repositories/osgi/; \
releaseUrls=https://repo.maven.apache.org/maven2/; \
revision=org.osgi.enroute:impl-index:7.0.0; \
readOnly=true; \
name="OSGi R7 Reference Implementations"
-plugin.4.Test: \
aQute.bnd.repository.maven.pom.provider.BndPomRepository; \
snapshotUrls=https://oss.sonatype.org/content/repositories/osgi/; \
releaseUrls=https://repo.maven.apache.org/maven2/; \
revision=org.osgi.enroute:test-bundles:7.0.0; \
readOnly=true; \
name="Testing Bundles"
-plugin.5.Debug: \
aQute.bnd.repository.maven.pom.provider.BndPomRepository; \
snapshotUrls=https://oss.sonatype.org/content/repositories/osgi/; \
releaseUrls=https://repo.maven.apache.org/maven2/; \
revision=org.osgi.enroute:debug-bundles:7.0.0; \
readOnly=true; \
name="Debug Bundles"
-plugin.6.Central: \
aQute.bnd.repository.maven.pom.provider.BndPomRepository; \
releaseUrls=https://repo.maven.apache.org/maven2/; \
pom=${build}/pom.xml; \
readOnly=true; \
name="Maven Central"
-plugin.7.Local: \
aQute.bnd.deployer.repository.LocalIndexedRepo; \
name = Local; \
pretty = true; \
local = ${build}/local

-runproperties.eqnx: \
org.apache.felix.http.jettyEnabled=true, \
org.apache.felix.http.whiteboardEnabled=true,\
osgi.console=, \
osgi.console.enable.builtin=false
-plugin.8.Templates: \
aQute.bnd.deployer.repository.LocalIndexedRepo; \
name = Templates; \
pretty = true; \
local = ${build}/templates

-runpath.eqnx: osgi.enroute.equinox.log.adapter
-runrequires.eqnx: \
osgi.identity;filter:='(osgi.identity=org.apache.felix.log)'
-plugin.9.Release: \
aQute.bnd.deployer.repository.LocalIndexedRepo; \
name = Release; \
pretty = true; \
local = ${build}/release

-runsystempackages.eqnx: javax.script
-runsystemcapabilities.dflt: ${native_capability}
-releaserepo: Release
-baselinerepo: Release

debug-bundles: \
osgi.identity;filter:='(osgi.identity=osgi.enroute.webconsole.xray.provider)',\
osgi.implementation;filter:='(osgi.implementation=osgi.metatype)',\
osgi.implementation;filter:='(osgi.implementation=osgi.log)',\
osgi.implementation;filter:='(osgi.implementation=osgi.event)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.command)',\
osgi.identity;filter:='(osgi.identity=org.apache.felix.gogo.shell)', \
osgi.identity;filter:='(osgi.identity=osgi.enroute.base.debug.provider)'

javac.source: 1.8
javac.target: 1.8
-runee: JavaSE-1.8
# Always use contracts
-contract: *

-dsannotations: *
-metatypeannotations: *
-contract: *
# Set Git revision information in the manifests of built bundles
Git-Descriptor: ${system-allow-fail;git describe --dirty --always}
Git-SHA: ${system-allow-fail;git rev-list -1 HEAD}

test-cases: ${classes;NAMED;*Test}
-resolve.effective: resolve, active
-releaserepo: Release
# JUnit
junit: org.apache.servicemix.bundles.junit; version=4.12
mockito: org.mockito.mockito-core; version=2.13.0
mockito-deps: org.objenesis; version=2.6.0,\
net.bytebuddy.byte-buddy; version=1.7.9,\
net.bytebuddy.byte-buddy-agent; version=1.7.9

-plugin.4.Central: \
aQute.bnd.repository.maven.pom.provider.BndPomRepository; \
releaseUrls=https://repo1.maven.org/maven2/; \
pom=${build}/pom.xml; \
name="Maven Central"; \
location=${build}/cache/enroute-pom.xml
# OpenEMS bnd.bnd defaults
buildpath: \
osgi.annotation; version=7.0.0,\
osgi.core; version=7.0.0,\
osgi.cmpn; version=7.0.0

-plugin.6.Local: \
aQute.bnd.deployer.repository.LocalIndexedRepo; \
name = Local ; \
pretty = true ; \
local = ${build}/local
testpath: \
\${junit},\
\${mockito},\
\${mockito-deps}

-plugin.9.Release: \
aQute.bnd.deployer.repository.LocalIndexedRepo; \
name = Release ; \
pretty = true ; \
local = ${build}/release
javac.source: 1.8
javac.target: 1.8
5 changes: 1 addition & 4 deletions cnf/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<property name="charset" value="UTF-8"/>
<property name="fileExtensions" value="java, properties, xml"/>
<module name="TreeWalker">
<module name="RequireThis"/>
<module name="OuterTypeFilename"/>
<module name="IllegalTokenText">
<property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
Expand Down Expand Up @@ -200,10 +201,6 @@
<property name="exceptionVariableName" value="expected"/>
</module>
<module name="CommentsIndentation"/>
<module name="JavadocMethod">
<property name="allowMissingJavadoc" value="true"/>
<property name="suppressLoadErrors" value="true"/>
</module>
<module name="SuppressionCommentFilter"/>
</module>
<module name="FileTabCharacter">
Expand Down
37 changes: 18 additions & 19 deletions cnf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@
<artifactId>opczip</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<!-- Used by io.openems.edge.meter.discovergy -->
<!-- https://mvnrepository.com/artifact/com.github.scribejava/scribejava-core -->
<groupId>com.github.scribejava</groupId>
<artifactId>scribejava-core</artifactId>
<version>6.9.0</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
Expand All @@ -41,7 +34,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>28.1-jre</version>
<version>28.2-jre</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand All @@ -51,18 +44,18 @@
<dependency>
<groupId>com.squareup.moshi</groupId>
<artifactId>moshi</artifactId>
<version>1.5.0</version>
<version>1.9.2</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>3.14.3</version>
<version>3.14.4</version>
</dependency>
<dependency>
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp/3.13.1 -->
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.14.3</version>
<version>3.14.4</version>
</dependency>
<dependency>
<!-- Used by com.squareup.okhttp3: okhttp -->
Expand All @@ -74,12 +67,18 @@
<!-- Used by org.influxdb: influxdb-java -->
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-moshi</artifactId>
<version>2.6.1</version>
<version>2.7.0</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
<version>2.6.1</version>
<version>2.6.2</version>
</dependency>
<dependency>
<!-- Used by io.openems.edge.ocpp.core -->
<groupId>com.sun.net.httpserver</groupId>
<artifactId>http</artifactId>
<version>20070405</version>
</dependency>
<dependency>
<!-- Used by io.openems.edge.ocpp.core -->
Expand Down Expand Up @@ -125,13 +124,13 @@
<dependency>
<groupId>org.dhatim</groupId>
<artifactId>fastexcel</artifactId>
<version>0.10.9</version>
<version>0.10.11</version>
</dependency>
<dependency>
<!-- https://mvnrepository.com/artifact/org.influxdb/influxdb-java -->
<groupId>org.influxdb</groupId>
<artifactId>influxdb-java</artifactId>
<version>2.16</version>
<version>2.17</version>
</dependency>
<dependency>
<groupId>org.java-websocket</groupId>
Expand All @@ -141,12 +140,12 @@
<dependency>
<groupId>org.msgpack</groupId>
<artifactId>msgpack-core</artifactId>
<version>0.8.18</version>
<version>0.8.20</version>
</dependency>
<dependency>
<groupId>org.openmuc</groupId>
<artifactId>jmbus</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>org.ops4j.pax.logging</groupId>
Expand All @@ -162,7 +161,7 @@
<!-- Used by io.openems.backend.metadata.odoo -->
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.7</version>
<version>42.2.9</version>
</dependency>
<dependency>
<!-- Used by io.openems.edge.timedata.rrd4j -->
Expand Down
Loading

0 comments on commit 560a306

Please sign in to comment.