Skip to content

Commit

Permalink
feat: remove graphql from java (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
darmalovan authored Jan 24, 2024
1 parent a34913e commit 0cebc29
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 1,309 deletions.
7 changes: 0 additions & 7 deletions .framework/java/backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ plugins {
id 'org.springframework.boot' version '2.6.3'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id "com.netflix.dgs.codegen" version "5.0.6"
id "com.diffplug.spotless" version "6.2.1"
}

Expand Down Expand Up @@ -39,7 +38,6 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-devtools'
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2'
implementation 'com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter:4.9.21'
implementation 'org.flywaydb:flyway-core'
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2',
Expand Down Expand Up @@ -71,8 +69,3 @@ tasks.named('clean') {
delete './dev.db'
}
}

tasks.named('generateJava') {
schemaPaths = ["${projectDir}/src/main/resources/schema"] // List of directories containing schema files
packageName = 'io.spring.graphql' // The package name to use to generate sources
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,12 @@ protected void configure(HttpSecurity http) throws Exception {
.authorizeRequests()
.antMatchers(HttpMethod.OPTIONS)
.permitAll()
.antMatchers("/graphiql")
.permitAll()
.antMatchers("/actuator/**")
.permitAll()
.antMatchers("/health")
.permitAll()
.antMatchers("/api/ping")
.permitAll()
.antMatchers("/graphql")
.permitAll()
.antMatchers(HttpMethod.GET, "/api/items/feed")
.authenticated()
.antMatchers(HttpMethod.POST, "/api/users", "/api/users/login")
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 0cebc29

Please sign in to comment.