Skip to content

Commit

Permalink
Add V7 Test
Browse files Browse the repository at this point in the history
Remove Open Tracing
Add Telemetry
  • Loading branch information
majidmostafavi committed Feb 12, 2024
1 parent 8e4e2d7 commit ecd7897
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/it/java/org/eclipse/microprofile/starter/APITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public class APITest {
final Client client = ClientBuilder.newBuilder().build();

private WebTarget target;
private File v7Matrix;
private File v7MatrixServers;
private File v6Matrix;
private File v6MatrixServers;
private File v5Matrix;
Expand All @@ -63,6 +65,8 @@ public class APITest {
@Before
public void before() {
target = client.target(API_URL);
v7Matrix = new File(getClass().getClassLoader().getResource("json_examples/v7/supportMatrix.json.segments").getFile());
v7MatrixServers = new File(getClass().getClassLoader().getResource("json_examples/v7/supportMatrix_servers.json.segments").getFile());
v6Matrix = new File(getClass().getClassLoader().getResource("json_examples/v6/supportMatrix.json.segments").getFile());
v6MatrixServers = new File(getClass().getClassLoader().getResource("json_examples/v6/supportMatrix_servers.json.segments").getFile());
v5Matrix = new File(getClass().getClassLoader().getResource("json_examples/v5/supportMatrix.json.segments").getFile());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ private void init() {
.add(MicroprofileSpec.HEALTH_CHECKS, "4.0")
.add(MicroprofileSpec.OPEN_API, "3.1")
.add(MicroprofileSpec.REST_CLIENT, "3.0.0")
.add(MicroprofileSpec.OPEN_TRACING, "3.0")
.add(MicroprofileSpec.METRICS, "5.0")
.add(MicroprofileSpec.TELEMETRY,"1.0"));
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package org.eclipse.microprofile.starter.rest;

import javax.ws.rs.Path;

@Path("/7")
public class APIEndpointV7 extends APIEndpointLatest {
// The current latest version
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{"configs":{"
MP33":{"supportedServers":["
]},"MP32":{"supportedServers":[
]}},"descriptions":{"CONFIG":"Configuration - externalize and manage your configuration parameters outside your microservices","OPEN_API":"Open API - Generate OpenAPI-compliant API documentation for your microservices","HEALTH_CHECKS":"Health - Verify the health of your microservices with custom verifications","REST_CLIENT":"Rest Client - Invoke RESTful services in a type-safe manner","FAULT_TOLERANCE":"Fault Tolerance - all about bulkheads, timeouts, circuit breakers, retries, etc. for your microservices","JWT_AUTH":"JWT Propagation - propagate security across your microservices","TELEMETRY":" Telemetry - pulls in Telemetry Tracing and integrate with CDI and Jakarta RESTful Web Services","METRICS":"Metrics - Gather and create operational and business measurements for your microservices","GRAPHQL":"GraphQL - GraphQL is a query language for APIs and a library for fulfilling those queries with your existing data."}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"LIBERTY":[{"mpVersion":"MP12","mpSpecs":["CONFIG","FAULT_TOLERANCE","JWT_AUTH","METRICS","HEALTH_CHECKS","GRAPHQL"],"javaSEVersions":["SE8","SE11"],"buildTools":["MAVEN","GRADLE"]}
"WILDFLY_SWARM":[{"mpVersion":"MP12","mpSpecs":["CONFIG","FAULT_TOLERANCE","JWT_AUTH","METRICS","HEALTH_CHECKS"],"javaSEVersions":["SE8"],"buildTools":["MAVEN"]}]
"QUARKUS":[{"mpVersion":"MP32","mpSpecs":["CONFIG","FAULT_TOLERANCE","JWT_AUTH","METRICS","HEALTH_CHECKS","OPEN_API","TELEMETRY","REST_CLIENT"],"javaSEVersions":["SE8","SE11"],"buildTools":["MAVEN","GRADLE"]}]

0 comments on commit ecd7897

Please sign in to comment.