Skip to content

Commit 79153e2

Browse files
committed
removing cors filter not that we use a proxy gateway
1 parent 6758459 commit 79153e2

File tree

5 files changed

+1
-86
lines changed

5 files changed

+1
-86
lines changed

quarkus-backend/pom.xml

-13
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727
</dependencies>
2828
</dependencyManagement>
2929
<dependencies>
30-
<dependency>
31-
<groupId>io.quarkus</groupId>
32-
<artifactId>quarkus-undertow</artifactId>
33-
</dependency>
3430
<dependency>
3531
<groupId>io.quarkus</groupId>
3632
<artifactId>quarkus-resteasy</artifactId>
@@ -51,17 +47,8 @@
5147
</dependency>
5248
<dependency>
5349
<groupId>io.quarkus</groupId>
54-
<artifactId>quarkus-kubernetes</artifactId>
55-
</dependency>
56-
<dependency>
57-
<groupId>io.quarkus</groupId>
5850
<artifactId>quarkus-resteasy-jsonb</artifactId>
5951
</dependency>
60-
<dependency>
61-
<groupId>com.google.guava</groupId>
62-
<artifactId>guava</artifactId>
63-
<version>28.1-jre</version>
64-
</dependency>
6552
</dependencies>
6653
<build>
6754
<plugins>

quarkus-backend/src/main/java/org/eclipse/chedemos/LoggingFilter.java

-30
This file was deleted.

quarkus-backend/src/main/java/org/eclipse/chedemos/PostResource.java

-5
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,11 @@
1515
import javax.ws.rs.core.MediaType;
1616
import javax.ws.rs.core.Response;
1717

18-
import com.google.common.base.Strings;
19-
20-
import org.jboss.logging.Logger;
21-
2218

2319
@Path("/posts")
2420
@Produces(MediaType.APPLICATION_JSON)
2521
@Consumes(MediaType.APPLICATION_JSON)
2622
public class PostResource {
27-
private static final Logger LOG = Logger.getLogger(PostResource.class);
2823

2924
public PostResource() {
3025
}

quarkus-backend/src/main/java/org/eclipse/chedemos/ResponseLoggingFilter.java

-29
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1-
# Configuration file
2-
# key = value
3-
quarkus.http.cors=true
4-
5-
# configure the MongoDB client for a single node cluster on localhost
6-
#quarkus.mongodb.connection-string = mongodb://admin:password@localhost
7-
#quarkus.mongodb.connection-string = mongodb://admin:${admin_password}@mongo
81
quarkus.mongodb.connection-string=${uri}
92
quarkus.mongodb.credentials.username=${username}
103
quarkus.mongodb.credentials.password=${password}
11-
# mandatory if you don't specify the name of the database using @MongoEntity
124
quarkus.mongodb.database=sampledb
135

14-
# final jar is uber and without suffix so it works with odo without additional
6+
# final jar is uber and without suffix so it works with odo without additional param
157
quarkus.package.uber-jar=true

0 commit comments

Comments
 (0)