Tag: java
-
Software Engineer – Policy – Trustech Inc – Raleigh, NC
Trustech Inc Raleigh, NC $40 – $70 Contract: Independent Work from home 25% Travel Skills Java OPA Open Policy Agent AWS Cloud Spring RESTful API GraphQL Policy as Code Job Description Job Description: We are looking for a highly skilled and motivated Senior Java Developer to join our Workplace Security Services team. As a Senior…
-
GraphQL error : Method not allowed error for GraphQL requests with Spring 3.1.1
-1 I have upgraded spring boot to 3.1.1 and I am getting 405 method not allowed for graphql call. I tried all the known options. pom.xml <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-graphql</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> class @Controller public class DemoGraphQLResolver { @QueryMapping(name = "phoneNumber") public List<Party> phoneNumber(@Argument String phoneNumber) { return phoneNumber; } } I have .graphqls…
-
Sharing data between @QueryMapping and @SchemaMapping in Java Spring GraphQL
3 I have a schema defined as follows: enum CardType { TYPE_1 TYPE_2 } type Card { id: ID! } type Order { id: ID! cards: [Card]! } input OrderFilter { cardType: CardType } type Query { getOrders(orderFilter: OrderFilter): [Order] } Also, the following resolvers: @QueryMapping public List<Order> getOrders(@Argument OrderFilter orderFilter) { return this.orderService.get(orderFilter); }…
-
Historic timezone offsets in newer JDK versions
11 I found a weird java discrepancy while testing some timezones with the use of ZonedDateTime. I was trying to parse a date before 1970 and saw that the result changes between java versions. The offset for Netherlands in 1932 is +00:19. Does anyone know why this happens? I feel this might be related with…