GithubHelp home page GithubHelp logo

hantsy / quarkus-sandbox Goto Github PK

View Code? Open in Web Editor NEW
72.0 4.0 27.0 3.91 MB

Quarkus playground

Home Page: https://hantsy.github.io/quarkus-sandbox/

License: GNU General Public License v3.0

Java 31.10% HTML 64.01% Shell 0.03% Kotlin 4.85%
quarkus resteasy jax-rs cdi docker graalvm kubernetes jpa hibernate kotlin

quarkus-sandbox's Introduction

Quarkus Sandbox

A personal sandbox project to experience the new features of the Quarkus framework.

Docs

Sample Codes

Name Description
resteasy-classic Simple CURD RESTful APIs using tranditional Resteasy, Hibernate/JPA
resteasy-reactive-pgclient Resteasy Reactive and Reactive Postgre client
resteasy-reactive Resteasy Reactive, Hibernate Reactive Repository, Smallrye Mutiny example.
resteasy-kotlin-co Resteasy Reactive/Kotlin Coroutines, Hibernate Reactive Repository, Smallrye Mutiny example.
resteasy-reactive-hibernate Resteasy Reactive, Hibernate Reactive Session API, Smallrye Mutiny example.
vertx-routes Simple CRUD RESTful APIs using Vertx Router and Reactive PgClient with Mutiny APIs.
spring CRUD RESTful APIs using Spring DI, Spring Data JPA, Spring WebMvc
multipart Multipart examples
amqp Reactive Messaging with AMQP connector and JAXRS SSE examples
GraphQL GraphQL example using MP GraphQL/Smallrye GraphQL
GraphQL Client GraphQL Client example using MP GraphQL/Smallrye GraphQL
mongodb-kotlin MongoDb/Resteasy/Kotlin/Mockk example
mongodb-kotlin-co MongoDb Reactive/Resteasy Reactive/Kotlin Coroutines example
restclient-classic Rest Client Classic Example
restclient-mutiny Rest Client Classic with Mutiny Example
restclient-reactive Rest Client Reactive Example
restclient-kotlin Rest Client using MP RestClient spec, but written in Kotlin
restclient-kotlin-co Rest Client Reactive/Kotlin Coroutines
restclient-jaxrs Rest Client using classic Jaxrs Client API
restclient-java11 Rest Client using Java 11 HttpClient API
restclient-vertx Rest Client using Vertx Mutiny WebClient API

The following examples used Java 8 or RxJava 2 based Reactive Postgres Client which is depreacted and not available in the latest Qukarus.

Name Description
java8 Simple CRUD RESTful APIs but using Java 8 CompletionStage and Reactive Postgre Client
rxjava2 CRUD RESTful APIs using RxJava 2 and Reactive Postgre client
vertx-routes Simple CRUD RESTful APIs using Vertx Router .
java8-hibernate-reactive Java 8 CompletablFuture, Hibernate Reactive Example.

References

quarkus-sandbox's People

Contributors

dependabot[bot] avatar hantsy avatar manaswinidas avatar rajadileepkolli avatar yrodiere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

quarkus-sandbox's Issues

Default port usage and hard-coded secrets

Greetings,

We are researchers and we are looking for insecure coding patterns and configurations in the microservice architecture repositories. In your repository, we have found instances of default port and hard-coded usernames and passwords.

According to a recent report default port usages must be avoided: https://www.bleepingcomputer.com/news/security/most-cyber-attacks-focus-on-just-three-tcp-ports/#:~:text=According%20to%20the%20report%2C%20the,(Hypertext%20Transfer%20Protocol%20Secure). We also found hard-coded usernames and passwords

Source: https://github.com/hantsy/quarkus-sample/blob/master/docker-compose.yml

Fix: #1

I am interested to know if you agree with the findings. Any feedback is appreciated.

Further details on default ports:

Data storage,  MySQL 3306, reff: https://dev.mysql.com/doc/mysql-port-reference/en/mysql-ports-reference-tables.html
Data storage,  Postgres 5432, reff: https://www.postgresql.org/docs/8.3/app-postgres.html 
Data storage,  MongoDB 27017, reff: https://docs.mongodb.com/manual/reference/default-mongodb-port/
Data transfer, rabbitMQ 5672, reff: https://www.rabbitmq.com/networking.html
Data transfer, Kafka 9092, reff: https://kafka.apache.org/07/documentation.html
Data transfer, HTTP, http 80 , 443 , reff: https://geekflare.com/default-port-numbers/  
Data storage,  Zookeeper 2181, reff: https://zookeeper.apache.org/doc/r3.1.2/zookeeperStarted.html
Monitoring,    zipkin 9411    , reff: https://zipkin.io/pages/extensions_choices

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.