Category "configuration"

Reason: The elements were left unbound

How can I load List of objects from configuration yml file in java springboot application? I already tried several sources: configuration-properties-in-spring

How to pass a dynamic port to the Websockets-gateway in NestJS?

I wanted to dynamically set the Websockets-gateway port from config in NestJS. Below is my websockets-gateway code. import { WebSocketGateway } from '@nestjs/we

Spark History server not listing completed jars

I'm running Spark standalone jobs in Windows. I would like to monitor my Spark jobs using the spark history server. I have launched spark history server with be

How to determine what Java Jenkins is using to run and point it to the correct location (Java 11)

I've looked all over for this answer but cannot find it, as most of the answers are how to add JDK to Jenkins for usage within a test. I'm looking for how to en

CredentialProviderFactory - conf.getPassword from jceks file breaks if the password contains a $

I am trying to extract the password from jceks file in hdfs. import org.apache.hadoop.security.alias.CredentialProviderFactory val conf = new org.apache.hadoo

Use of Prometheus scrape_timeout

In the prometheus configuration I have a job with these specs: - job_name: name_of_my_job scrape_interval: 5m scrape_timeout: 30s metrics_path:

Unexpected token 'import' error while running Jest tests?

I realize this question has been asked several times but all of the solutions I've come across don't seem to work for me. I'm running into the following error w

How to read web.config file in .Net Core app

I have created a .Net Core API and I referenced a .Net framework application to it. The referenced Application connects to a data base and its connection string

logstash settings are invalid

I'am trying to start logstash on windows with a custom conf file but I get always the same error : Your settings are invalid. Reason: Setting "" doesn't exist.

How can I build an IOptionsMonitor<T> for testing?

For the normal IOptions interface, you can manually build an instance e.g. this SO question. Is there any equivalent way to make an IOptionsMonitor instance wi

Docker, how to deal with ssh keys, known_hosts and authorized_keys

In docker, how to scope with the requirement of configuring known_hosts, authorized_keys and ssh connectivity in general, when container have to talk with exter

how to exclude properties of super class when generating open API spec using swagger in java

We have a class which is inherited from third party library class. While generating open API spec using swagger, in schema all the properties of the third part

Set configuration and options from json file for servicebuilder in test project

Hi i am trying to configure and build services in a test project. I have read and built a json file into IConfigurationRoot, and can extracts specific parts ind

Not getting expected throughput on Cisco ASA 5506-X

I have a Cisco ASA 5506-X running version 9.9(2). I recently upgraded my internet to gigabit speeds (in reality about 750 - 850 Mbps). However, my ASA was only

how to use color-thief in a vuejs context

I'm trying to import color-thief from NPM (https://github.com/lokesh/color-thief) like this: import ColorThief from 'colorthief' But when I call new ColorThi

How to export custom fields configuration into a config file in Liferay?

So, Liferay offers an option to export settings into a configuration file so that another Liferay instance can be easily and quickly configured with the setting

How to export custom fields configuration into a config file in Liferay?

So, Liferay offers an option to export settings into a configuration file so that another Liferay instance can be easily and quickly configured with the setting

How to set default retention policy and duration for InfluxDB via configuration

I am using the official InfluxDB docker image. I want to set the retention policy to be 14 days by default. There are various ENV variables that I can set to c

how to log only one level with log4j2?

I'm using log4j2 in my application. What I want is everything up to 'debug' to go to console, everything up to 'info' to go to myapp.log, and ONLY 'info' to go

rabbitmq showing wrong disk free limit in management console

as the title says, I have a problem, that the rabbitmq shows (and thinks) that there is more space available, as I told him. I'm running 2 instances of rabbitmq