Update 3rd party deps.
This commit is contained in:
parent
9468c1b695
commit
046470eec1
|
@ -3,5 +3,8 @@
|
|||
All notable changes to this project will be documented in this file.
|
||||
|
||||
|
||||
## 0.1.2 - 2023-08-08
|
||||
- Updated 3rd party dependencies
|
||||
|
||||
## 0.1.1 - 2023-05-20
|
||||
- Support for InfluxDB v2, now requires InfluxDB 1.8 or later
|
||||
|
|
|
@ -32,6 +32,7 @@ There are few steps in the installation.
|
|||
### 1 - Prepare Spectrum Virtualize
|
||||
|
||||
- Create a user with the "Monitor" role
|
||||
- To start extended statistics, the user must be in the "Administrator" role (svctask startstats -interval 30)
|
||||
|
||||
### 2 - InfluxDB and Grafana Installation
|
||||
|
||||
|
|
18
build.gradle
18
build.gradle
|
@ -4,9 +4,9 @@ plugins {
|
|||
id 'application'
|
||||
id 'jacoco'
|
||||
|
||||
id "net.nemerosa.versioning" version "2.15.1"
|
||||
id "net.nemerosa.versioning" version "3.0.0"
|
||||
id "com.github.johnrengelman.shadow" version "7.1.2"
|
||||
id "com.netflix.nebula.ospackage" version "11.2.0"
|
||||
id "com.netflix.nebula.ospackage" version "11.4.0"
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
@ -18,15 +18,15 @@ group = projectGroup
|
|||
version = projectVersion
|
||||
|
||||
dependencies {
|
||||
annotationProcessor 'info.picocli:picocli-codegen:4.7.3'
|
||||
implementation 'info.picocli:picocli:4.7.3'
|
||||
implementation 'com.influxdb:influxdb-client-java:6.8.0'
|
||||
annotationProcessor 'info.picocli:picocli-codegen:4.7.4'
|
||||
implementation 'info.picocli:picocli:4.7.4'
|
||||
implementation 'com.influxdb:influxdb-client-java:6.10.0'
|
||||
implementation 'org.slf4j:slf4j-api:2.0.7'
|
||||
implementation 'org.slf4j:slf4j-simple:2.0.7'
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.10.0' // Also used by InfluxDB Client
|
||||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.3'
|
||||
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.3'
|
||||
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-toml:2.14.3'
|
||||
implementation 'com.squareup.okhttp3:okhttp:4.11.0' // Also used by InfluxDB Client
|
||||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2'
|
||||
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.15.2'
|
||||
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-toml:2.15.2'
|
||||
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
testImplementation 'org.spockframework:spock-core:2.3-groovy-4.0'
|
||||
|
|
19
doc/TODO.md
Normal file
19
doc/TODO.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# TODO
|
||||
|
||||
Extended stats
|
||||
|
||||
|
||||
```shell
|
||||
svctask stopstats
|
||||
svctask startstats -interval 5
|
||||
lsdumps -prefix /dumps/iostats
|
||||
```
|
||||
|
||||
|
||||
The files generated are written to the /dumps/iostats directory.
|
||||
|
||||
https://www.ibm.com/docs/en/flashsystem-5x00/8.4.x?topic=commands-startstats
|
||||
|
||||
|
||||
https://www.ibm.com/support/pages/overview-svc-v510-performance-statistics
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
projectId = svci
|
||||
projectGroup = biz.nellemann.svci
|
||||
projectVersion = 0.1.1
|
||||
projectVersion = 0.1.2
|
||||
|
|
|
@ -63,7 +63,8 @@ public class RestClient {
|
|||
.addHeader("X-Auth-Username", username)
|
||||
.addHeader("X-Auth-Password", password)
|
||||
//.put(RequestBody.create(payload.toString(), MEDIA_TYPE_IBM_XML_LOGIN))
|
||||
.post(RequestBody.create("", MediaType.get("text/plain")))
|
||||
//.post(RequestBody.create("", MediaType.get("text/plain")))
|
||||
.post(RequestBody.create("", MediaType.parse("application/json")))
|
||||
.build();
|
||||
|
||||
String responseBody;
|
||||
|
|
Loading…
Reference in a new issue