Skip to content
Advertisement

Tag: amazon-web-services

How can you find out from spring cloud function that the connection you established to the database is closed?

In a spring cloud function usage, you don’t want your database connection to keep existing in the database. Once the spring cloud function finishes its process, is the following way to close the function appropriate? How do we validate if the spring cloud function inherently closes the connection even if we don’t do the implementation above? I saw the log

Missing data in response body

I have a web service(FastAPI) deployed on AWS EC2. In java client code, when I call the api, i got this error In postman, when I call this api, the response is returned but not enough like this image Seem the server (Fast API web service) do not return all data in response body. I already check this question, the

FileNotFoundException for properties file in aws-cdk

I’ve been trying to read a properties file and want it to be dynamic, I’m doing this in aws-cdk. My project layout: Main Project resources config.properties src main/java/com/myorg xxxstage.java The class xxxstage.java has following code: The line where I’m trying to print System.out.println(“inputStream is -> “+inputStream); is showing null, and hence the FileNotFoundException. It worth noting that this is working

SelfMutate stage failing with CodePipeline

I’m trying to create a CI/CD using CDK pipeline with the import software.amazon.awscdk.pipelines.CodePipeline in Java. This pipeline creates another stack named xxxJavaxxxStack. The pipeline is able to connect to external github, which, when change is detected, triggers the pipeline. In the class xxxPipelinexxxApp.java I’m calling both the stacks xxxJavaxxxStack and xxxPipelinexxxStack. I have successfully been able to cdk synth both

How to generate trace ID in AWS format

I would like to use opentelemetry-java-instrumentation with AWS OTEL collector and X-Ray. Unfortunately, AWS OTEL aws-xray exporter is not able to export generated traces to X-Ray because generated trace ID is invalid X-Ray trace ID: How to instrument my opentelemetry-java-instrumentation 1.7.0 to generate trace IDs in X-Ray format? I’ve tried to add aws extension + env variables: without success. Answer

Quarkus JWT Returning Unauthorized on deployment

I have a Quarkus project that expose some REST Endpoints. When working on dev mode or running from the local build docker container all work fine, those endpoints annotated with @RolesAllowed and @PermitAll work as supposed to be. But when I deploy to a AWS service with the following steps: Commit to Gitlab Run Gitlab CICD Send result with the

Limit number of requests(read, update, delete) if it exceeds the capacity of AWS Neptune Server?

I’m trying to implement some limits on the database requests made to the Neptune Server. The problem is: Multiple scheduled jobs that do analytics, logs, updates, deletions User activity, anything related to users: read, write, update, delete All of these request depending on when they occur can impact the performance of the database and the availability, so we get sudden

Advertisement