Akshat | TP-12345 | handle npe (#53)
* TP-12345 | handle npe when variants is null * TP-12345 | handle npe when strategies is null * TP-12345 | change back local_core.env * TP-12345 | remove credentials from local_core.env * TP-12345 | add dummy creds
This commit is contained in:
committed by
GitHub Enterprise
parent
0c5830db16
commit
baf5162b40
@@ -65,8 +65,12 @@ public class ExperimentMapper {
|
||||
.experimentId(experimentEntity.getExperimentId())
|
||||
.experimentName(experimentEntity.getName())
|
||||
.description(experimentEntity.getDescription())
|
||||
.strategies(jacksonUtils.stringToListObject(experimentEntity.getStrategies(), ActivationStrategy.class))
|
||||
.variants(jacksonUtils.stringToListObject(experimentEntity.getVariants(), VariantDefinition.class))
|
||||
.strategies(Objects.nonNull(experimentEntity.getStrategies())
|
||||
? jacksonUtils.stringToListObject(experimentEntity.getStrategies(), ActivationStrategy.class)
|
||||
: null)
|
||||
.variants(Objects.nonNull(experimentEntity.getVariants())
|
||||
? jacksonUtils.stringToListObject(experimentEntity.getVariants(), VariantDefinition.class)
|
||||
: null)
|
||||
.type(experimentEntity.getType())
|
||||
.experimentInfo(mapExperimentInfoEntityToExperimentInfoDTO(experimentEntity.getExperimentInfo()))
|
||||
.vertical(experimentEntity.getVertical())
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
DATASOURCE_URL=jdbc:postgresql://dev-db-service-db.np.navi-tech.in:5432/litmus
|
||||
DATASOURCE_USERNAME=service_user
|
||||
DATASOURCE_PASSWORD=JRCFCMXUXBJHGZVTPBNTXHYCCFVMWN
|
||||
REDIS_HOST=dev-env-redis.twod4l.0001.aps1.cache.amazonaws.com
|
||||
DATASOURCE_URL=jdbc:postgresql://localhost:5432/litmus
|
||||
DATASOURCE_USERNAME=postgres
|
||||
DATASOURCE_PASSWORD=
|
||||
REDIS_HOST=localhost
|
||||
SEGMENT_S3_BUCKET=
|
||||
DEFAULT_POLLING_TIME_SECONDS=300
|
||||
DEFAULT_POLLING_TIME_SECONDS=300
|
||||
LITMUS_PORTAL_BASE_URL=http://localhost:4000
|
||||
Reference in New Issue
Block a user