Yesterday I tried to test a bit Spring Native with GrallVM and JPA, after half a day of trying I had to give up, but it’s not the end of the story….
Category: Uncategorized
Amazon SES troubleshooting?
Even if we did everything as in Amazon docs, we may get this problem: An error occurred (SignatureDoesNotMatch) when calling the SendRawEmail operation: The request signature we calculated does not match the…
Jasypt problem
If you have problems with jasypt on M1 it could be that it’s not related to M1 arch itself but java version on it: https://stackoverflow.com/questions/63114412/java-jasypt-suddenly-crashes – first comment solves it without downgrading…
Microservices design
I feel pretty confortable with microservices, Docker, k8s and AWS, as the developer, but first time I have to design whole system, so I decided to improve my skills around above topics….
Amazon SQS resources
Spring Boot: https://cloud.spring.io/spring-cloud-static/spring-cloud-aws/2.0.0.RELEASE/multi/multi__messaging.htmlhttps://medium.com/@tiraarthur/amazon-sqs-with-spring-boot-example-c15f90938908 NodeJS: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/sqs-examples-send-receive-messages.html For NodeJS to send message to SQS permissions, Lambda must have AmazonSQSFullAccess or narrower policy. The code can look like:
Moved to WordPress
I had no time to update Elixir/Phoenix version for such tiny “project”, so I moved to WordPress, and give myself also some opportunities to configure this site (yeah it’s not only deployment…
SFTP upload from SpringBoot microservice
I haven’t dedicated server with enabled SFTP, but I have local Ubuntu instance without SFTP (18.04.4 LTS) – for testing I just created first SFTP service with help of: https://linuxconfig.org/how-to-setup-sftp-server-on-ubuntu-18-04-bionic-beaver-with-vsftpd. All worked…
Non-blocking main thread sleep alternative
I had to test some Java native concurrent code, and I had to mock some service with long running call the good solution for this purpose I found: https://medium.com/my-random-thoughts-in-software-engineering/get-rid-of-thread-sleep-e2abf3cadb6. My snippet is…
Airframe React
I found this very nice project, with tons of functionality and easy of usage same time. Usually for same quality we need to pay a lot of money, but here we get…
OpenAPI
Very useful article for splitting YAML into multiple files using $ref: https://apihandyman.io/writing-openapi-swagger-specification-tutorial-part-8-splitting-specification-file/.