Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
surabhi-mahawar committed Jan 10, 2022
1 parent bfceff2 commit 97877eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ public CampaignService getCampaignService() {
return new CampaignService(webClient, fusionAuthClient, cache);
}

// @Bean
// public KieSession DroolSession() {
// Resource resource = ResourceFactory.newClassPathResource("OrchestratorRules.xlsx", getClass());
// KieSession kSession = new DroolsBeanFactory().getKieSession(resource);
// return kSession;
// }
@Bean
public KieSession DroolSession() {
Resource resource = ResourceFactory.newClassPathResource("OrchestratorRules.xlsx", getClass());
KieSession kSession = new DroolsBeanFactory().getKieSession(resource);
return kSession;
}

@Bean
Map<String, Object> kafkaConsumerConfiguration() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fusionauth.key = ${FUSIONAUTH_KEY}

encryptionKeyString=A%C*F-JaNdRgUkXp

spring.r2dbc.url=r2dbc:postgresql://${FORMS_DB_HOST}:${FORMS_DB_PORT}/${FORMS_DB_NAME}
spring.r2dbc.url=r2dbc:${FORMS_DB_URL}
postgresql.db.host=${FORMS_DB_HOST}
postgresql.db.port=${FORMS_DB_PORT}
spring.r2dbc.name=${FORMS_DB_NAME}
Expand Down

0 comments on commit 97877eb

Please sign in to comment.