"The future seems promising lets always be after it."
Get link
Facebook
X
Pinterest
Email
Other Apps
-
Day one
Hello brothers with unicon we gonna be discussing about programming in detail.The first thing that we will cover is the course scope, from scratch to advance.
12 Factors of a Scalable Microservice . I. Codebase One codebase tracked in revision control, many deploys A twelve-factor app is always tracked in a version control system, such as Git , Mercurial , or Subversion . A copy of the revision tracking database is known as a code repository , often shortened to code repo or just repo . A codebase is any single repo (in a centralized revision control system like Subversion), or any set of repos who share a root commit (in a decentralized revision control system like Git). There is always a one-to-one correlation between the codebase and the app: If there are multiple codebases, it’s not an app – it’s a distributed system. Each component in a distributed system is an app, and each can individually comply with twelve-factor. Multiple apps sharing the same code is a violation of twelve-factor. The solution here is to factor shared code into libraries which can be included through the dependency manager . Ther...
How to hide credentials in application.properties create env.properties add it to .gitignore env.properties after that inside it fill the credentials DB_DATABASE =NameofyourappSavedIntoYourDB DB_USER =yourUsername DB_PASSWORD =SuperStrongPassword API_KEY =superkey import it in application.properties this will enable to access it but still not committing the credentials spring .config .import =file:env .properties spring .datasource .url =jdbc: h2 :file:~/${DB_DATABASE} spring .datasource .username =${DB_USER} spring .datasource .password =${DB_PASSWORD}
Nice that
ReplyDelete