pachamamita.de - In care of nature, simplicity and code
open-menu closeme
Home
Coding
Best Practices
Contact
Data Protection
mail mastodon gitlab rss
  • Multi-Tenant OpenID Connect Bearer Token Authentication with Quarkus

    calendar Jan 7, 2024 · 10 min read · Quarkus OIDC Authentication Authorization AWS Java  ·
    copy
    Multi-Tenant OpenID Connect Bearer Token Authentication with Quarkus

    Quarkus offers comprehensive support for authentication and authorization utilizing Open ID Connect (OIDC). This real-life example shows how a REST API for two frontends with tenants based on AWS Cognito and Keycloak can be secured using OIDC bearer authentication.


    Read Article
  • Asynchronously Calling REST Services in a Synchronous Quarkus Application

    calendar Dec 2, 2023 · 7 min read · Quarkus Mutiny RESTEasy Reactive Java  ·
    copy
    Asynchronously Calling REST Services in a Synchronous Quarkus Application

    A cool feature of Quarkus is that you can mix both synchronous and asynchronous paradigms and don't have to commit to just one. This can be very useful, for example, if you want to parallelize REST calls to third-party APIs in an otherwise synchronous backend.


    Read Article
  • Letting Quarkus Inject All Beans of a Type with the @All Annotation

    calendar Nov 12, 2023 · 3 min read · Quarkus Java  ·
    copy
    Letting Quarkus Inject All Beans of a Type with the @All Annotation

    With the @All annotation Quarkus offers an easy way to inject all available beans of a type. This example shows how the annotation can be utilized to elegantly avoid conditional statements and delegate the work of keeping track of all currently existing implementations of an interface to the CDI container.


    Read Article
  • Deploying CloudFront Access Log Analysis Infrastructure with CDK 2

    calendar Nov 2, 2023 · 5 min read · AWS CDK CloudFront Glue Athena Typescript Web  ·
    copy

    Enabling CloudFront access logs is a basic way of monitoring incoming requests. However, CloudFront writes these logs as gzip packed files into S3, which makes a convenient analysis difficult. AWS Glue together with AWS Athena allows the use of SQL to query these logs and this post explains the steps to deploy the necessary infrastructure with CDK 2.


    Read Article
  • Take Code Documentation Seriously

    calendar Sep 10, 2023 · 4 min read · Docs Java  ·
    copy

    Writing code that others can understand without hassle is an art. An important issue in this challenge is proper documentation of the code - not overly extensive, but also not the often encountered zero-documentation-way.


    Read Article
  • Why Medium-Sized Mastodon Instances Make Most Sense as of Today

    calendar Jul 3, 2023 · 7 min read · Mastodon Fediverse  ·
    copy

    Mastodon is free and open source and everyone can host their own instance. However, very small instances have disadvantages such as wasting resources while the large ones suffer from typical centralization effects. Joining a trustworthy mid-sized instance of choice is a good compromise.


    Read Article
  • Use @DisplayName and @Nested to Document and Structure JUnit Tests

    calendar Jun 18, 2023 · 4 min read · Java JUnit Testing Docs  ·
    copy

    JUnit offers great possibilities to write good tests with ease. Expressing the intention of tests and test classes with the @DisplayName annotation and structuring them with @Nested is a good practice, causes only minor effort and helps reducing the pain of adapting tests when the code under test has changed.


    Read Article
  • Building Docker Images with Kaniko on Kubernetes-based Gitlab Runners

    calendar May 29, 2023 · 6 min read · Kubernetes Docker GitLab  ·
    copy

    Enabling Docker images to be built in Docker containers can be annoying at times. In this post, I show how I solve this problem using kaniko, with the goal of building Docker images in GitLab pipelines with a self-hosted Kubernetes-based GitLab runner and pushing them into a private Docker registry.


    Read Article
  • Why I do not Recommend Google as Search Engine - A Little Experiment

    calendar Mar 12, 2023 · 7 min read · Big-Tech Web Surveillance-Capitalism  ·
    copy

    Google is still the most used search engine in the world with a market share of over 80% in January 2023. However, it has major drawbacks and there are good alternatives available like e.g. MetaGer, an open source, privacy respecting search engine run by the non-profit German association SUMA-EV.


    Read Article
  • Keeping Stateful and Stateless Resources in Separate Stacks in CDK

    calendar Feb 21, 2023 · 3 min read · AWS CDK  ·
    copy

    When deploying infrastructure as code with CDK it is a good practice to keep stateful resources like databases separated from stateless resources in different stacks to avoid accidental data loss and other problems.


    Read Article
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Gerhard Flothow photo

Gerhard Flothow

Freelance full stack software developer, wannabe ethical hacker with strong interest in infrastructure, software quality, security, privacy and the beauty of simplicity.
Taking care of Pachamama and its creatures.

"Cuando la sangre de tus venas retorne al mar y el polvo de tus huesos vuelva al suelo, quizás recuerdes que esta tierra no te pertenece a ti, sino que tú perteneces a esta tierra." - proverbio indígena Warming stripes showing the global warming from 1850 until 2022, here used as a separator

Featured Posts

  • Multi-Tenant OpenID Connect Bearer Token Authentication with Quarkus
  • Deploying CloudFront Access Log Analysis Infrastructure with CDK 2
  • Building Docker Images with Kaniko on Kubernetes-based Gitlab Runners

Recent Posts

  • Asynchronously Calling REST Services in a Synchronous Quarkus Application
  • Letting Quarkus Inject All Beans of a Type with the @All Annotation
  • Take Code Documentation Seriously
  • Why Medium-Sized Mastodon Instances Make Most Sense as of Today
  • Use @DisplayName and @Nested to Document and Structure JUnit Tests
  • Why I do not Recommend Google as Search Engine - A Little Experiment
  • Keeping Stateful and Stateless Resources in Separate Stacks in CDK
  • Unexpected SocketExceptions after AWS Lambda Execution

Categories

CODING 9 INFRASTRUCTURE 4 BEST-PRACTICES 3 ENVIRONMENT 1 PRIVACY 1

Tags

JAVA 7 QUARKUS 5 AWS 4 REACTIVE 3 RESTEASY 3 CDK 2 DOCS 2 WEB 2 ATHENA 1 AUTHENTICATION 1 AUTHORIZATION 1 BIG-TECH 1 CLOUDFRONT 1 DOCKER 1
All Tags
ATHENA1 AUTHENTICATION1 AUTHORIZATION1 AWS4 BIG-TECH1 CDK2 CLOUDFRONT1 DOCKER1 DOCS2 FEDIVERSE1 GITLAB1 GLUE1 JAVA7 JUNIT1 KUBERNETES1 LAMBDA1 MASTODON1 MUTINY1 OIDC1 QUARKUS5 REACTIVE3 RESTEASY3 SURVEILLANCE-CAPITALISM1 TESTING1 TYPESCRIPT1 WEB2
[A~Z][0~9]
pachamamita.de - In care of nature, simplicity and code

© 2023- Gerhard Flothow. Unless otherwise stated, all source code is licensed under GNU AGPL v3 and all post content is licensed under CC BY-SA 4.0.
Made with ❤ on Pachamama. Powered by Hugo.

to-top