Skip to main content

Questions tagged [configuration]

Configuration is an arrangement of functional units according to their nature, number, and chief characteristics.

Filter by
Sorted by
Tagged with
5 votes
3 answers
529 views

I am working on an executable program - an application or utility. At some point, I want to introduce a new option (to be considered at run-time rather than build-time); the option may be boolean, ...
einpoklum's user avatar
  • 2,808
2 votes
3 answers
184 views

I’m building a framework with many parallel implementations of strategy patterns, and I want to know the best way to handle the user’s choice of the set of strategies. E.g. I want to calculate the ...
armoured-moose's user avatar
0 votes
2 answers
442 views

I have a game server implemented in Python to which clients can connect and play against each other. I'd like to be able to reload configuration from a config file without restarting the server (as ...
luator's user avatar
  • 111
0 votes
1 answer
180 views

I have multiple Flutter Android app projects that have different compatibilities of Java. Now, what should I do if I am developing more than one project simultaneously? If the first one uses Java 17, ...
DevQt's user avatar
  • 131
2 votes
2 answers
1k views

Currently, I'm working on an application with a microservice architecture. Each screen may corresponds to a separate microservice, and each screen has its own unique validation logic. Some screens ...
procrastinator1771's user avatar
1 vote
5 answers
1k views

There's a (mis)conception that you don't have to test configuration But what if your configuration is in the form of runnable code? What if it's not just static values? I wrote an abstraction for ...
Sergey Zolotarev's user avatar
5 votes
6 answers
1k views

TL;DR why do people pick YAML/JSON/ini/TOML/XML/plain text to configure applications/packages instead of having the configuration be defined in source files the application/package is written in? I ...
Jared Smith's user avatar
  • 1,935
2 votes
1 answer
152 views

I'm trying to wrap my head around the ASP.NET Core Configuration system. If I understand the default configuration correctly, non-prefixed environment variables will override appsettings.json entries. ...
Heinzi's user avatar
  • 9,868
35 votes
7 answers
7k views

This is the situation that I've seen two times in a row already. A company makes software intended to be sold to other companies. So there will be relatively few clients, but each is an important one. ...
gaazkam's user avatar
  • 4,529
0 votes
1 answer
375 views

When writing code on a desktop pc as well as on a laptop or other computer, is there a general recommended strategy for being able to keep the same environments set up on both machines? I use Git ...
Bigbob556677's user avatar
1 vote
2 answers
635 views

I'm not sure how to manage configuration settings in a C#/.NET environment. For simplicity lets say I have 3 assemblies: My MainApplication is the project being started and containing the business ...
NoConnection's user avatar
1 vote
2 answers
265 views

There is a string field x, contains value a/b/c/d The order of a/b/c/d is changed infrequently , only once a year or several years. What is the best approach to store this config? Currently , it's ...
hieu.do's user avatar
  • 19
35 votes
6 answers
10k views

The system I'm working on started as a small training project within the company I work for but quickly caught interest from management as a means to help to standardize the existing excel-heavy ...
ElderFuthark's user avatar
0 votes
1 answer
661 views

I am writing a custom python package, which produces some files in a certain directory. This directory I call root_path and should be set by the user. So basically, it should be a conf variable but ...
Corram's user avatar
  • 103
18 votes
5 answers
4k views

I have a program that runs on command-line, let's call it myprogram 1.0.1. It's published on GitHub. Now I discovered that name already exist for a well-know software, so I want to change the name ...
Lawrence's user avatar
  • 309
2 votes
1 answer
174 views

I'm designing an algorithm that matches entries based on some notion of "proximity" (for the sake of discussion, assume we're matching floats). Furthermore: The input is a scalar and a ...
Dev-iL's user avatar
  • 233
0 votes
5 answers
341 views

I have a simulation in Python which reads its configuration from a toml file. Since I have tons of parameters, the toml file can grow quite large. This is an example file, similar in structure to my ...
jfaccioni's user avatar
  • 516
-1 votes
1 answer
302 views

I thought, In a microservice architecture, only the "Configuration Server" will be responsible for providing configuration to individual microservices even if it's a small config. So that we ...
jamilxt's user avatar
0 votes
1 answer
1k views

I am building a new Python library project to be consumed by several of my application projects. The existing code consumes environment variables for various configuration settings. Should my ...
Brian's user avatar
  • 183
0 votes
2 answers
156 views

I am trying to convince others that the following first code snippet is bad practice and the second snippet is best practice. Bad practice: // There is only one implementation of Adapter public ...
Daniel W.'s user avatar
  • 555
1 vote
1 answer
519 views

As part of a microservice-based system design, I'm struggling to decide where system configurations should reside in terms of domain ownership. For example, let's assume I'm designing a "store ...
sborpo's user avatar
  • 163
2 votes
4 answers
3k views

Why most frameworks (at least in PHP. I suppose in other languages, too) use the environment variables to set a corresponding configuration parameter and then access the value through a config object/...
Alexandros Gougousis's user avatar
13 votes
8 answers
5k views

I want a configuration file for a .NET program. This file is to configure pairs of regular expressions. The regular expressions belong within a hierarchy of sections. Section1 SubsectionA ...
ChrisW's user avatar
  • 3,427
0 votes
1 answer
832 views

I am working on removing obsolete/unused pieces of configuration from a .NET product starting with appSettings. There are multiple solutions and I've noticed that appSettings can be in a .config file ...
Astrophe's user avatar
  • 113
-1 votes
2 answers
2k views

