Skip to content

Commit

Permalink
Remove useless definitions. (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
geeknoid authored Apr 14, 2017
1 parent 1475140 commit 86f8a70
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions mixer/v1/config/cfg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -92,24 +92,19 @@ message AspectRule {
// - key: src_consumer_id
// - key: target_response_status_code
// - key: target_service_name
// Inputs:
// Attr.target_service_name: target_service_name || target_service_id
message Aspect {
string kind = 1;
string adapter = 2; // optional, allows specifying an adapter
// maps from isio Attribute space to aspect.Input proto defined
// by the aspect
map<string, string> inputs = 3;
// Struct representation of a proto defined by the aspect
google.protobuf.Struct params = 4;
}

// Adapter config defines specifics of adapter implementations
// We define an adapter that provides "metrics" aspect
// Kind: istio/metrics
// Name: metrics-statsd
// Impl: “istio.io/adapters/statsd”
// Args:
// kind: istio/metrics
// name: metrics-statsd
// impl: “istio.io/adapters/statsd”
// params:
// Host: statd.svc.cluster
// Port: 8125
message Adapter {
Expand Down Expand Up @@ -148,15 +143,6 @@ message AttributeManifest {
repeated istio.mixer.v1.config.descriptor.AttributeDescriptor attributes = 3;
}

// ClientConfig defines configuration from a client perspective.
// ServiceA can define rules about what happens when it is acting as client
// to other services
message ClientConfig {
string subject = 1;
string revision = 2;
repeated AspectRule rules = 3;
}

// Uri represents a properly formed URI.
message Uri {
string value = 1;
Expand Down

0 comments on commit 86f8a70

Please sign in to comment.