Skip to content

Commit

Permalink
Merge pull request #49 from ELEVATE-Project/389
Browse files Browse the repository at this point in the history
added env variables
  • Loading branch information
rakeshSgr authored Aug 4, 2022
2 parents 94c3a12 + f9bf801 commit 7783b33
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,7 @@ API_DOC_URL = '/api-doc'
INTERNAL_CACHE_EXP_TIME = 86400

#Redis Cache expiry Time
REDIS_CACHE_EXP_TIME = 86400
REDIS_CACHE_EXP_TIME = 86400

#kafka rating topic
RATING_KAFKA_TOPIC = 'Rating'
8 changes: 8 additions & 0 deletions src/envVariables.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ let enviromentVariables = {
message: 'Redis Cache Expiry Time',
optional: false,
},
RATING_KAFKA_TOPIC: {
message: 'Kafka Rating Topic',
optional: false,
},
REDIS_HOST: {
message: 'Redis Host Url',
optional: false,
},
}

let success = true
Expand Down

0 comments on commit 7783b33

Please sign in to comment.