Tag: java
-
Are records syntactic sugar for classes?
11 I recently discovered Java records, and it was amazing to learn about their existence and purpose. However, I began to wonder if they are essentially just classes behind the scenes. Does this mean that during compilation, they get converted into an explicit class with final private fields, a public constructor, and the necessary getters?…
-
How to send a file in the request body for GraphQL API and Spring-boot application using postman?
0 I am using graphQL for my APIs and now I need to receive a file in the request as a multipart file, so how to send that file using Postman to my controller? @Data public class FileDTO { private MultipartFile smsFile; } @Controller public class SMSBulkController { @Autowired ParsingService parsingService; @MutationMapping public ApiResponse<String> uploadFile(@Argument…
-
Postman giving 401 Unauthorized upon adding graphql-java-client dependency in spring boot
-1 I am working on a spring boot project with gradle that calls an external graphQL service using GraphQLHTTP Client. For this, I imported the following dependency in my build.gradle: implementation group: ‘com.graphql-java-generator’, name: ‘graphql-java-client-dependencies’, version: ‘2.3.1’ However, when I try to hit any endpoint (API) upon addition of above dependency, I am getting 401…
-
How to convert JSON format of data to GraphQL query format
6 I have a Json object and want to convert it to graphql query in order to post a request on graphql api. Can any one please provide any pointer to it as I am not able to proceed. JSON object extracted from the POJO: { “customer”: { “idFromSource”: “123”, “title”: “Mrs”, “dateOfBirth”: “1980-11-11” }…
-
GraphQL with Spring Boot Security returning 403
0 I have been trying to implement GraphAPI methods authorization. But, always get 403. Environment: JDK 17 Spring Boot 3.1.5 MongoDB Spring Security Graph QL OS: MacOS JDK 17 My application file looks like: import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration; import org.springframework.context.annotation.EnableAspectJAutoProxy; @SpringBootApplication(exclude = {SecurityAutoConfiguration.class, UserDetailsServiceAutoConfiguration.class}) @EnableAspectJAutoProxy public class JoblobApplication { public static…
-
Spring Boot Starter GraphQL LazyInitializationException
0 I am currently implementing GraphQL into a system and am using Spring Boot 3.0.5 together with org.springframework.boot:spring-boot-starter-graphql to implement GraphQL schemas and queries. However there is a query that has issues. The relevant JPA entities: @Entity public class Video { @Id @Column(length = 24, nullable = false) private String videoId; @ManyToMany(mappedBy = "video") private…
-
GraphQL Java Developer – TUPPL Technology Inc – Remote
TUPPL Technology Inc Remote $60,000 – $65 Accepts corp to corp applications, Contract: W2 Skills GraphQL API Java SOFTWARE DEVELOPER Job Description SOFTWARE DEVELOPER- GRAPHQL Job Description: 1. 7+ years of experience in enterprise software engineering leadership roles at leading-edgecompanies2. BS in Computer Science, Electrical Engineering, Information Systems, or a similar field required3. Experience with…
-
Lead Java Fullstack Developer with GraphQL Expereince – K Source Inc – Remote
K Source Inc Remote Depends on Experience Contract: Independent, W2, 12 Month(s) Skills Java GraphQL Job Description Hi , This is Sagar from KSource Inc. We have an excellent job opportunity for you below is the JD please have a look. Job Title: Lead Software Engineer – Java/GraphQL Location: Remote Duration: 12+ months…
-
How to get TraceId and SpanID from OTEL Tracing
0 I am using SpringBoot and Graphql for a module as well using OTEL. I need spanID and traceID in the logs of the application. trace_id: OTel trace trace id, must be present in every log record produced in request context. span_id: OTel trace span id, must be present in every log record produced in…
-
Java Developer (GraphQL exp is Must) – Full time – Purple Drive Technologies LLC – Plano, TX
Purple Drive Technologies LLC Plano, TX Depends on Experience Full Time Skills Java GraphQL Job Description Role: Java Developer (GraphQL-MQTT) Plano, TX Java Spring applications, mainly GraphQL queries | Develop RESTful services | Messaging technologies such as MQTT brokers and Kafka | microservices architecture and containerization (e.g., Docker, Kubernetes) | AWS Cloud platform | Familiarity…