-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from highmobility/merge-v2
Merge v2
- Loading branch information
Showing
62 changed files
with
2,546 additions
and
3,386 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,46 @@ | ||
# This workflow will build a Java project with Gradle | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | ||
|
||
name: Create docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- v2 | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: zulu | ||
java-version: 17 | ||
cache: gradle | ||
|
||
|
||
- name: Setup SSH Keys and known_hosts to access submodules | ||
env: | ||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
run: | | ||
ssh-agent -a $SSH_AUTH_SOCK > /dev/null | ||
ssh-add - <<< "${{ secrets.GH_SSH_PRIVATE }}" | ||
- name: Update submodules | ||
env: | ||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
run: git submodule update --init --recursive | ||
|
||
- name: Create docs | ||
run: ./gradlew :hmkit-fleet:dokkaJavadoc | ||
|
||
- name: Deploy to Github Pages | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: hmkit-fleet/build/dokka/javadoc |
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,6 +1,3 @@ | ||
[submodule "hmkit-fleet-consumer"] | ||
path = hmkit-fleet-consumer | ||
url = [email protected]:highmobility/hmkit-fleet-consumer.git | ||
[submodule "hmkit-crypto-java"] | ||
path = hmkit-crypto-java | ||
url = [email protected]:highmobility/hmkit-crypto-java.git |
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,31 +1,24 @@ | ||
# Changelog | ||
|
||
This is the changelog for v1 releases. See v0 changelog in the [v0 branch](https://github.com/highmobility/hmkit-fleet/tree/v0). | ||
This is the changelog for v2 releases. See v0/v1 releases in appropriate branches. | ||
|
||
## [1.0.2] - 2023-11-16 | ||
## [2.0.0] - 2023-16-11 | ||
|
||
### Added | ||
- new `HMKitFleet` constructor with OAuth/OAuth private key credentials | ||
|
||
- Tesla brand | ||
|
||
## [1.0.1] - 2023-08-25 | ||
|
||
### Added | ||
|
||
- Lexus brand to the `Brand` enum | ||
|
||
## [1.0.0] - 2023-05-22 | ||
|
||
### Added | ||
|
||
- Initialize HMKitFleet with the `new` keyword. [PR](https://github.com/highmobility/hmkit-fleet/pull/19) | ||
```java | ||
HMKitFleet hmkit = new HMKitFleet( | ||
apiConfiguration, | ||
HMKitFleet.Environment.SANDBOX | ||
HMKitCredentials credentials = new HMKitOAuthCredentials( | ||
"client_id", | ||
"client_secret" | ||
); | ||
``` | ||
|
||
### Removed | ||
HMKitConfiguration configuration = new HMKitConfiguration.Builder() | ||
.credentials(credentials) | ||
.environment(HMKitFleet.Environment.SANDBOX) | ||
.build(); | ||
|
||
HMKitFleet hmkit = new HMKitFleet(configuration); | ||
``` | ||
|
||
- Remove the singleton variant of HMKitFleet | ||
- Tesla brand |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
naming: | ||
InvalidPackageDeclaration: | ||
active: false | ||
formatting: | ||
Indentation: | ||
indentSize: 2 |
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,2 +1,2 @@ | ||
version=1.0.2 | ||
version=2.0.0 | ||
kotlin.code.style=official |
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,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Submodule hmkit-crypto-java
deleted from
d2fb6d
Submodule hmkit-fleet-consumer
updated
12 files
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
Oops, something went wrong.