Skip to content
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

Implementation of 2 new commands for the flipTracking service #19

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

matthias-luger
Copy link
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
Commands/Tracker/TrackFlipEventCommand.cs Outdated Show resolved Hide resolved
Commands/Tracker/TrackFlipEventCommand.cs Show resolved Hide resolved
Commands/Tracker/TrackNewFlipCommand.cs Show resolved Hide resolved
Commands/Tracker/TrackNewFlipCommand.cs Outdated Show resolved Hide resolved
Commands/Tracker/TrackNewFlipCommand.cs Outdated Show resolved Hide resolved
Commands/Tracker/TrackerClient.cs Show resolved Hide resolved
@matthias-luger matthias-luger requested a review from Ekwav November 5, 2021 23:45
@@ -130,7 +130,8 @@ static SkyblockBackEnd()
Commands.Add("newAuctions", new NewAuctionsCommand());
Commands.Add("p", new PingCommand());


Commands.Add("trackNewFlip", new TrackNewFlipCommand());
Copy link
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
"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
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