For our software development process we used to set up 3 environments : integration , QA and master. Recently it was decided to add a new staging environment that shall mirror the production ...
Youssef's user avatar
  • 19
-1 votes
1 answer
105 views

Consider this hypothetical scenario. I have a user form that has a collection of controls that are made available/unavailable based on certain criteria. One important criterion is product type. On ...
amarsha4's user avatar
  • 176
1 vote
3 answers
6k views

I'm trying to get a good understanding as to whether there is a best practice or standard regarding keeping values within your code libraries or referencing them from another config file. I don't ...
Kyle's user avatar
  • 13
0 votes
1 answer
182 views

I'm dealing with a system where: A number of around 50 microservices are available Depending on their needs, clients design their deployment choosing which of those microservices they need Most of ...
Chirlo's user avatar
  • 123
1 vote
1 answer
270 views

I am working on a personal project for more than 6 months now, this project is composed of three distinct parts, simulation (wrapping a software), database related stuff (store the simulated data in a ...
th0mash's user avatar
  • 13
4 votes
2 answers
2k views

Given an application having: Configuration Files (xml or json) An Automated Deployment Process After the deployment the configuration files can be modified by users. When deploying a new version of ...
Chedy2149's user avatar
  • 577
0 votes
2 answers
170 views

I'm working on a system with a user-facing frontend and with 1-n backend services which I'm trying to design according to the principles of the Twelve-Factor App. I'm now facing the task of sending ...
Kirill Rakhman's user avatar
2 votes
1 answer
350 views

I have a project on Azure DevOps that uses an appconfig. The appconfig holds sensetive data like usernames and passwords and is committed empty to the repo. I have to deploy the project on two ...
Firld's user avatar
  • 23
2 votes
1 answer
170 views

I am the author of a C library for parsing INI files. So far I have delegated the task of parsing values as numbers to the standard atoi() family of functions. However I think time has come that I ...
madmurphy's user avatar
  • 129
1 vote
1 answer
2k views

The suggested file structure for docker container is something like root ├── app/ | ├── ... | └── Dockerfile | ├── db/ | ├── ... | └── Dockerfile ... └── docker-compose.yaml So where ...
Felix Benning's user avatar
1 vote
1 answer
646 views

I have a list of application configs and business configs in a particular root folder inside our git repository. Below is our current structure as of now: We have a root Data folder and inside that ...
cs98's user avatar
  • 21
0 votes
1 answer
995 views

I'm working on an application that will run on multiple systems and may use different modules to communicate with external systems, but on each system, only one module will be used at a time. As it ...
Lukas Körfer's user avatar
0 votes
4 answers
646 views

On our product there are many config files (we have many processes) For "logicical" configuration, we store all configuration in a document based database and then distribute the configuration to ...
ilansch's user avatar
  • 101
-1 votes
1 answer
129 views

I've have an n-tier .NET 4.6 internal business application. It has a business logic layer class library project that references a data access layer class library project. It's designed to decouple the ...
xr280xr's user avatar
  • 189
1 vote
2 answers
598 views

I'm writing a "generic" achievement system for my MMORPG project, it needs to be friendly & efficient for my game designers (without having to write code to add new achievements). If anyone got ...
Blowa's user avatar
  • 19
1 vote
2 answers
831 views

What's the best practice for maintaining app configuration for multiple test environments, (and production)? At the moment I am keeping all the config in the code repo (a bitbucket server). Configs ...
Syafiq Rokman's user avatar
1 vote
1 answer
279 views

From the .Net perspective (C#, VB, etc.) and MSSQL, I have noticed that for a set of applications (maintained by the same development team) typically have the same defined configuration for connecting ...
eparham7861's user avatar
0 votes
1 answer
158 views

I have been designing an email alert system for my customers which allows them to choose what alerts they receive. AlertManager seems suitable, except for it's static configuration file; A customer ...
liamdiprose's user avatar
1 vote
0 answers
67 views

In AWS I've got lots (dozens) of lambda functions. As my organization has gained experience with AWS, we've gone through various generations of infrastrucure around building and maintaining our ...
WhiteHotLoveTiger's user avatar
-2 votes
1 answer
655 views

We're configuring the build and release pipeline for our frontend code which is built with React. The final output is just some static HTML/Javascript code. The differences between environments are ...
s g 's user avatar
  • 115
0 votes
1 answer
326 views

I've got a program for analyzing specific folders / websites. The program always does the same steps for each folder and website. Therefore I've used JSON files to store configuration (domain name, ...
Chris's user avatar
  • 119
1 vote
0 answers
327 views

I am a software developer facing the following problem. Normally, I develop software and put client specific settings in a separate place (config file, database etc.). A new version of the software ...
GxB's user avatar
  • 111
2 votes
1 answer
1k views

I'm working on a relatively thin front-end web application that talks to an API. Depending on where this front-end application is served from (CI server, staging server, production server, etc.) I ...
kqr's user avatar
  • 379
2 votes
2 answers
6k views

A Java project with maven as build tool needs to be deployed to different environments, such as ci, dev, test, prod etc. Each environment has a properties file with the same set of properties such as: ...
Rui's user avatar
  • 1,935
1 vote
1 answer
563 views

I am creating a DSL for a scraping library I am writing. I would like advice on how to design a DSL, and if the designs I have below are good ones. Apologies if this is an open-ended question, but it ...
andykais's user avatar
  • 111
4 votes
3 answers
995 views

There is a db with tables of genes. And these genes would need to be annotated based on the client's needs. So if a gene matches condition x, then add a new column y and value z to that gene. Every ...
Claudiu Creanga's user avatar

1
2 3 4 5