4/19/2024

chat.openai.com & Quarkus

 I have test the OpenAI by using the following link : 

 - https://chat.openai.com/g/g-UT45kboQv-quarkus-copilot

After I have "Sign in" with my Google account, I have give the following message: 

"create a rest application with a controller with crud actions for orders and another controller with crud actions for items of the orders, with one-to-many relation, in Quarkus using Panache, Repositories, Mysql data base. Write Unit Tests for controllers and repositories."(*)


RESPONSE:

(*) Update last sentence and it generate also the tests:

create a rest application with a controller with crud actions for orders and another controller with crud actions for items of the orders, with one-to-many relation, in Quarkus using Panache, Repositories, Mysql data base. Write Unit Tests with Rest Assured for the controllers and repositories created.



JWT Token authentication with Quarkus

Here are some usefull links for JWT in Quarkus:





Videos:

QUARKUS - "The new kid on the block"

Here are some useful links related with Quarkus


Quarkus for Spring Developers - Quarkus

Quarkus - OpenAPI Generator :: Quarkiverse Documentation

Writing REST Services with Quarkus REST (formerly RESTEasy Reactive) - Quarkus

Java Web App with Quarkus and JPAStreamer – Tutorial (youtube.com)

Deploying to Kubernetes :: Quarkus Tutorial (redhat-developer-demos.github.io)

Simplified Hibernate ORM with Panache - Quarkus

Home of Quarkus Cheat-Sheet (lordofthejars.github.io)

API-first development with Quarkus (robertopiva.pro)

Quarkus - All configuration options

Microservices with Quarkus – GraphQL API+ Reactive MySQL – Dumi's Blog (wordpress.com)

How to add Swagger to Quarkus - Geeky Hacker

Building REST APIs with Quarkus - Geeky Hacker

My thoughts on Active record pattern - Geeky Hacker

Quarkus for Architects who Sometimes Write Code - Being Persistent - Part 01 - Upstream - Without A Paddle (upstreamwithoutapaddle.com)

Quarkus for Architects who Sometimes Write Code - Being Persistent - Part 03 - Upstream - Without A Paddle (upstreamwithoutapaddle.com)

Getting started with Quarkus |Quarkus Tutorial | Jhooq

Tutorial: Quarkus do Zero até o Deploy no Heroku, utilizando Quarkus Java + REST + CDI + Panache, Hibernate com Postgres + Postman | by Marcus Paulo | Medium

Welcome to Quarkus: Supersonic, Kubernetes-Native Java Framework - Exceptionly

- https://marcelloraffaele.github.io/from-microservices-to-kubernetes-with-quarkus-2/


Validation:

Validation with Hibernate Validator - Quarkus


Errors:

REST API error modeling with Quarkus 2.0 | Red Hat Developer


Properties:

How to bind properties into a Map in Quarkus – Jose Carvajal – Passionate Software Engineer (sgitario.github.io)

-Update Custom Properties in Quarkus at Runtime – Jose Carvajal – Passionate Software Engineer (sgitario.github.io)

How to Debug:

How to debug Quarkus applications - Mastertheboss


Security:

Quarkus Security Securing rest api with HTTPS | Jhooq

GitHub - ilyes12zouaoui/quarkus-microservices-with-jwt

Secure REST APIs in Quarkus using Basic Auth - Geeky Hacker

- Quarkus - Authentication and Authorization With Persistence (blackslate.io)

Authentication and Authorization Using JWT on Quarkus | by Ardiansyah | Medium

Build a Java REST API With Quarkus - DZone


Qute (is like Thymeleaf) :

Quarkus | IntelliJ IDEA Documentation (jetbrains.com)

Quarkus Qute – A Test Ride - Gunnar Morling

Qute Quarkus | Some developer’s blog (rikcarve.github.io)

Quarkus Web Bundler - Main Concepts :: Quarkiverse Documentation

Qute: a Template Engine for Quarkus applications - Mastertheboss

Active record pattern:

My thoughts on Active record pattern - Geeky Hacker


MapStruct :

Using MapStruct within Quarkus. Mapping between beans is always… | by Evren Tan | Developers Keep Learning | Medium

MapStruct and Quarkus - a match made in heaven? – MapStruct


