-
Notifications
You must be signed in to change notification settings - Fork 73
Secure the subscription passwords #543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
39db9df
Missing the encryption of the passwords when updating the subscription.
743527e
Update main.yml
RajuBeemreddy1 ecb5394
Revert the change to enable only for community branch
RajuBeemreddy1 67649c8
Revert work flow changes
RajuBeemreddy1 e81f037
Missing the encryption of the passwords when updating the subscription.
82481cd
Update main.yml
RajuBeemreddy1 df1db7d
Revert the change to enable only for community branch
RajuBeemreddy1 52487ab
Revert work flow changes
RajuBeemreddy1 4da62ba
Merge branch 'master' of https://github.com/RajuBeemreddy1/eiffel-int…
dhruvin-kalavadia 31fde53
Rebase master
dependabot[bot] 21cd0a1
Merge master branch with local
jainadc9 a6cdc63
Added Nidhi changes for testcases
jainadc9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| package com.ericsson.ei.logFilter; | ||
|
|
||
| import ch.qos.logback.classic.spi.ILoggingEvent; | ||
| import ch.qos.logback.core.filter.Filter; | ||
| import ch.qos.logback.core.spi.FilterReply; | ||
| import org.springframework.context.annotation.PropertySource; | ||
|
|
||
| import java.time.LocalDateTime; | ||
| import java.time.format.DateTimeFormatter; | ||
| import java.time.temporal.ChronoUnit; | ||
|
|
||
| @PropertySource("classpath:logback.xml") | ||
| public class LogFilter extends Filter<ILoggingEvent> { | ||
|
|
||
| public boolean filter(LocalDateTime start, LocalDateTime end, String logLine) { | ||
| DateTimeFormatter logFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss,SSS"); | ||
| LocalDateTime current=start; | ||
| while(current.isBefore(end)) | ||
| { | ||
| String time=current.format(logFormatter); | ||
| if(logLine.contains(time)) | ||
| { | ||
| return (true); | ||
| } | ||
| else | ||
| { | ||
| current=current.plus(1, ChronoUnit.MILLIS); | ||
| } | ||
|
|
||
|
|
||
| } | ||
| return (false); | ||
| } | ||
|
|
||
| @Override | ||
| public FilterReply decide(ILoggingEvent iLoggingEvent) { | ||
| return null; | ||
| } | ||
| } | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| # Configuration documentation can be found here: | ||
| # https://github.com/eiffel-community/eiffel-intelligence/blob/master/wiki/configuration.md | ||
| spring.application.name: eiffel-intelligence | ||
| server.port: 8090 | ||
| spring.mvc.pathmatch.matching-strategy: ANT_PATH_MATCHER | ||
| logging.level.root: INFO | ||
| logging.level.org.springframework.web: ERROR | ||
| logging.level.com.ericsson.ei: ERROR | ||
|
|
||
| rules.path: /rules/ArtifactRules-Eiffel-Agen-Version.json | ||
| rules.replacement.marker: %IdentifyRulesEventId% | ||
|
|
||
| # WARNING! Do not enable this in a production environment! | ||
| test.aggregation.enabled: false | ||
|
|
||
| rabbitmq.host: localhost | ||
| rabbitmq.port: 5672 | ||
| rabbitmq.user: myuser | ||
| rabbitmq.password: myuser | ||
| rabbitmq.tls.version: | ||
| rabbitmq.exchange.name: ei-exchange | ||
| rabbitmq.domain.id: ei-domain | ||
| rabbitmq.component.name: eiffel-intelligence | ||
| rabbitmq.queue.suffix: messageQueue | ||
| rabbitmq.queue.durable: true | ||
| rabbitmq.binding.key: # | ||
| rabbitmq.waitlist.queue.suffix: waitList | ||
|
|
||
| bindingkeys.collection.name: binding_keys | ||
|
|
||
| spring.data.mongodb.uri: mongodb://localhost:27017 | ||
| spring.data.mongodb.database: eiffel_intelligence | ||
|
|
||
| server.session.timeout: 1200 | ||
| sessions.collection.name: sessions | ||
|
|
||
| aggregations.collection.name: aggregations | ||
| aggregations.collection.ttl: | ||
| event.object.map.collection.name: event_object_map | ||
| subscriptions.collection.name: subscriptions | ||
| subscriptions.repeat.handler.collection.name: subscriptions_repeat_handler | ||
| waitlist.collection.name: wait_list | ||
| waitlist.collection.ttl: 600 | ||
| waitlist.resend.initial.delay: 2000 | ||
| waitlist.resend.fixed.rate: 15000 | ||
| failed.notifications.collection.name: failed_notifications | ||
| failed.notifications.collection.ttl: 600 | ||
| notification.retry: 3 | ||
| notification.httpRequest.timeout: 5000 | ||
|
|
||
| email.sender: noreply@domain.com | ||
| email.subject: Email Subscription Notification | ||
|
|
||
| spring.mail.host: | ||
| spring.mail.port: | ||
| spring.mail.username: | ||
| spring.mail.password: | ||
| spring.mail.properties.mail.smtp.auth: false | ||
| spring.mail.properties.mail.smtp.starttls.enable: false | ||
|
|
||
| event.repository.url: | ||
| event.repository.shallow: true | ||
|
|
||
| ldap.enabled: false | ||
| ldap.server.list: [{\ | ||
| "url": "",\ | ||
| "base.dn": "",\ | ||
| "username": "",\ | ||
| "password": "",\ | ||
| "user.filter": ""\ | ||
| }] | ||
|
|
||
| ### DEVELOPER SETTINGS | ||
|
|
||
| spring.mongodb.embedded.version: 3.4.1 | ||
| # We remove the embedded mongodb in tests since in most of them we set up our own before Spring | ||
| # starts and activate it manually in tests where we need the Spring's own embedded mongo DB | ||
| spring.autoconfigure.exclude: org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfiguration | ||
|
|
||
| threads.core.pool.size: 200 | ||
| threads.queue.capacity: 7000 | ||
| threads.max.pool.size: 250 | ||
| scheduled.threadpool.size: 200 | ||
| jasypt.encryptor.password=test | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.