public class ServicePortParameters extends Descriptor
The tags can be used in service registration plugins trough ServiceRegistration.Endpoint.
An example expression of a Helios job with service port metadata might be:
{
"ports" : {
"http" : {
"externalPort" : 8060,
"internalPort" : 8080,
"protocol" : "tcp"
}
},
"registration" : {
"service/http" : {
"ports" : {
"http" : {
"tags" : ["tag-1", "tag-2"]
}
}
}
}
}
| Constructor and Description |
|---|
ServicePortParameters(List<String> tags) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<String> |
getTags() |
int |
hashCode() |
String |
toString() |
parse, parse, toJsonBytes, toJsonStringCopyright © 2019. All rights reserved.