We are using Steeltoe.Management.CloudFoundryCore
Version="2.4.3" and trying to upgrade it to Version="3.2.6", however it is breaking while trying to use UseCloudFoundryActuators method something like following.
By referring the source code, it seems like in latest version the entire CloudFoundryApplicationBuilderExtensions
class got removed.
Can someone please suggest the alternative solution to use cloud foundryActuators method?
Most of the Cloud Foundry code was always in the main Endpoints project, so we simplified things a bit and now you can
.AddAllActuators()
on your hostbuilder and the Cloud Foundry specifics will light up when running in such an environment.If you'd prefer to stick with configuring actuators in
startup.cs
you'll want to look at the source for one of the hostbuilder extensions as they contain several lines of code. This particular line of code can be replaced withActivateActuatorEndpoints(this IServiceCollection collection, Action<IEndpointConventionBuilder> configureEndpoints = null)