Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,172 changes: 317 additions & 855 deletions docs/package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"devDependencies": {
"autoprefixer": "^10.4.21",
"postcss": "^8.2.10",
"postcss-cli": "^8.3.1",
"reveal.js": "^6.0.1"
"autoprefixer": "^10.7.1",
"postcss": "^8.5.34",
"postcss-cli": "^12.0.0",
"reveal.js": "^6.0.2"
},
"workspaces": [
"packages/hugoautogen"
Expand Down
3 changes: 1 addition & 2 deletions docs/packages/hugoautogen/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"dependencies": {
"@fortawesome/fontawesome-free": "7.3.1",
"bootstrap": "5.3.8"
"bootstrap": "5.3.9"
},
"devDependencies": {},
"name": "hugoautogen",
"private": true,
"version": "0.1.0"
Expand Down
23 changes: 12 additions & 11 deletions java-heap-mcp/THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ Links point to the upstream project or its license information.

| Component | Version | License / attribution | Why it is present |
| --- | --- | --- | --- |
| Jackson Databind, Core, Annotations, JSR310 | 2.18.3 | Apache-2.0 | MCP and JSON serialization |
| Eclipse Platform Runtime, Resources, Commands | 3.31.0 / 3.22.0 / 3.12.0 | EPL-2.0 | MAT runtime services |
| ICU4J | 76.1 | ICU License | Eclipse/MAT internationalization support |
| Apache Calcite Core | 1.41.0 | Apache-2.0 | SQL parser, planner, and execution engine |
| Guava | 33.5.0-jre | Apache-2.0 | Embedded MAT Calcite implementation |
| Model Context Protocol Java SDK | 2.2.0 | MIT | MCP protocol and server support |
| Jackson Databind, Core, Annotations, JSR310 | 2.23.0 (Annotations 2.23) | Apache-2.0 | MCP and JSON serialization |
| Eclipse Platform Runtime, Resources, Commands | 3.35.0 / 3.24.100 / 3.13.0 | EPL-2.0 | MAT runtime services |
| ICU4J | 79.1 | ICU License | Eclipse/MAT internationalization support |
| Apache Calcite Core | 1.42.0 | Apache-2.0 | SQL parser, planner, and execution engine |
| Guava | 33.8.0-jre | Apache-2.0 | Embedded MAT Calcite implementation |
| Janino and Commons Compiler | 3.1.12 | BSD-3-Clause | Calcite enumerable code generation |
| JUnit Jupiter | 5.12.2 | EPL-2.0 | Tests only |
| AssertJ Core | 3.27.3 | Apache-2.0 | Tests only |
| JUnit Jupiter | 6.1.3 | EPL-2.0 | Tests only |
| AssertJ Core | 3.27.7 | Apache-2.0 | Tests only |

Calcite brings additional runtime artifacts, including Avatica, JTS, Proj4J,
Jackson YAML, SnakeYAML, SLF4J, Apache Commons components, protobuf,
Expand Down Expand Up @@ -79,13 +80,13 @@ are available at the linked repository.

## Included Artifacts

1. `org.eclipse.mat.api.jar` (Bundle-Version `1.16.1.202501091339`)
1. `org.eclipse.mat.api.jar` (Bundle-Version `1.17.0.202606011933`)
- Declared license: `EPL-2.0`
2. `org.eclipse.mat.parser.jar` (Bundle-Version `1.16.1.202501091339`)
2. `org.eclipse.mat.parser.jar` (Bundle-Version `1.17.0.202606011933`)
- Declared license: `EPL-2.0`
3. `org.eclipse.mat.report.jar` (Bundle-Version `1.16.1.202501091339`)
3. `org.eclipse.mat.report.jar` (Bundle-Version `1.17.0.202606011933`)
- Declared license: `EPL-2.0`
4. `org.eclipse.mat.hprof.jar` (Bundle-Version `1.16.1.202501091339`)
4. `org.eclipse.mat.hprof.jar` (Bundle-Version `1.17.0.202606011933`)
- Declared licenses: `EPL-2.0`, `MIT` (for bundled DEFLATE library code)

License declarations above are sourced from each JAR's `META-INF/MANIFEST.MF` (`Bundle-License`) and `about.html`.
Expand Down
16 changes: 8 additions & 8 deletions java-heap-mcp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.12</version>
<version>2.0.20</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
Expand Down Expand Up @@ -92,7 +92,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.14.0</version>
<version>3.16.0</version>
<executions>
<execution>
<id>default-compile</id>
Expand All @@ -117,14 +117,14 @@
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.8</version>
<version>1.13.0</version>
<executions>
<execution>
<id>download-mat-distribution</id>
<phase>generate-resources</phase>
<goals><goal>wget</goal></goals>
<configuration>
<url>https://download.eclipse.org/mat/1.16.1/MemoryAnalyzer-${mat.distribution}.zip</url>
<url>https://download.eclipse.org/mat/1.17.0/MemoryAnalyzer-${mat.distribution}.zip</url>
<outputDirectory>${project.build.directory}</outputDirectory>
<outputFileName>mat-${mat.distribution}.zip</outputFileName>
</configuration>
Expand All @@ -134,7 +134,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
<executions>
<execution>
<id>unpack-mat-bundles</id>
Expand All @@ -161,7 +161,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.1</version>
<version>3.11.0</version>
<executions>
<execution>
<id>build-compile-classpath</id>
Expand All @@ -186,7 +186,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<version>3.6.1</version>
<configuration>
<useSystemClassLoader>false</useSystemClassLoader>
<additionalClasspathElements>
Expand All @@ -200,7 +200,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.2</version>
<version>3.5.1</version>
<configuration>
<archive>
<manifest>
Expand Down
25 changes: 15 additions & 10 deletions java-perf-workshop-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
<artifactId>guava</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-core</artifactId>
Expand All @@ -50,8 +55,8 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
Expand All @@ -61,18 +66,18 @@
</dependency>
<dependency>
<!-- Annotation utilization -->
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8</artifactId>
<groupId>org.wiremock</groupId>
<artifactId>wiremock</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -81,7 +86,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version>
<version>3.6.2</version>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<filters>
Expand Down Expand Up @@ -115,7 +120,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.46.0</version>
<version>0.49.0</version>
<executions>
<execution>
<phase>package</phase>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import cchesser.javaperf.workshop.health.RemoteServiceHealthCheck;
import cchesser.javaperf.workshop.resources.WorkshopResource;
import com.fasterxml.jackson.databind.SerializationFeature;
import io.dropwizard.Application;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;
import io.dropwizard.core.Application;
import io.dropwizard.core.setup.Bootstrap;
import io.dropwizard.core.setup.Environment;

public class WorkshopApplication extends Application<WorkshopConfiguration> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import cchesser.javaperf.workshop.cache.CacheConfiguration;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.Configuration;
import org.hibernate.validator.constraints.NotEmpty;
import io.dropwizard.core.Configuration;
import jakarta.validation.constraints.NotEmpty;

public class WorkshopConfiguration extends Configuration {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import com.fasterxml.jackson.annotation.JsonProperty;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;

public class CacheConfiguration {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.annotation.Nullable;
import org.jspecify.annotations.Nullable;
import java.util.Collections;
import java.util.List;
import java.util.UUID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import com.codahale.metrics.annotation.Timed;

import javax.print.attribute.standard.Media;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import jakarta.ws.rs.*;
import jakarta.ws.rs.core.MediaType;
import java.util.List;

@Path("/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,35 @@

import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
import static com.github.tomakehurst.wiremock.client.WireMock.get;
import static com.github.tomakehurst.wiremock.client.WireMock.stubFor;
import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.options;

import org.junit.Rule;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;

import com.github.tomakehurst.wiremock.junit.WireMockRule;
import com.github.tomakehurst.wiremock.WireMockServer;
import cchesser.javaperf.workshop.WorkshopConfiguration;

public class BaseTest {

@Rule
public WireMockRule wireMockRule = new WireMockRule(options().port(9090));
private final WireMockServer wireMockServer = new WireMockServer(options().port(9090));

@BeforeEach
void startWireMock() {
wireMockServer.start();
}

@AfterEach
void stopWireMock() {
wireMockServer.stop();
}

public void setupMock() {
stubFor(get(urlEqualTo("/sessions"))
wireMockServer.stubFor(get(urlEqualTo("/sessions"))
.willReturn(aResponse()
.withBodyFile("sessions.json")));

stubFor(get(urlEqualTo("/precompilers"))
wireMockServer.stubFor(get(urlEqualTo("/precompilers"))
.willReturn(aResponse()
.withBodyFile("precompilers.json")));
WorkshopConfiguration conf = new WorkshopConfiguration();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package cchesser.javaperf.workshop.data;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;

import java.util.List;

import org.junit.Test;
import org.junit.jupiter.api.Test;

/**
* Tests for {@link cchesser.javaperf.workshop.data.ConferenceSessionLoader}.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package cchesser.javaperf.workshop.data;

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;

import org.junit.Test;
import org.junit.jupiter.api.Test;

import cchesser.javaperf.workshop.data.Searcher.SearchResult;

Expand Down
Loading
Loading