Skip to content

Commit a5aaa2b

Browse files
authored
Merge pull request #220 from hivemq/4.6.1-release
Release 4.6.1
2 parents 413eb0a + 326aceb commit a5aaa2b

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ apply plugin: 'org.owasp.dependencycheck'
4242
javadoc.options.encoding = 'UTF-8'
4343

4444
group = 'com.hivemq'
45-
version = '4.6.0' + (Boolean.valueOf(System.getProperty("snapshot")) ? "-SNAPSHOT" : "")
45+
version = '4.6.1' + (Boolean.valueOf(System.getProperty("snapshot")) ? "-SNAPSHOT" : "")
4646
description = 'MQTT CLI is a tool that provides a feature rich command line interface for connecting, ' +
4747
'publishing, subscribing, unsubscribing and disconnecting ' +
4848
'various MQTT clients simultaneously and supports MQTT 5.0 and MQTT 3.1.1 '
4949

50-
def hivemqApiVersion = '4.6.0'
51-
def hivemqSwarmApiVersion = '4.6.0'
50+
def hivemqApiVersion = '4.6.1'
51+
def hivemqSwarmApiVersion = '4.6.1'
5252

5353
application {
5454
mainClassName = 'com.hivemq.cli.MqttCLIMain'

specs/HiveMQ-4.6.0-OpenAPI-spec.yaml renamed to specs/HiveMQ-4.6.1-OpenAPI-spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ info:
4040
\ client-code for multiple programming languages.\n"
4141
contact:
4242
url: https://www.hivemq.com
43-
version: 4.6.0
43+
version: 4.6.1
4444
x-logo:
4545
url: https://www.hivemq.com/img/svg/hivemq-bee.svg
4646
tags:

specs/HiveMQ-Swarm-4.6.0-OpenAPI-spec.yaml renamed to specs/HiveMQ-Swarm-4.6.1-OpenAPI-spec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ info:
2020
\ definition that\ncan be imported into popular API tooling (e.g. Postman) or\
2121
\ can be used to generate client-code for multiple programming languages.\n"
2222
title: HiveMQ Swarm REST API
23-
version: 4.6.0
23+
version: 4.6.1
2424
x-logo:
2525
url: https://www.hivemq.com/img/svg/hivemq-bee.svg
2626
paths:

src/test/java/com/hivemq/cli/commands/swarm/run/SwarmRunStartCommandIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void startScenario() throws Exception {
125125

126126
publishesLatch.await();
127127
verify(out, times(1)).println("Uploading scenario from file '" + scenario.getAbsolutePath() + "'.");
128-
verify(out, times(1)).println("Successfully uploaded scenario. Scenario-id: 2");
128+
verify(out, times(1)).println("Successfully uploaded scenario. Scenario-id: " + 1);
129129
verify(out, times(1)).println("Run id: 1");
130130
verify(out, times(1)).println("Run status: STARTING");
131131
}

src/test/java/com/hivemq/cli/commands/swarm/run/SwarmRunStopCommandIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ void stopRun() throws Exception {
142142

143143
final UploadScenarioRequest uploadScenarioRequest = new UploadScenarioRequest()
144144
.scenarioType("XML").scenario(scenarioBase64).scenarioName("my-scenario");
145-
scenariosApi.uploadScenario(uploadScenarioRequest);
145+
final UploadScenarioResponse uploadScenarioResponse = scenariosApi.uploadScenario(uploadScenarioRequest);
146146

147147
final StartRunRequest startRunRequest = new StartRunRequest();
148-
startRunRequest.setScenarioId("2");
148+
startRunRequest.setScenarioId(uploadScenarioResponse.getScenarioId().toString());
149149
runsApi.startRun(startRunRequest);
150150

151151
// the scenario is started

0 commit comments

Comments
 (0)