Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Commit

Permalink
Remove the V2 resource consumption endpoint (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbak authored May 6, 2022
1 parent 7c9d689 commit a599283
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 2,082 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public UnaryOperator<DefaultResourceConfig> getConfig() {

// V2 resources
config.getClasses().add(ApplicationSlaManagementResource.class);
config.getClasses().add(ResourceConsumptionResource.class);

return config;
};
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,13 @@
import com.google.inject.AbstractModule;
import com.google.inject.Provides;
import com.netflix.archaius.ConfigProxyFactory;
import com.netflix.titus.master.service.management.internal.DefaultResourceConsumptionService;
import com.netflix.titus.master.service.management.internal.ResourceConsumptionLog;
import com.netflix.titus.master.service.management.kube.KubeApplicationSlaManagementService;

public class ManagementModule extends AbstractModule {

@Override
protected void configure() {
bind(ApplicationSlaManagementService.class).to(KubeApplicationSlaManagementService.class);

// Resource consumption monitoring
bind(ResourceConsumptionService.class).to(DefaultResourceConsumptionService.class).asEagerSingleton();
bind(ResourceConsumptionLog.class).asEagerSingleton();
}

@Provides
Expand Down

This file was deleted.

Loading

0 comments on commit a599283

Please sign in to comment.