Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
d51c29c
funzt
lukasrgr Mar 2, 2021
e0982f9
Merge branch 'develop_realOpenEMS' into feature/test
lukasrgr Jun 30, 2023
6d38ca2
test ci build
lukasrgr Jun 30, 2023
b5ba3ce
Merge branch 'develop' of https://github.com/lukasrgr/openems into de…
lukasrgr Jun 30, 2023
b526706
Merge branch 'develop' of https://github.com/OpenEMS/openems into dev…
lukasrgr Jun 30, 2023
bdea37b
Merge branch 'develop' into feature/test
lukasrgr Jun 30, 2023
9864dc1
test
lukasrgr Jun 30, 2023
70e067c
test
lukasrgr Jul 4, 2023
e41643b
test ci
lukasrgr Jul 5, 2023
c8e294a
test
lukasrgr Jul 5, 2023
c3bfc62
test
lukasrgr Jul 5, 2023
77496a5
no message
lukasrgr Jul 5, 2023
75b23a4
test
lukasrgr Jul 5, 2023
c9ed2cd
test
lukasrgr Jul 5, 2023
5c427bc
test
lukasrgr Jul 5, 2023
24239a4
test
lukasrgr Jul 5, 2023
0c8d77f
test ci build
lukasrgr Jul 6, 2023
15ebc69
comment ui build
lukasrgr Jul 6, 2023
ca867a8
Bump info.faljse:SDNotify from 1.3 to 1.5 in /cnf (#2328)
dependabot[bot] Aug 23, 2023
92539ce
Bump org.rrd4j:rrd4j from 3.8.2 to 3.9 in /cnf (#2327)
dependabot[bot] Aug 23, 2023
b8e5747
Bump org.apache.felix:org.apache.felix.http.jetty from 5.0.4 to 5.0.6…
dependabot[bot] Aug 23, 2023
4c8f3a6
ModbusBridge: Fix ClassCastException to Register[] (#2320)
sfeilmeier Aug 23, 2023
f0aba8a
Update Gradle to 8.3 (#2330)
sfeilmeier Aug 24, 2023
63c0ce6
Implement ENTSO-E, OpenEMS Currency and exchangerate.host (#2207)
sfeilmeier Aug 25, 2023
1be37b0
Bump compare-versions from 6.0.0 to 6.1.0 in /ui (#2319)
dependabot[bot] Aug 25, 2023
5f207bd
SunSpecCodeGenerator: refactor, add 7xx models, use JSON input files …
tsicking Aug 25, 2023
52d38cc
Docs: Update Getting Started & Implementing a Device (#2331)
sfeilmeier Aug 25, 2023
99a6175
CI: build artifacts on tag/release event (#2332)
da-Kai Aug 28, 2023
a822af3
Bump org.apache.felix:org.apache.felix.http.jetty from 5.0.6 to 5.1.0…
dependabot[bot] Aug 29, 2023
aa9217c
Bump org.jetbrains.kotlin:kotlin-osgi-bundle from 1.9.0 to 1.9.10 in …
dependabot[bot] Aug 29, 2023
c8b91d7
Bump io.reactivex.rxjava3:rxjava from 3.1.6 to 3.1.7 in /cnf (#2333)
dependabot[bot] Aug 29, 2023
cfc170e
UI: adjust energymonitor for mobile devices (#2323)
lukasrgr Aug 29, 2023
b57ee07
FENECON Commercial 30 Off-Grid: fix getGroundingContactor (#2322)
huseyinsaht Aug 30, 2023
f0b0527
FEMS Backport 2023.9.0 (#2338)
sfeilmeier Sep 1, 2023
85d68cb
Push version to 2023.9.0
sfeilmeier Sep 1, 2023
163f82b
Merge branch 'release/2023.9.0'
sfeilmeier Sep 1, 2023
a97a176
Merge tag '2023.9.0' into develop
sfeilmeier Sep 1, 2023
683f9c6
Start development of version 2023.10.0-SNAPSHOT
sfeilmeier Sep 1, 2023
10b2bbc
Update package-lock
sfeilmeier Sep 5, 2023
d369c81
Bump org.dhatim:fastexcel from 0.15.6 to 0.15.7 in /cnf (#2344)
dependabot[bot] Sep 5, 2023
ee2222b
Bump org.checkerframework:checker-qual from 3.37.0 to 3.38.0 in /cnf …
dependabot[bot] Sep 5, 2023
f612619
Bump org.apache.felix:org.apache.felix.webconsole from 4.7.2 to 4.9.0…
dependabot[bot] Sep 5, 2023
f12e32c
Bump org.apache.felix:org.apache.felix.inventory from 1.1.0 to 2.0.0 …
dependabot[bot] Sep 5, 2023
4aa7d49
Generic-Ess: fix debugLog for max charge power (#2345)
sfeilmeier Sep 5, 2023
ff4f134
UI: add skeleton for user contact details. (#2317)
mahdiataie Sep 6, 2023
7a2c6ba
Modbus Bridge: fix typo in README (#2351)
sfeilmeier Sep 6, 2023
ac7ddc8
Modbus SunSpec: split modbus tasks with more than 126 registers (#2336)
tsicking Sep 6, 2023
96d4a6d
Wrapper: update versions in bnd.bnd
sfeilmeier Sep 6, 2023
28463c4
UI: Removing duplicate channels from SubscribeChannels and fix unsubs…
mahdiataie Sep 7, 2023
64cde90
Time-of-Use Tariff Controller UI: remove unused channel subscription …
venu-sagar Sep 8, 2023
50c5a9e
Bump org.apache.felix:org.apache.felix.webconsole from 4.9.0 to 4.9.4…
dependabot[bot] Sep 12, 2023
1002bbe
Bump org.apache.felix:org.apache.felix.webconsole.plugins.ds from 2.2…
dependabot[bot] Sep 12, 2023
6a44190
Backend: fix subscribe system log (#2357)
michaelgrill Sep 12, 2023
7a92b64
Controller ESS Cycle: refactor + improve (#2252)
huseyinsaht Sep 15, 2023
dc9c67e
FEMS Backport (#2359)
sfeilmeier Sep 16, 2023
c4bdfbc
InfluxDB Backend: fix actually writing data (#2365)
sfeilmeier Sep 20, 2023
8397d6d
Update MeterJanitzaUmg511Impl.java (#2366)
michaelgrill Sep 21, 2023
a286584
UI: Unit tests for autarchy, selfconsumption and consumption (#2241)
lukasrgr Sep 24, 2023
a6d051b
FEMS Backport 2023-09-25 (#2368)
sfeilmeier Sep 25, 2023
7e2a6c1
FEMS Backports (#2373)
sfeilmeier Oct 1, 2023
88f8d64
Docs: add documentation for Backend Metadata and Timedata (#2314)
clehne Oct 1, 2023
55602f7
ModbusRecordChannel: fix read error for write-only channels (#2256)
tsicking Oct 1, 2023
50b7ad3
Push version to 2023.10.0
sfeilmeier Oct 1, 2023
6e5b8f3
update package-lock
sfeilmeier Oct 1, 2023
1308add
Merge branch 'release/2023.10.0'
sfeilmeier Oct 1, 2023
c143da5
Merge tag '2023.10.0' into develop
sfeilmeier Oct 1, 2023
9191c7e
Start development of version 2023.11.0-SNAPSHOT
sfeilmeier Oct 1, 2023
886fab3
UI: fix bugs + cleanup
sfeilmeier Oct 1, 2023
6e89871
Update to Gradle 8.4
sfeilmeier Oct 6, 2023
f8008d7
Bump com.squareup.okio:okio-jvm from 3.5.0 to 3.6.0 in /cnf (#2380)
dependabot[bot] Oct 6, 2023
59f949a
Bump org.apache.felix:org.apache.felix.http.jetty from 5.1.0 to 5.1.2…
dependabot[bot] Oct 6, 2023
493f6b6
Bump org.apache.felix:org.apache.felix.http.servlet-api from 2.1.0 to…
dependabot[bot] Oct 6, 2023
6a28076
Bump io.reactivex.rxjava3:rxjava from 3.1.7 to 3.1.8 in /cnf (#2377)
dependabot[bot] Oct 6, 2023
1debce6
Bump org.checkerframework:checker-qual from 3.38.0 to 3.39.0 in /cnf …
dependabot[bot] Oct 6, 2023
d51471a
Bump commons-io:commons-io from 2.13.0 to 2.14.0 in /cnf (#2375)
dependabot[bot] Oct 6, 2023
c5847c5
Update to bndtools version 7.0.0
sfeilmeier Oct 6, 2023
8d671fb
Bump org.apache.felix:org.apache.felix.webconsole from 4.9.4 to 4.9.6…
dependabot[bot] Oct 10, 2023
8119632
Bump de.bytefish:pgbulkinsert from 8.1.1 to 8.1.2 in /cnf (#2382)
dependabot[bot] Oct 10, 2023
b8ddb8e
Time of Use Tariff controller: refactor + charge from grid (#2238)
venu-sagar Oct 10, 2023
066d06c
ElectricityMeter: fix calculateSinglePhaseFromActivePower & calculate…
tsicking Oct 12, 2023
fd67d77
SunSpec: improvements (#2337)
tsicking Oct 12, 2023
0a2a0d5
Docs: add implementing a UI modal (#2389)
lukasrgr Oct 16, 2023
9d8cdf7
Bump com.google.guava:guava from 32.1.2-jre to 32.1.3-jre in /cnf (#2…
dependabot[bot] Oct 17, 2023
11e0001
FEMS Backports (#2394)
sfeilmeier Oct 20, 2023
af719ca
Bump com.squareup.okhttp3:okhttp from 4.11.0 to 4.12.0 in /cnf (#2399)
dependabot[bot] Oct 24, 2023
7e45591
Bump com.google.guava:failureaccess from 1.0.1 to 1.0.2 in /cnf (#2400)
dependabot[bot] Oct 24, 2023
b4a73b8
UI: Fix Infinity sign in charts & the wrong date formating (#2372)
AnasShetla Oct 24, 2023
90e870f
Bump org.jsoup:jsoup from 1.16.1 to 1.16.2 in /cnf (#2398)
dependabot[bot] Oct 24, 2023
7df7406
Move TimeLeapClock from edge.common to common (#2395)
DerStoecki Oct 25, 2023
5cb4fee
Merge branch 'develop' into feature/test
lukasrgr Oct 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
58 changes: 1 addition & 57 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,6 @@ jobs:
name: jacoco_report
path: jacoco/

#
# Is this a Tag? Prepare release assets
#
- name: Prepare Edge+Backend assets
if: startsWith(github.ref, 'refs/tags/')
run: ./gradlew buildEdge buildBackend

- name: Save build-artifacts
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: |
build/openems-edge.jar
build/openems-backend.jar

build-ui:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -110,44 +94,4 @@ jobs:
node_modules/.bin/ng build -c "openems,openems-edge-prod,prod"
node_modules/.bin/ng lint
export CHROME_BIN=/usr/bin/google-chrome-stable
npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI

#
# Is this a Tag? Prepare release assets
#
- name: Prepare UI asset
if: startsWith(github.ref, 'refs/tags/')
run: |
mkdir build
cd ui/target
zip -r ../../build/openems-ui.zip ./*

- name: Save build-artifacts
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: build/openems-ui.zip

#
# Is this a Tag? Create a draft release
#
release:
runs-on: ubuntu-latest
needs: [build-java, build-ui]
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Load build-artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts
path: build

- name: Create draft Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: |
build/openems-edge.jar
build/openems-backend.jar
build/openems-ui.zip
npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
96 changes: 96 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: Prepare OpenEMS Release

on:
push:
tags:
- "*.*.*"

jobs:
build-java:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: gradle

- uses: kiancross/checkstyle-annotations-action@v1

- name: Validate BackendApp.bndrun and EdgeApp.bndrun
run: git diff --exit-code io.openems.backend.application/BackendApp.bndrun io.openems.edge.application/EdgeApp.bndrun

- name: Clean Edge+Backend assets
run: ./gradlew cleanEdge cleanBackend

- name: Prepare Edge+Backend assets
run: ./gradlew buildEdge buildBackend

- name: Save build-artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: |
build/openems-edge.jar
build/openems-backend.jar

build-ui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Setup Cache for Node.js
uses: actions/cache@v3
with:
path: |
~/.npm
~/.ng
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-

- name: Build OpenEMS UI
run: |
cd ui
npm install
npm ci --prefer-offline --cache ~/.npm
node_modules/.bin/ng config cli.cache.path "~/.ng"
node_modules/.bin/ng build -c "openems,openems-edge-prod,prod"

- name: Prepare UI asset
run: |
mkdir build
cd ui/target
zip -r ../../build/openems-ui.zip ./*

- name: Save build-artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: build/openems-ui.zip

release:
runs-on: ubuntu-latest
needs: [build-java, build-ui]
steps:
- name: Load build-artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts
path: build

- name: Create draft Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: |
build/openems-edge.jar
build/openems-backend.jar
build/openems-ui.zip
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ local.properties
*.zip
*.tar.gz
*.rar
/*.deb

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
Expand Down Expand Up @@ -228,3 +229,6 @@ gradle-app.setting
# OpenEMS temp files
io.openems.edge.controller.api.mqtt/edge0
io.openems.edge.application/c:/

### Debian ###
!tools/debian/**
Binary file modified .gradle-wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion .gradle-wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
52 changes: 29 additions & 23 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -247,42 +247,48 @@ task copyBundleReadmes() {
def targetBridge = basePath + "edge/bridge.adoc.d"
def targetDeviceService = basePath + "edge/device_service.adoc.d"
def targetTimedata = basePath + "edge/timedata.adoc.d"

def targetBackendService = basePath + "backend/service.adoc.d"

// initialize target files and directories
[targetController, targetScheduler, targetNature, targetBridge, targetDeviceService, targetTimedata].each { target ->
delete fileTree(dir: target, include: '**/*.adoc')
[targetController, targetScheduler, targetNature, targetBridge, targetDeviceService, targetTimedata, targetBackendService].each { target ->
delete fileTree(dir: target, include: '**/*.adoc')
new File(target + "/_include.adoc").write('')
}

subprojects.each { proj ->
// in each subproject (= bundle)...
proj.file(".").listFiles().each { sourceFile ->
// find the 'readme.adoc' file
if(sourceFile.getName().equalsIgnoreCase("readme.adoc")) {
def bundle = sourceFile.getParentFile().getName()
def target = null
// evaluate the OpenEMS Component ('Backend' or 'Edge')

if(bundle.startsWith("io.openems.edge.")) {
// evaluate the bundle type (e.g. 'Controller')
def edgeBundle = bundle.substring("io.openems.edge.".length())
if(edgeBundle.endsWith(".api")) {
target = targetNature
} else if(edgeBundle.startsWith("controller.")) {
target = targetController
} else if(edgeBundle.startsWith("scheduler.")) {
target = targetScheduler
} else if(edgeBundle.startsWith("bridge.")) {
target = targetBridge
} else if(edgeBundle.startsWith("timedata.")) {
target = targetTimedata
} else {
target = targetDeviceService
}
def edgeBundle = bundle.substring("io.openems.edge.".length())
if(edgeBundle.endsWith(".api")) {
target = targetNature
} else if(edgeBundle.startsWith("controller.")) {
target = targetController
} else if(edgeBundle.startsWith("scheduler.")) {
target = targetScheduler
} else if(edgeBundle.startsWith("bridge.")) {
target = targetBridge
} else if(edgeBundle.startsWith("timedata.")) {
target = targetTimedata
} else {
target = targetDeviceService
}

} else if(bundle.startsWith("io.openems.backend.")) {
// ignore
return

def backendBundle = bundle.substring("io.openems.backend.".length())
if(backendBundle.startsWith("timedata.")) {
target = targetBackendService
} else if(backendBundle.startsWith("metadata.")) {
target = targetBackendService
} else {
return // ignore
}

} else if(bundle.startsWith("io.openems.wrapper")) {
// ignore
return
Expand Down
2 changes: 1 addition & 1 deletion cnf/build.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ buildpath: \
org.osgi.service.metatype;version='1.4.1',\
org.osgi.service.metatype.annotations;version='1.4.1',\
org.osgi.util.promise;version='1.2.0',\
com.google.guava;version='32.1.2.jre',\
com.google.guava;version='32.1.3.jre',\
com.google.gson;version='2.10.1',\

testpath: \
Expand Down
Loading