Database & Quarkus:

Connect a Quarkus app to an external SQL Server database | Red Hat Developer

Creating a CRUD shopping service with Quarkus, Hibernate Reactive ORM Panache and PostgreSQL using Active Record Pattern | by David | Geek Culture | Medium

How Quarkus simplifies Java persistence | Red Hat Developer


Testing:

Quarkus Test Framework – Jose Carvajal – Passionate Software Engineer (sgitario.github.io)

Development and Testing of Quarkus applications using Testcontainers

Testing Quarkus Applications | Baeldung

Quarkus Testing with Test Containers – Jose Carvajal – Passionate Software Engineer (sgitario.github.io)

Quarkus tests with Testcontainers and PostgreSQL - Java Code Geeks

Quarkus and Testcontainers - Gunnar MorlingTesting Quarkus Web Applications: Writing Clean Component Tests - InfoQ

Integration Testing using Quarkus, JUnit 5, and Testcontainers. | by Andres Solorzano | Medium


Testcontainers:  

Advanced Testing with Quarkus - Piotr's TechBlog (piotrminkowski.com)


Panache:

Introduction to Panache (thorben-janssen.com)

Quarkus Panache Active Record vs. Repository Pattern - Sebastian Daschner (sebastian-daschner.com)

Data Persistence with Quarkus and Hibernate Panache - Mastertheboss

Quarkus Persistence, CRUD with Panache. | Javarevisited (medium.com)

Part 2: Quarkus Persistence, CRUD with Panache. E-commerce example. | by George Sotiropoulos | Javarevisited | Medium

Split your Monolith into Microservices.How. | Javarevisited (medium.com)

Persistence With Quarkus Panache - Sebastian Daschner (sebastian-daschner.com)

Simplified Hibernate Reactive with Panache - Quarkus

Panache - Active Record Pattern (thorben-janssen.com)

Creating a CRUD shopping service with Quarkus, Hibernate Reactive ORM Panache and PostgreSQL using Active Record Pattern | by David | Geek Culture | Medium

-PanacheEntity (Quarkus - Hibernate ORM with Panache - Runtime 0.19.0 API) (javadoc.io)

Hibernate ORM with Panache in Quarkus - In Relation To


Keycloack:

Getting started with Keycloak powered by Quarkus - Mastertheboss

We look into Keycloak and OpenID using Quarkus (youtube.com)

- https://medium.com/@swechhajha12/setting-up-keycloak-identity-in-your-local-sandbox-a-step-by-step-guide-19a184d69be1

Authentication and authorization using the Keycloak REST API | Red Hat Developer


Other links related:

quarkus-rest 0.1.0 · laminba2003/quarkus-rest (artifacthub.io)

quarkus 0.0.5 · thegusmao/agusmao-charts (artifacthub.io)

API-first development with Quarkus (robertopiva.pro)

How to bind properties into a Map in Quarkus – Jose Carvajal – Passionate Software Engineer (sgitario.github.io)

Deploy Quarkus Apps into the Cloud – Jose Carvajal – Passionate Software Engineer (sgitario.github.io)

Kickstart your first Quarkus application | Quarkus Cookbook (hantsy.github.io)


Videos:

Quarkus for Spring Developers | Red Hat Developer

- Why You Want to Code With Quarkus in 2023 (youtube.com)

Catarina teaser (new logo) (youtube.com)

Run Quarkus inside docker | Dockerizing a Quarkus Application (youtube.com)

Tracing a Quarkus microservice with Jaeger (youtube.com)

Authentication and Authorization using JWT Token and Roles-Based Access Control | Quarkus Tutorial (youtube.com)

OpenId Connect and JSON Web Token Security in Quarkus by Stuart Douglas & Sergey Beryozkin (youtube.com)

Bing Videos


Upload files:

Uploading Files With Quarkus (Update) (youtube.com)


Docker:

Run Quarkus inside docker | Dockerizing a Quarkus Application | Jhooq

Docker Desktop: The #1 Containerization Tool for Developers | Docker

4 Ways to copy file from localhost to docker container | Jhooq

Implementing Docker-based PostgreSQL Database in Quarkus: External PostgreSQL Connection (trycatchdebug.net)

