Skip to content

Commit

Permalink
Staging (#233)
Browse files Browse the repository at this point in the history
* audit logs bugfix

* allow numbers in prod/cons names

* jwt nd refresh jwt from env vars + save clients IP

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* remove port from the client ip address

* bugfix max msg size

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* sandbox auth

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* Update Jenkinsfile

* deleted unnecessary code

* broker connection bugfixes

* remove the TCP address from the tcp response

* Update README.md

* generic func CreateTokens + fixed comments

* add max msg delivery feature

* add sandbox logic

* return the most updated prod/cons

* Update README.md

* Update README.md

* add maintainers

* Update README.md

* added restrictions for sandbox - edit & delete

* added github login

* fixed bugs

* fixed bugs 2

* Update README.md

* add get sys logs to the no need auth endpoints

* fixed google login sandbox

* removed unneccessary code + added sandbox pic

* Update README.md

* change the default port of mongo

* Update docker-config.json

* Update README.md

* Update config.json

* Update docker-config.json

* Update Jenkinsfile

* Update Jenkinsfile

* bugfix consumergroup + poison messages initial commit

* fixed google login

* added sandbox logs

* Update README.md

* removed email display for sandbox

* poison message initial commit

* get msg journey

* poison msgs retention

* go mod tidy

* remove logs

* initial commit

* destroyed to deleted change

* added mailchimp subscriber for sandbox

* poison message changes

* added env and namespace for code examples

* bugfix

* bugfix

* bugfix

* add cg status

* resend poison message bugfixes

* update the product version

* increase to 1000 last messages in station overview

* change to audit of last 5 days

* deleted consumers bugfix

* bug fixes

* sort the prod/cg list

* Update Jenkinsfile

* sort issues

* Update Jenkinsfile

* error message fix

Co-authored-by: Valera Bronshtein <105710429+valeraBr@users.noreply.github.com>
Co-authored-by: shay23b <shay.b@strech.io>
Co-authored-by: Yaniv Ben Hemo <70286779+yanivbh1@users.noreply.github.com>
  • Loading branch information
4 people committed Jul 18, 2022
1 parent 99599ad commit d5654ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion handlers/poison_messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (pmh PoisonMessagesHandler) HandleNewMessage(msg *nats.Msg) {
producedByHeader := poisonMessageContent.Header.Get("producedBy")

if connectionIdHeader == "" || producedByHeader == "" {
logger.Error("Error while getting notified about a poison message: Missing mandatory message headers")
logger.Error("Error while getting notified about a poison message: Missing mandatory message headers, please upgrade the SDk version you are using")
return
}

Expand Down
4 changes: 2 additions & 2 deletions handlers/stations.go
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,8 @@ func (sh StationsHandler) GetMessageDetails(c *gin.Context) {
producedByHeader := natsMsg.Header.Get("producedBy")

if connectionIdHeader == "" || producedByHeader == "" {
logger.Error("Error while getting notified about a poison message: Missing mandatory message headers")
c.AbortWithStatusJSON(configuration.SHOWABLE_ERROR_STATUS_CODE, gin.H{"message": "Error while getting notified about a poison message: Missing mandatory message headers"})
logger.Error("Error while getting notified about a poison message: Missing mandatory message headers, please upgrade the SDk version you are using")
c.AbortWithStatusJSON(configuration.SHOWABLE_ERROR_STATUS_CODE, gin.H{"message": "Error while getting notified about a poison message: Missing mandatory message headers, please upgrade the SDk version you are using"})
return
}

Expand Down

0 comments on commit d5654ad

Please sign in to comment.