-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/app-permissions-contract
- Loading branch information
Showing
39 changed files
with
1,890 additions
and
2,147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build and Test Node | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install ganache | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y npm | ||
sudo npm i -g ganache-cli | ||
ganache-cli -m "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat" --port 8544 --accounts 20 --networkId=9 --gasLimit=10000000 > /dev/null & | ||
- name: Setup JDK/Gradle | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'corretto' | ||
java-version: '15' | ||
cache: 'gradle' | ||
|
||
- name: Build | ||
run: ./gradlew build --no-daemon --info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,57 @@ | ||
# OCN Node Changelog | ||
|
||
## 1.1.0-rc1 | ||
### Upcoming | ||
## 1.2.0-rc1 | ||
### May 3, 2021 | ||
|
||
Changes auth tokes to conform to OCPI 2.2 d2 update. With this new version, | ||
all new OCPI Parties will need to encode Authorization header tokens with base64. | ||
The OCN Node will also send base64-encoded auth tokens to the OCPI Party. | ||
Note that existing OCPI parties can continue using non-encoded tokens | ||
without change. | ||
|
||
## 1.1.2 | ||
### Dec 17, 2020 | ||
|
||
Fixes issue where ocn-node startup could fail if behind a load balancer or gateway (ocn-node issue #25) | ||
|
||
## 1.1.1 | ||
### Nov 07, 2020 | ||
|
||
Fixes bug with deleted parties being communicated as having a "planned" status (ocn-node issue #22) | ||
|
||
## 1.1.0 | ||
### Oct 16, 2020 | ||
|
||
1.1.0 release of Open Charging Network Node. Includes: | ||
|
||
- Forwarding of requests to "Ocn Services" as specified by the OCN Service Interface | ||
- Initial HubClientInfo module implementation | ||
|
||
## 1.1.0-rc2 | ||
### Sep 25, 2020 | ||
|
||
Fixes bug with handling request body when forwarding custom OCPI module requests. | ||
|
||
## 1.1.0-rc1 | ||
### Jun 30, 2020 | ||
|
||
Adds the ability for requests to be forwarded to "Ocn Services" with matching permissions. The | ||
Ocn ServiceInterface, using the new Permissions contract in the OCN Registry, allows data to be | ||
shared and accessed using a permission system. | ||
|
||
## 1.1.0-rc0 | ||
## 1.1.0-rc0 | ||
### Apr 28, 2020 | ||
|
||
Includes initial hubclientinfo OCPI module implementation. | ||
- Optional "Still-Alive" check requests connected parties versions endpoint at regular intervals. | ||
- Optional "Planned Party" search scans registry for newly planned parties at regular intervals. | ||
- New configuration properties under `ocn.node`: `stillAliveEnabled`, `stillAliveRate`, | ||
- New configuration properties under `ocn.node`: `stillAliveEnabled`, `stillAliveRate`, | ||
`plannedPartySearchEnabled`, `plannedPartySearchRate`. | ||
|
||
## 1.0.0 | ||
### Mar 03, 2020 | ||
|
||
Initial release of the Open Charging Network Node. | ||
- All OCPI modules included, except for hubclientinfo. | ||
- Custom OCPI module, *OcnRules*, for setting counter-party whitelist rules. | ||
- Administrator API for generating TOKEN_A for planned parties. | ||
- Administrator API for generating TOKEN_A for planned parties. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,35 @@ | ||
# This is a sample build configuration for Java (Gradle). | ||
# Check our guides at https://confluence.atlassian.com/x/zd-5Mw for more examples. | ||
# Only use spaces to indent your .yml configuration. | ||
# ----- | ||
# You can specify a custom docker image from Docker Hub as your build environment. | ||
image: alpine:latest | ||
|
||
pipelines: | ||
default: | ||
- step: | ||
definitions: | ||
steps: | ||
- step: &build-and-test | ||
name: Build and run tests | ||
caches: | ||
- gradle | ||
- node | ||
script: # Modify the commands below to build your repository. | ||
# You must commit the Gradle wrapper to your repository | ||
# https://docs.gradle.org/current/userguide/gradle_wrapper.html | ||
script: | ||
- apk add gradle npm | ||
- npm install -g ganache-cli | ||
- ganache-cli -m "candy maple cake sugar pudding cream honey rich smooth crumble sweet treat" --port 8544 --accounts 20 --networkId=9 --gasLimit=10000000 > /dev/null & | ||
- ./gradlew build | ||
pipelines: | ||
default: | ||
- step: *build-and-test | ||
custom: | ||
docker-image-deploy: | ||
- variables: | ||
- name: version | ||
- step: | ||
<<: *build-and-test | ||
artifacts: | ||
- build/** | ||
- src/main/resources/** | ||
- step: | ||
name: Push to Docker Hub | ||
script: | ||
- docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD | ||
- docker build -t openchargingnetwork/ocn-node:${version} -t openchargingnetwork/ocn-node:latest . | ||
- docker push openchargingnetwork/ocn-node:${version} | ||
- docker push openchargingnetwork/ocn-node:latest | ||
services: | ||
- docker |
Oops, something went wrong.