Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Add boot version to app info shell command #5351

Merged
merged 2 commits into from
May 19, 2023

Conversation

onobc
Copy link
Contributor

@onobc onobc commented May 19, 2023

  • Update related tests to Junit5

See #5239

@onobc onobc requested a review from corneil May 19, 2023 15:53
@@ -12,7 +12,7 @@
<description>Spring Cloud Data Flow Docs</description>
<properties>
<main.basedir>${basedir}/..</main.basedir>
<docs.resources.version>0.2.1.RELEASE</docs.resources.version>
<docs.resources.version>0.2.5</docs.resources.version>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[UNRELATED] 0.2.1.RELEASE not available in snapshots nor central, 0.2.5 is what we need to be using which is in fact on central.

import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.rules.TestName;
import org.junit.jupiter.api.AfterAll;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[UNRELATED] I converted the app registry test to Junit5 and therefore had to do the same across the test inheritance hieararchy.

@@ -77,7 +77,7 @@ public class ConfigCommandTests {

@Before
public void setUp() {
MockitoAnnotations.initMocks(this);
MockitoAnnotations.openMocks(this);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[UNRELATED] initMocks is deprecated

<executions>
<execution>
<goals>
<goal>repackage</goal>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[UNRELATED] this was not being called during clean install which resulted in non-executable shell jar.

@corneil corneil merged commit c8707c6 into spring-attic:main May 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants