| Modifier and Type | Method and Description |
|---|---|
static Instance |
Instance.create(InstanceId id) |
Instance |
Instance.deregister() |
Instance |
Instance.register(Registration registration) |
Instance |
Instance.withEndpoints(Endpoints endpoints) |
Instance |
Instance.withInfo(Info info) |
Instance |
Instance.withStatusInfo(StatusInfo statusInfo) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Instance> |
EventsourcingInstanceRepository.compute(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction) |
reactor.core.publisher.Mono<Instance> |
InstanceRepository.compute(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction)
Updates the instance associated with the id using the remapping function.
|
reactor.core.publisher.Mono<Instance> |
EventsourcingInstanceRepository.computeIfPresent(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction) |
reactor.core.publisher.Mono<Instance> |
InstanceRepository.computeIfPresent(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction)
Updates the instance associated with the id using the remapping function.
|
reactor.core.publisher.Mono<Instance> |
EventsourcingInstanceRepository.find(InstanceId id) |
reactor.core.publisher.Mono<Instance> |
InstanceRepository.find(InstanceId id) |
reactor.core.publisher.Mono<Instance> |
SnapshottingInstanceRepository.find(InstanceId id) |
reactor.core.publisher.Flux<Instance> |
EventsourcingInstanceRepository.findAll() |
reactor.core.publisher.Flux<Instance> |
InstanceRepository.findAll() |
reactor.core.publisher.Flux<Instance> |
SnapshottingInstanceRepository.findAll() |
reactor.core.publisher.Flux<Instance> |
EventsourcingInstanceRepository.findByName(String name) |
reactor.core.publisher.Flux<Instance> |
InstanceRepository.findByName(String name) |
protected reactor.core.publisher.Mono<Instance> |
SnapshottingInstanceRepository.rehydrateSnapshot(InstanceId id) |
reactor.core.publisher.Mono<Instance> |
EventsourcingInstanceRepository.save(Instance instance) |
reactor.core.publisher.Mono<Instance> |
InstanceRepository.save(Instance app)
Saves the Instance
|
reactor.core.publisher.Mono<Instance> |
SnapshottingInstanceRepository.save(Instance instance) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Instance> |
EventsourcingInstanceRepository.save(Instance instance) |
reactor.core.publisher.Mono<Instance> |
InstanceRepository.save(Instance app)
Saves the Instance
|
reactor.core.publisher.Mono<Instance> |
SnapshottingInstanceRepository.save(Instance instance) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Instance> |
EventsourcingInstanceRepository.compute(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction) |
reactor.core.publisher.Mono<Instance> |
EventsourcingInstanceRepository.compute(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction) |
reactor.core.publisher.Mono<Instance> |
InstanceRepository.compute(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction)
Updates the instance associated with the id using the remapping function.
|
reactor.core.publisher.Mono<Instance> |
InstanceRepository.compute(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction)
Updates the instance associated with the id using the remapping function.
|
reactor.core.publisher.Mono<Instance> |
EventsourcingInstanceRepository.computeIfPresent(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction) |
reactor.core.publisher.Mono<Instance> |
EventsourcingInstanceRepository.computeIfPresent(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction) |
reactor.core.publisher.Mono<Instance> |
InstanceRepository.computeIfPresent(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction)
Updates the instance associated with the id using the remapping function.
|
reactor.core.publisher.Mono<Instance> |
InstanceRepository.computeIfPresent(InstanceId id,
BiFunction<InstanceId,Instance,reactor.core.publisher.Mono<Instance>> remappingFunction)
Updates the instance associated with the id using the remapping function.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
OpsGenieNotifier.buildUrl(InstanceEvent event,
Instance instance) |
protected String |
DiscordNotifier.createContent(InstanceEvent event,
Instance instance) |
protected Object |
DiscordNotifier.createDiscordNotification(InstanceEvent event,
Instance instance) |
protected org.springframework.http.HttpEntity<Map<String,Object>> |
HipchatNotifier.createHipChatNotification(InstanceEvent event,
Instance instance) |
protected Object |
SlackNotifier.createMessage(InstanceEvent event,
Instance instance) |
protected Object |
LetsChatNotifier.createMessage(InstanceEvent event,
Instance instance) |
protected MicrosoftTeamsNotifier.Message |
MicrosoftTeamsNotifier.createMessage(Instance instance,
String registeredTitle,
String activitySubtitle) |
protected Map<String,Object> |
PagerdutyNotifier.createPagerdutyEvent(InstanceEvent event,
Instance instance) |
protected org.springframework.http.HttpEntity<?> |
OpsGenieNotifier.createRequest(InstanceEvent event,
Instance instance) |
protected abstract reactor.core.publisher.Mono<Void> |
AbstractEventNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
OpsGenieNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
HipchatNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
MicrosoftTeamsNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
PagerdutyNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
SlackNotifier.doNotify(InstanceEvent event,
Instance instance) |
reactor.core.publisher.Mono<Void> |
RemindingNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
LetsChatNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
MailNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
TelegramNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
LoggingNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
DiscordNotifier.doNotify(InstanceEvent event,
Instance instance) |
protected String |
OpsGenieNotifier.generateAlias(Instance instance) |
protected MicrosoftTeamsNotifier.Message |
MicrosoftTeamsNotifier.getDeregisteredMessage(Instance instance) |
protected String |
OpsGenieNotifier.getDescription(InstanceEvent event,
Instance instance) |
protected String |
PagerdutyNotifier.getDescription(InstanceEvent event,
Instance instance) |
protected String |
OpsGenieNotifier.getMessage(InstanceEvent event,
Instance instance) |
protected String |
HipchatNotifier.getMessage(InstanceEvent event,
Instance instance) |
protected MicrosoftTeamsNotifier.Message |
MicrosoftTeamsNotifier.getRegisteredMessage(Instance instance) |
protected MicrosoftTeamsNotifier.Message |
MicrosoftTeamsNotifier.getStatusChangedMessage(Instance instance,
String statusFrom,
String statusTo) |
protected String |
SlackNotifier.getText(InstanceEvent event,
Instance instance) |
protected String |
LetsChatNotifier.getText(InstanceEvent event,
Instance instance) |
protected String |
TelegramNotifier.getText(InstanceEvent event,
Instance instance) |
protected boolean |
AbstractEventNotifier.shouldNotify(InstanceEvent event,
Instance instance) |
protected boolean |
MicrosoftTeamsNotifier.shouldNotify(InstanceEvent event,
Instance instance) |
protected boolean |
AbstractStatusChangeNotifier.shouldNotify(InstanceEvent event,
Instance instance) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
InstanceIdNotificationFilter.doFilter(InstanceEvent event,
Instance instance) |
protected abstract boolean |
ExpiringNotificationFilter.doFilter(InstanceEvent event,
Instance instance) |
protected boolean |
ApplicationNameNotificationFilter.doFilter(InstanceEvent event,
Instance instance) |
reactor.core.publisher.Mono<Void> |
FilteringNotifier.doNotify(InstanceEvent event,
Instance instance) |
boolean |
ExpiringNotificationFilter.filter(InstanceEvent event,
Instance instance) |
boolean |
NotificationFilter.filter(InstanceEvent event,
Instance instance) |
protected boolean |
FilteringNotifier.shouldNotify(InstanceEvent event,
Instance instance) |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<Instance> |
InfoUpdater.doUpdateInfo(Instance instance) |
protected reactor.core.publisher.Mono<Instance> |
StatusUpdater.doUpdateStatus(Instance instance) |
reactor.core.publisher.Mono<Instance> |
InstanceRegistry.getInstance(InstanceId id)
Get a specific instance
|
reactor.core.publisher.Flux<Instance> |
InstanceRegistry.getInstances()
Get a list of all registered instances.
|
reactor.core.publisher.Flux<Instance> |
InstanceRegistry.getInstances(String name)
Get a list of all registered application instances.
|
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<Info> |
InfoUpdater.convertInfo(Instance instance,
org.springframework.web.reactive.function.client.ClientResponse response) |
protected Info |
InfoUpdater.convertInfo(Instance instance,
Throwable ex) |
protected reactor.core.publisher.Mono<Instance> |
InfoUpdater.doUpdateInfo(Instance instance) |
protected reactor.core.publisher.Mono<Instance> |
StatusUpdater.doUpdateStatus(Instance instance) |
protected void |
StatusUpdater.logError(Instance instance,
Throwable ex) |
| Modifier and Type | Method and Description |
|---|---|
protected Function<org.springframework.web.reactive.function.client.ClientResponse,reactor.core.publisher.Mono<Endpoints>> |
QueryIndexEndpointStrategy.convert(Instance instance,
String managementUrl) |
protected reactor.core.publisher.Mono<ProbeEndpointsStrategy.DetectedEndpoint> |
ProbeEndpointsStrategy.detectEndpoint(Instance instance,
ProbeEndpointsStrategy.EndpointDefinition endpoint) |
reactor.core.publisher.Mono<Endpoints> |
ProbeEndpointsStrategy.detectEndpoints(Instance instance) |
reactor.core.publisher.Mono<Endpoints> |
QueryIndexEndpointStrategy.detectEndpoints(Instance instance) |
reactor.core.publisher.Mono<Endpoints> |
ChainingStrategy.detectEndpoints(Instance instance) |
reactor.core.publisher.Mono<Endpoints> |
EndpointDetectionStrategy.detectEndpoints(Instance instance) |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.util.function.Tuple2<String,reactor.core.publisher.Flux<Instance>> |
ApplicationsController.getApplicationForInstance(Instance instance) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Instance>> |
InstancesController.instance(String id)
Get a single instance.
|
reactor.core.publisher.Flux<Instance> |
InstancesController.instances()
List all registered instances with name
|
reactor.core.publisher.Flux<Instance> |
InstancesController.instances(String name)
List all registered instances with name
|
reactor.core.publisher.Flux<org.springframework.http.codec.ServerSentEvent<Instance>> |
InstancesController.instanceStream(String id) |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.util.function.Tuple2<String,reactor.core.publisher.Flux<Instance>> |
ApplicationsController.getApplicationForInstance(Instance instance) |
| Modifier and Type | Method and Description |
|---|---|
protected BuildVersion |
ApplicationsController.getBuildVersion(List<Instance> instances) |
protected reactor.util.function.Tuple2<String,Instant> |
ApplicationsController.getStatus(List<Instance> instances) |
protected reactor.core.publisher.Mono<ApplicationsController.Application> |
ApplicationsController.toApplication(String name,
reactor.core.publisher.Flux<Instance> instances) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.ClientResponse> |
InstanceExchangeFilterFunction.exchange(Instance instance,
org.springframework.web.reactive.function.client.ClientRequest request,
org.springframework.web.reactive.function.client.ExchangeFunction next) |
org.springframework.http.HttpHeaders |
BasicAuthHttpHeaderProvider.getHeaders(Instance instance) |
org.springframework.http.HttpHeaders |
CompositeHttpHeadersProvider.getHeaders(Instance instance) |
org.springframework.http.HttpHeaders |
HttpHeadersProvider.getHeaders(Instance instance) |
org.springframework.http.HttpHeaders |
CloudFoundryHttpHeaderProvider.getHeaders(Instance instance) |
org.springframework.web.reactive.function.client.WebClient |
InstanceWebClient.instance(Instance instance) |
static org.springframework.web.reactive.function.client.ExchangeFilterFunction |
InstanceExchangeFilterFunctions.setInstance(Instance instance) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.reactive.function.client.WebClient |
InstanceWebClient.instance(reactor.core.publisher.Mono<Instance> instance) |
static org.springframework.web.reactive.function.client.ExchangeFilterFunction |
InstanceExchangeFilterFunctions.setInstance(reactor.core.publisher.Mono<Instance> instance) |
Copyright © 2019 codecentric AG. All rights reserved.