Questions tagged [runtime-configuration]
21 questions
106
votes
3 answers
What are `rc` files in nodejs?
I have some questions regarding various rc files in a typical node application, like .npmrc, .babelrc etc.
What is an rc file, I know its a runtime-config for the module, but anything else?
Does the rc file has to follow .[module]rc naming…

Gopikrishna S
- 2,221
- 4
- 25
- 39
12
votes
2 answers
Spark configuration change in runtime
So asking if anyone knows a way to change the Spark properties (e.g. spark.executor.memory, spark.shuffle.spill.compress, etc) during runtime, so that a change may take effect between the tasks/stages during a job...
So I know that...
1) The…

Tiago Perez
- 121
- 1
- 5
11
votes
2 answers
How to Handle Runtime Configuration of Symfony2 Using Consul Service Discovery
Our team is presently exploring the idea of service discovery for a Symfony2 application using Consul. Being in the relative frontier, there's very little out there in the way of discussion. So far we've discovered:
Runtime configuration has…

ReservedDeveloper
- 414
- 3
- 19
6
votes
1 answer
How to build a graph of specific function calls?
I have a project where I want to dynamically build a graph of specific function calls. For example if I have 2 template classes, A and B, where A have a tracked method (saved as graph node) and B has 3 methods (non-tracked method, tracked method and…

Gábor Pálovics
- 455
- 4
- 12
2
votes
1 answer
How to fetch data as part of server start up in Nuxt 3?
I have a web app in Nuxt 3 that is being migrated from Nuxt 2. We also have a companion API that handles all data fetching from databases. When starting the webserver, the nuxt app must fetch a JSON object with some settings (stuff required for…

Nicolas D
- 91
- 9
2
votes
1 answer
Cannot add Controller to asp.net Core MVC Project because of error: The specified runtimeconfig.json does not exist
I am trying to learn about the MVC structure of Asp.NET core MVC.
Therefore, I am trying to build a small web app similar to the ecommerce system 'simplcommerce' whose code is open source.
My Solution is split into three parts:
1. Modules
2.…
user9130744
2
votes
1 answer
How to connect to a database inside a BeanFactoryPostProcessor?
I am working on a project using Spring Data JPA (on Tomcat 7). I'am implementing a BeanFactoryPostProcessor to dynamically create my DataSources. But the problem is that my DataSource's information (name, url, etc..) is stored in a database…

Nidhal Rouissi
- 325
- 2
- 6
- 17
1
vote
0 answers
how to deploy the file "MY_PROGRAM_NAME.runtimeconfig.json"?
I've got this problem:
"Published .Net Core App Warns to Install .Net Core but it's Already Installed"
I searched on Stack Overflow and found the answer:
In my case I had the same issue, and the problem was that I was not deploying the file…

Quang Vũ Đăng
- 11
- 1
1
vote
0 answers
NuxtJS runtimeConfig to be save to a single js file on build?
In my nuxt.config.js, I'm using runtimeConfig:
export default {
ssr: false,
target: 'static',
publicRuntimeConfig: {
baseURL: process.env.BASE_URL,
apiURL: process.env.API_URL,
emailAddress: process.env.EMAIL_ADDRESS,
wafURL:…

Kevin
- 31
- 6
1
vote
1 answer
Is it possible to access Nuxt runtimeConfig values using $config in place of process.env in a stand-alone axios service file?
Making the transition from using dotenv to Nuxt runtimeconfig. Is it possible to access Nuxt runtimeConfig values using $config in place of process.env in a stand-alone axios service file, something like the following:
userService.js
import axios…

user3665916
- 85
- 7
1
vote
1 answer
How to use GCP Runtime Configurator from Node.js?
I'm working on a Node.js application hosted on Google Cloud, using Google Application Engine. The app has a few settings like the following:
const TASK_BATCH_SIZE = 50;
Currently, every time we need to change some settings like that one to do some…

Maikel Ruiz
- 1,342
- 2
- 15
- 25
1
vote
2 answers
Google's RuntimeConfig API responds with 'Our systems have detected unusual traffic from your computer network'
Since today (november 20 2018) we get error responses from Google's RuntimeConfig API:
Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a…

MartijnvdB
- 922
- 9
- 23
0
votes
1 answer
Nuxt 3, difference between useRuntimeConfig().vimeoClientId and process.env.VIMEO_CLIENT_ID
Can someone explain the difference between the process.env and the runtimeConfig? In my eyes, they are the same and both can be accessed in the API and the other files. but if I wasn't to use runtimeConfig I have to do extra work for the same thing…

Boris Karatosic
- 3
- 2
0
votes
0 answers
FastAPI + uvicorn: how can I pass a reference to an object at runtime?
I have a class (i.e. terminal) which holds state of a piece of hardware, and needs to be setup depending on user input & runtime config. Ideally this is performed in another, separate unit file responsible for the init setup.
Then I have a…

Henry
- 1
- 3
0
votes
1 answer
how to set configuration settings in the config servcie using Angular’s APP_INITIALIZER
In my angular app, I want to use runtime configuration (to use same build artifact for any target env) and load settings from the back .net API. I have the following api url in the config.json in the assets folder.
{
"apiUrl":…

rumi
- 3,293
- 12
- 68
- 109