Skip to content

Commit

Permalink
#v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jezzsantos committed Jan 19, 2024
1 parent 0be53d6 commit 4fde0d5
Show file tree
Hide file tree
Showing 13 changed files with 109 additions and 14 deletions.
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# The version of this plugin
thisPluginVersion=1.2.0
thisPluginVersion=1.3.0
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild=222
pluginUntilBuild=232.*
pluginUntilBuild=233.*
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#intellij-extension
platformType=RD
# platformVersion below is the version of Rider we will be running on and testing with locally
platformVersion=2022.2
platformVersion=2023.3
# Platform version to verify compatibility with -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html#intellij-platform-based-products-of-recent-ide-versions
platformVersionsToVerify=RD-2022.2,RD-2022.3,RD-2023.1
platformVersionsToVerify=RD-2022.2,RD-2022.3,RD-2023.1,RD-2023.2,RD-2023.3
# IntelliJ Plugin -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
intellijPluginVersion=1.13.3
intellijPluginVersion=1.16.1
# Gradle Releases -> https://github.com/gradle/gradle/releases
gradleVersion=8.2
gradleVersion=8.5
13 changes: 13 additions & 0 deletions src/.idea/.idea.src.dir/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions src/.idea/.idea.src.dir/.idea/aws.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/.idea/.idea.src.dir/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions src/.idea/.idea.src.dir/.idea/indexLayout.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions src/.idea/.idea.src.dir/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/.idea/.idea.src.dir/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import com.jetbrains.rd.util.UsedImplicitly;
import jezzsantos.automate.core.AutomateConstants;
import jezzsantos.automate.plugin.common.AutomateBundle;
import org.apache.commons.lang.math.NumberUtils;
import org.apache.commons.lang3.math.NumberUtils;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.TestOnly;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import com.microsoft.applicationinsights.telemetry.RemoteDependencyTelemetry;
import jezzsantos.automate.core.AutomateConstants;
import jezzsantos.automate.plugin.common.recording.IMeasurementReporter;
import org.apache.commons.lang.time.StopWatch;
import org.apache.commons.lang3.time.StopWatch;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import jezzsantos.automate.plugin.common.recording.ILogger;
import jezzsantos.automate.plugin.common.recording.ISessionReporter;
import jezzsantos.automate.plugin.common.recording.LogLevel;
import org.apache.commons.lang.time.StopWatch;
import org.apache.commons.lang3.time.StopWatch;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.TestOnly;
Expand All @@ -32,9 +32,6 @@ public ApplicationInsightsSessionReporter(@NotNull ILogger logger, @NotNull ITel
this.operations = new Operations();
}

@TestOnly
public Operations getOperations() {return this.operations;}

@Override
public void enableReporting(@NotNull String machineId, @NotNull String sessionId) {

Expand Down Expand Up @@ -111,6 +108,9 @@ public void dispose() {
}
}

@TestOnly
public Operations getOperations() {return this.operations;}

static class Operations {

private final List<RunningOperation> operationsStack;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public void dispose() {
@Override
public ProcessResult start(@NotNull List<String> commandLineAndArguments, @NotNull String currentDirectory) {

//PROBLEM: On MacOS, we are executing the `automate` CLI, which in turn executes the 'dotnet' command, which it cannot find
// we think, because the PATH variable is not set (or not used by automate) to run the sub-command.
var builder = new ProcessBuilder(commandLineAndArguments);
builder.redirectErrorStream(false);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import jezzsantos.automate.plugin.infrastructure.services.cli.responses.GetInfoStructuredOutput;
import jezzsantos.automate.plugin.infrastructure.services.cli.responses.ListAllDefinitionsStructuredOutput;
import jezzsantos.automate.plugin.infrastructure.services.cli.responses.StructuredError;
import org.apache.commons.lang.RandomStringUtils;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
Expand Down

0 comments on commit 4fde0d5

Please sign in to comment.