Quarkus remote dev in Docker containers (Update) - Sebastian Daschner (sebastian-daschner.com)

Tutorial: Quarkus App with Docker (htl-leonding-college.github.io) !!!

Kickstart your first Quarkus application | Quarkus Cookbook (hantsy.github.io)

Deploying Quarkus/PostgreSQL and Angular/Nginx on Heroku as containers | by Felipe Windmoller | Medium

Tutorial: Quarkus App with Docker (htl-leonding-college.github.io)

Quarkus remote dev in Docker containers (Update) - Sebastian Daschner (sebastian-daschner.com)

Containerize Java Project. Log : 001 | by Wajeeh Ahmed | Mar, 2024 | Medium

How to Deploy Quarkus App in Docker (youtube.com)

- https://dev.to/marcuspaulo/tutorial-publish-a-quarkus-application-in-kubernetes-minikube-and-dockerhub-36nd


Jaeger :

Demo for using opentracing/jaeger with quarkus | opentracing-quarkus (guhilling.github.io)

MicroProfile-OpenTracing with Supersonic Subatomic Quarkus | by Pavol Loffay | JaegerTracing | Medium

Quarkus - Using OpenTracing

Distributed Tracing with Quarkus, Python, Open Telemetry and Jaeger (Part 1) | by Heiko W. Rupp | ITNEXT

Step by step guide for microservice using Quarkus . | Medium


Grafana:

quarkus-grafana-dashboard/screenshot.png at master · lwitkowski/quarkus-grafana-dashboard · GitHub

-Monitoring Quarkus with Prometheus and Grafana - Exceptionly


Deploy on Cloud:

Deploy Quarkus Apps into the Cloud – Jose Carvajal – Passionate Software Engineer (sgitario.github.io)

Tutorial: Publish a Quarkus application in Kubernetes, Minikube and Dockerhub - DEV Community

Running a Quarkus Native Application on Render - Gunnar Morling

Guide to Quarkus on Kubernetes - Piotr's TechBlog (piotrminkowski.com)

Building and Deploying Cloud-Native Quarkus-based Java Applications to Kubernetes | by Gary A. Stafford | ITNEXT


Monitoring:

Monitoring Quarkus apps with Prometheus into OpenShift – Jose Carvajal – Passionate Software Engineer (sgitario.github.io)

Monitoring Quarkus apps with Prometheus into OpenShift – Jose Carvajal – Passionate Software Engineer (sgitario.github.io)


Microservices:

Implementing Microservicilities with Quarkus and MicroProfile - InfoQ


Deploy :


 ArC 

https://github.com/quarkusio/quarkus/tree/master/independent-projects/arc


CDI limitations 

https://quarkus.io/guides/cdi-reference#limitations


CDI 

https://jcp.org/en/jsr/detail?id=365


JavaBeans 

https://en.wikipedia.org/wiki/JavaBeans 


Expression Language 

https://jakarta.ee/specifications/expression-language 


Observer Pattern 

https://en.wikipedia.org/wiki/Observer_pattern 


Quarkus Configuration 

https://quarkus.io/guides/all-config 


Configuration

https://microprofile.io/project/eclipse/microprofile-config 


Configuration GitHub 

https://github.com/eclipse/microprofile-config 


JUL 

https://docs.oracle.com/en/java/javase/11/docs/api/java.logging/java/util/logging/package-summary.html 


JBoss 

Logging https://github.com/jboss-logging/jboss-logging


SLF4J

 http://www.slf4j.org/ 102


Commons Logging 

https://commons.apache.org/proper/commons-logging 


GELF

 https://www.graylog.org/features/gelf 


Sentry 

https://sentry.io 


Syslog 

https://en.wikipedia.org/wiki/Syslog


Logging format string 

https://quarkus.io/guides/logging#format-string 


SimpleDateFormat https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/SimpleDateFormat.htm

4/16/2024

Spring -> Useful links

About Spring: 

Spring Boot 3 in 6 minutes - YouTube

Spring Boot Project Development : REST API + Data JPA + MySQL DB (youtube.com)

Bootiful Spring Boot 3 by Josh Long (youtube.com)

