Skip to content

Implementation of 2 new commands for the flipTracking service#19

Open
matthias-luger wants to merge 5 commits intomainfrom
implement-tracking-commands
Open

Implementation of 2 new commands for the flipTracking service#19
matthias-luger wants to merge 5 commits intomainfrom
implement-tracking-commands

Conversation

@matthias-luger
Copy link
Copy Markdown
Contributor

No description provided.

@matthias-luger matthias-luger marked this pull request as ready for review November 5, 2021 20:57
@matthias-luger matthias-luger requested a review from Ekwav November 5, 2021 20:57
@matthias-luger matthias-luger requested a review from Ekwav November 5, 2021 23:45
Commands.Add("p", new PingCommand());


Commands.Add("trackNewFlip", new TrackNewFlipCommand());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
}
]
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't reformat the whole file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants