From 7b7cda9b59f9cf656c89f6b50338b7803f6839d5 Mon Sep 17 00:00:00 2001 From: Shashank Gautam Date: Fri, 8 May 2020 13:19:31 +0530 Subject: [PATCH 1/2] swagger auth --- statesman-server/config/local.yml | 14 ++++++-------- statesman-server/pom.xml | 7 ++++++- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/statesman-server/config/local.yml b/statesman-server/config/local.yml index 227439d..e1d057e 100644 --- a/statesman-server/config/local.yml +++ b/statesman-server/config/local.yml @@ -61,8 +61,12 @@ swagger: resourcePackage: io.appform.statesman.server.resources title: Statesman description: Statesman Backend - - + auth: + users: + - name: statesman-admin + password: 89986e2677635457f73f7297b66168b86de2809b1bab9832445fb17725302330 + roles: + - ADMIN httpActionDefaultConfig: connections: 10 @@ -80,9 +84,3 @@ eventPublisherConfig: batchSize: 50 queuePath: /tmp/statesman - -ivrDropDetection: - enabled: true - detectionPatterns: - ozonetel_punjab: - - "payload.*" diff --git a/statesman-server/pom.xml b/statesman-server/pom.xml index f24aef9..4555238 100644 --- a/statesman-server/pom.xml +++ b/statesman-server/pom.xml @@ -13,7 +13,7 @@ 4.2.0 - 1.3.7-1 + 1.0.0-2-auth-SNAPSHOT 1.3.12-1 1.3.13-6 2.2.0 @@ -40,6 +40,11 @@ dropwizard-core ${dropwizard.version} + + io.dropwizard + dropwizard-auth + ${dropwizard.version} + io.dropwizard dropwizard-views From a1121a0319b08fbe6d7b0843f7632215b6c4a23e Mon Sep 17 00:00:00 2001 From: Shashank Gautam Date: Fri, 8 May 2020 13:23:05 +0530 Subject: [PATCH 2/2] ivrDropDetection config --- statesman-server/config/local.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/statesman-server/config/local.yml b/statesman-server/config/local.yml index e1d057e..40a2fda 100644 --- a/statesman-server/config/local.yml +++ b/statesman-server/config/local.yml @@ -84,3 +84,9 @@ eventPublisherConfig: batchSize: 50 queuePath: /tmp/statesman +ivrDropDetection: + enabled: true + detectionPatterns: + ozonetel_punjab: + - "payload.*" +