Bootiful Spring Boot 3 | Josh Long at Porto Tech Hub Conference 2023 - YouTube

let's code: Spring Boot, part 4 (youtube.com)  {todo}
Spring Data JPA - Reference Documentation
Building Fast and Scalable Persistence Layers with Spring Data JPA (youtube.com)


1.Spring IOC Container :

Demystifying Spring Internals (youtube.com)

Introduction to the Spring IoC Container and Beans :: Spring Framework

Inversion of Control and Dependency Injection with Spring | Baeldung

-Top 50 Spring IOC interview questions | by Piyu Jain | JavaToDev | Medium


2.Spring MVC

-Getting Started | Serving Web Content with Spring MVC

Spring MVC Tutorial | Baeldung


3.Testing

REST Assured Tutorial: Getting Started and Setting Up Your Environment | by Nao | Medium

Test a REST API with Java | Baeldung

How to Use Rest Assured and Spring Boot Test For API Testing | by Yauheni Lukashkin | Better Programming

Rest Assured Tutorial for REST API Automation Testing (toolsqa.com)

REST-assured Support for Spring MockMvc | Baeldung

Getting Started | Testing the Web Layer (spring.io)

Testing with JUnit 5 and Spring (youtube.com)

Things I Wish I Knew When I Started Testing Spring Boot Applications (youtube.com)


4.Spring Acuator

Spring Boot Actuator Web API Documentation

The #1 Spring Boot Starter you should include in every single application (youtube.com)

Spring Boot Actuator | Baeldung

Spring Boot Actuator - javatpoint

Spring Boot Observability Uncovered: Enabling & Using the Observation API - YouTube

    - Instrumenting a library · OpenZipkin

Observability of Your Application by Marcin Grzejszczak & Tommy Ludwig @ Spring I/O 2023 - YouTube

Observability of Your Application - YouTube


5.Spring Data JPA

PowerPoint Presentation (sqltutorial.org)

A4 SQL Basics Cheat Sheet (learnsql.com)

Spring Data JPA

Entity Relationship In JPA/Hibernate/ORM - JavaTechOnline

Building Fast and Scalable Persistence Layers with Spring Data JPA | PPT (slideshare.net)


6.OAuth2 Spring

GitHub - galeaaugustin/clujproducts

Spring Security JWT: How to secure your Spring Boot REST APIs with JSON Web Tokens - YouTube

Spring Security 5 - OAuth2 Login | Baeldung

OAuth2 Login Made Easy in Java: A Spring Boot & Spring Security Walkthrough (danvega.dev)

How to Secure your REST APIs with Spring Security & JSON Web Tokens (JWTs) (danvega.dev)

Spring Office Hours: Episode 11 - Spring Security, JWTs & oAuth (youtube.com)

Secure REST API using Spring Boot | Toptal®

Spring Boot + React: JWT Authentication with Spring Security - BezKoder
Spring Boot + React + MySQL: CRUD example REST APIs - BezKoder
React + Spring Boot: Pagination example - BezKoder

OAuth2 :: Spring Security

Spring REST API + OAuth2 + Angular | Baeldung

OAuth 2.0 Configuration in Spring Boot | by Nagarjun Nagesh | Feb, 2024 | Medium

Spring Boot OAuth2 | Securing REST API | Java Development Journal (javadevjournal.com)

Spring Boot, Security, PostgreSQL, and Keycloak REST API OAuth2 (djamware.com)

Going Full OAuth with the new Spring Authorization Server in Spring Boot 3.1! #oauth2 #oauth (youtube.com)

Spring Tips: The Spring Authorization Server (youtube.com)


7.Spring integration

Spring Integration

Introduction to Spring Integration | Baeldung

Getting Started | Integrating Data (spring.io)

Simplify EAI Patterns with Spring Integration | Medium

Spring Integration Full Example - Java Code Geeks

spring-integration Tutorial => Getting started with spring-integration (riptutorial.com)



Sources:

 - GitHub - galeaaugustin/clujproducts





QUARKUS & GraphQL

 QUARKUS & GraphQL https://www.geeksforgeeks.org/graphql-tutorial/ https://quarkus.io/guides/smallrye-graphql-client https://www.mastert...