DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Curious about the future of data-driven systems? Join our Data Engineering roundtable and learn how to build scalable data platforms.

Data Engineering: The industry has come a long way from organizing unstructured data to adopting today's modern data pipelines. See how.

Threat Detection: Learn core practices for managing security risks and vulnerabilities in your organization — don't regret those threats!

Managing API integrations: Assess your use case and needs — plus learn patterns for the design, build, and maintenance of your integrations.

Avatar

Carmine DiMascio

Senior Software Engineer at IBM

West Roxbury, US

Joined Dec 2017

https://cdimascio.github.io/

About

twitter: @CarmineDiMascio

Stats

Reputation: 147
Pageviews: 123.4K
Articles: 4
Comments: 3
  • Articles
  • Comments

Articles

article thumbnail
APIs With Node.js and Express: Automatically Validate API Requests Using an OpenAPI 3 Specification
In this article, we’ll see how an OpenAPI specification can be used to automatically validate API requests.
Updated April 1, 2019
· 26,738 Views · 7 Likes
article thumbnail
UUIDs With MongoDB and Node.js
Let's take a quick look at UUIDs with MongoDB and Node.js and also explore an example of how to use uuid-mongodb to query MongoDB.
September 12, 2018
· 20,441 Views · 3 Likes
article thumbnail
Non-Blocking REST APIs With Kotlin, Spring 5, Swagger, and Project Reactor
In this article, I will describe how to bootstrap a new Spring 5 project that integrates Kotlin, Spring Webflux functional, Project Reactor, Swagger, Gradle, and JUnit.
January 23, 2018
· 32,498 Views · 15 Likes
article thumbnail
dotenv for Java and the JVM
Wish configuring your microservices was easy? Well, while it started with Ruby, dotenv has a Java port that brings configuration into a single method.
January 3, 2018
· 43,673 Views · 14 Likes

Comments

Non-Blocking REST APIs With Kotlin, Spring 5, Swagger, and Project Reactor

Nov 09, 2018 · Carmine DiMascio

Thanks for the suggestion, Christophe. I agree. I've modified the template to utilize functional boundaries. As for injecting the configuration, I've opted not to to that. Injection enables the implementation to be overriden e.g. in tests. Given, the purpose of dotenv is to manage environment configuration e.g. test env, its better to not provide that option.

dotenv for Java and the JVM

Jan 03, 2018 · Carmine DiMascio

You could just set environment variables.

That is essentially the point. The twelve factor config tenet recommends just that. dotenv helps with ergonomics. The FAQ section on Node's dotenv page addresses some of your questions around usage.

dotenv for Java and the JVM

Jan 03, 2018 · Carmine DiMascio

Dotenv was initially created by the Ruby community to comply with the twelve factor configuration tenet . The idea behind it is to manage application configuration with environment variables, thus helping to ensure apps are easily portable from environemnt to environment.

Dotenv has already been ported to numerous languages, thus making it possible to apply these same methods to all such applications. If you buy into this idea, dotenv is for you.If you don't, then yes there a many, many alternative configuration options available.

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: