Implementation of 2 new commands for the flipTracking service#19
Open
matthias-luger wants to merge 5 commits intomainfrom
Open
Implementation of 2 new commands for the flipTracking service#19matthias-luger wants to merge 5 commits intomainfrom
matthias-luger wants to merge 5 commits intomainfrom
Conversation
Ekwav
requested changes
Nov 5, 2021
Ekwav
requested changes
Nov 27, 2021
| Commands.Add("p", new PingCommand()); | ||
|
|
||
|
|
||
| Commands.Add("trackNewFlip", new TrackNewFlipCommand()); |
Member
There was a problem hiding this comment.
why would the frontend need this command?
Comment on lines
1
to
-54
| { | ||
| "Logging": { | ||
| "LogLevel": { | ||
| "Default": "Information", | ||
| "Microsoft": "Warning", | ||
| "Microsoft.Hosting.Lifetime": "Information" | ||
| "Logging": { | ||
| "LogLevel": { | ||
| "Default": "Information", | ||
| "Microsoft": "Warning", | ||
| "Microsoft.Hosting.Lifetime": "Information" | ||
| } | ||
| }, | ||
| "EveryOnePremium": false, | ||
| "AllowedHosts": "*", | ||
| "SKYCOMMANDS_HOST": "localhost:8008", | ||
| "MCCONNECT_HOST": "mcconnect", | ||
| "UPDATER_HOST": "updater", | ||
| "REDIS_HOST": "redis", | ||
| "SKYFLIPPER_HOST": "flipper", | ||
| "PAYMENTS_HOST": "payment", | ||
| "INDEXER_HOST": "indexer", | ||
| "SUBSCRIPTION_HOST": "subscription", | ||
| "TRACKER_HOST": "tracker", | ||
| "JAEGER_SERVICE_NAME": "sky-commands", | ||
| "JAEGER_AGENT_HOST": "jaeger", | ||
| "KAFKA_HOST": "kafka:9092", | ||
| "JAEGER_SAMPLER_TYPE": "ratelimiting", | ||
| "JAEGER_SAMPLER_PARAM": "2", | ||
| "TOPICS": { | ||
| "MISSING_AUCTION": "sky-canceledauction", | ||
| "SOLD_AUCTION": "sky-soldauction", | ||
| "AUCTION_ENDED": "sky-endedauction", | ||
| "FLIP": "sky-flip", | ||
| "SETTINGS_CHANGE": "sky-settings" | ||
| }, | ||
| "IpRateLimiting": { | ||
| "EnableEndpointRateLimiting": false, | ||
| "StackBlockedRequests": false, | ||
| "RealIpHeader": "X-Real-IP", | ||
| "ClientIdHeader": "X-ClientId", | ||
| "HttpStatusCode": 429, | ||
| "EndpointWhitelist": [ | ||
| "get:/api/license", | ||
| "*:/api/status" | ||
| ], | ||
| "IpWhitelist": [ | ||
| "::1/10", | ||
| "172.27.0.0/24" | ||
| ], | ||
| "GeneralRules": [{ | ||
| "Endpoint": "*", | ||
| "Period": "10s", | ||
| "Limit": 20 | ||
| }, | ||
| { | ||
| "Endpoint": "*", | ||
| "Period": "1m", | ||
| "Limit": 100 | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| "EveryOnePremium":false, | ||
| "AllowedHosts": "*", | ||
| "SKYCOMMANDS_HOST": "localhost:8008", | ||
| "MCCONNECT_HOST":"mcconnect", | ||
| "UPDATER_HOST":"updater", | ||
| "REDIS_HOST":"redis", | ||
| "SKYFLIPPER_HOST": "flipper", | ||
| "PAYMENTS_HOST": "payment", | ||
| "INDEXER_HOST": "indexer", | ||
| "SUBSCRIPTION_HOST": "subscription", | ||
| "JAEGER_SERVICE_NAME": "sky-commands", | ||
| "JAEGER_AGENT_HOST": "jaeger", | ||
| "KAFKA_HOST": "kafka:9092", | ||
| "JAEGER_SAMPLER_TYPE": "ratelimiting", | ||
| "JAEGER_SAMPLER_PARAM": "2", | ||
| "TOPICS": { | ||
| "MISSING_AUCTION": "sky-canceledauction", | ||
| "SOLD_AUCTION": "sky-soldauction", | ||
| "AUCTION_ENDED": "sky-endedauction", | ||
| "FLIP": "sky-flip", | ||
| "SETTINGS_CHANGE": "sky-settings" | ||
| }, | ||
| "IpRateLimiting": { | ||
| "EnableEndpointRateLimiting": false, | ||
| "StackBlockedRequests": false, | ||
| "RealIpHeader": "X-Real-IP", | ||
| "ClientIdHeader": "X-ClientId", | ||
| "HttpStatusCode": 429, | ||
| "EndpointWhitelist": [ | ||
| "get:/api/license", | ||
| "*:/api/status" | ||
| ], | ||
| "IpWhitelist": [ "::1/10", "172.27.0.0/24" ], | ||
| "GeneralRules": [ | ||
| { | ||
| "Endpoint": "*", | ||
| "Period": "10s", | ||
| "Limit": 20 | ||
| }, | ||
| { | ||
| "Endpoint": "*", | ||
| "Period": "1m", | ||
| "Limit": 100 | ||
| } | ||
| ] | ||
| } |
Member
There was a problem hiding this comment.
please don't reformat the whole file
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.