Skip to content

Commit

Permalink
build(deps): bump io.cryostat:cryostat-core from 2.24.0 to 2.25.0 (#201)
Browse files Browse the repository at this point in the history
* build(deps): bump io.cryostat:cryostat-core from 2.24.0 to 2.25.0

Bumps [io.cryostat:cryostat-core](https://github.com/cryostatio/cryostat-core) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/cryostatio/cryostat-core/releases)
- [Commits](cryostatio/cryostat-core@v2.24.0...v2.25.0)

---
updated-dependencies:
- dependency-name: io.cryostat:cryostat-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* hack patch to fix compilation

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Azores <[email protected]>
  • Loading branch information
dependabot[bot] and andrewazores authored Dec 5, 2023
1 parent 2a6e91e commit a3e583f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<io.cryostat.core.version>2.24.0</io.cryostat.core.version>
<io.cryostat.core.version>2.25.0</io.cryostat.core.version>

<org.apache.commons.codec.version>1.16.0</org.apache.commons.codec.version>
<org.apache.commons.io.version>2.13.0</org.apache.commons.io.version>
Expand Down
11 changes: 11 additions & 0 deletions src/main/java/io/cryostat/targets/AgentConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import org.openjdk.jmc.rjmx.ServiceNotAvailableException;

import io.cryostat.core.FlightRecorderException;
import io.cryostat.core.JvmIdentifier;
import io.cryostat.core.net.CryostatFlightRecorderService;
import io.cryostat.core.net.IDException;
import io.cryostat.core.net.JFRConnection;
Expand Down Expand Up @@ -101,6 +102,16 @@ public String getJvmId() throws IDException, IOException {
return Target.getTargetByConnectUrl(agentUri).jvmId;
}

@Override
public JvmIdentifier getJvmIdentifier() throws IDException, IOException {
// try {
// return JvmIdentifier.from(getMBeanMetrics().getRuntime());
// } catch (IntrospectionException | InstanceNotFoundException | ReflectionException e) {
// throw new IDException(e);
// }
throw new UnsupportedOperationException("Unimplemented method 'getJvmIdentifier'");
}

@Override
public int getPort() {
return agentUri.getPort();
Expand Down

0 comments on commit a3e583f

Please sign in to comment.