Steeltoe | Steeltoe .NET Core Components : CircuitBreaker | Microservice library

 by   SteeltoeOSS C# Version: 3.2.3 License: Apache-2.0

kandi X-RAY | Steeltoe Summary

kandi X-RAY | Steeltoe Summary

Steeltoe is a C# library typically used in Architecture, Microservice, Kafka applications. Steeltoe has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

Steeltoe .NET Core Components: CircuitBreaker, Configuration, Connectors, Discovery, Logging, Management, and Security
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Steeltoe has a medium active ecosystem.
              It has 883 star(s) with 143 fork(s). There are 42 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 155 open issues and 434 have been closed. On average issues are closed in 328 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of Steeltoe is 3.2.3

            kandi-Quality Quality

              Steeltoe has 0 bugs and 0 code smells.

            kandi-Security Security

              Steeltoe has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              Steeltoe code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              Steeltoe is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              Steeltoe releases are available to install and integrate.
              Steeltoe saves you 22 person hours of effort in developing the same functionality from scratch.
              It has 62 lines of code, 0 functions and 2833 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Steeltoe
            Get all kandi verified functions for this library.

            Steeltoe Key Features

            No Key Features are available at this moment for Steeltoe.

            Steeltoe Examples and Code Snippets

            No Code Snippets are available at this moment for Steeltoe.

            Community Discussions

            QUESTION

            How to bind c# dotnet core 3.1 microservice stream to turbine server stream
            Asked 2021-May-27 at 14:42

            I have a turbine server running on openshift 3 and deployed a donet core 3.1 c# microservice using steeltoe 3.0.2 circuit breaker libraries. I can monitor the microservice stream on hystrix dashboard through service stream url (/hystrix/hystrix.stream). What I want to do is to register the microservice hystrix event stream to the turbine server event stream. Does anyone know how to do this? any reference link will be a great help also.

            Update: project references and setup files configuration

            myproject.csproj:

            ...

            ANSWER

            Answered 2021-May-27 at 14:42

            This error message is telling us that HystrixConfigurationStream hasn't been registered with the service container. That can be added with this code in startup.cs:

            Source https://stackoverflow.com/questions/67698629

            QUESTION

            Can i get multiple files from spring cloud server into .net application?
            Asked 2021-Apr-19 at 17:39

            I am wondering is it possible to load not only appconfig.json from spring config server but other files. For example i have got a templates in .html format. Can I somehow get them from spring server along with appsettings file? Probably steeltoe knows how to do that?

            ...

            ANSWER

            Answered 2021-Apr-19 at 17:39

            Steeltoe does provide a configuration provider for Spring Cloud Config Server that will allow you to map configuration values from any supported file format into key-value pairs, and there are several strategies for layering multiple configuration files but I don't think there would be any support for .html files.

            If you're looking for a way to use version-controlled templates, why not read from a git repo directly rather than putting config server in the middle?

            Source https://stackoverflow.com/questions/67142179

            QUESTION

            Using Steeltoe DiscoveryHttpMessageHandler with FlurlClient
            Asked 2021-Mar-09 at 14:22

            I am looking to switch our HttpClients to use Flurl. However, our HttpClient is currently configured to use Service Discovery via Steeltoe. Basically it's doing this in ConfigureServices:

            ...

            ANSWER

            Answered 2021-Mar-09 at 14:22

            There's a few ways to add a custom message handler with Flurl (such as with a custom factory), but since you're already using IHttpClientFactory, I think the easiest path to get what you want (and the one I'd recommend) is to continue injecting HttpClient into your services as you're doing and wrap them with Flurl inside the service:

            Source https://stackoverflow.com/questions/66534558

            QUESTION

            Steeltoe Postgres connector on CloudFoundry .NET 5.0
            Asked 2021-Mar-05 at 19:32

            I am using Steeltoe.CloudFoundry.Connector.EFCore with Npgsql.EntityFrameworkCore.PostgreSQL. I want to migrate the application to .NET 5.0. After updating Npgsql to 5.0.2 I am getting the error 'Unable to find DbContextOptionsBuilder, are you missing a PostgreSql EntityFramework Core assembly?' when adding DBContext.

            I tried to look at the available versions of Steeltoe, but the highest NuGet I see is 2.5.2, which gives me this error as well as the older I had (2.4.4).

            Is there any version combination of those libraries that works?

            ...

            ANSWER

            Answered 2021-Mar-05 at 19:32

            The name of that Steeltoe package changed in 3.0, you'll be needing Steeltoe.Connector.EFCore going forward.

            The name of that particular type inside Npgsql.EntityFrameworkCore.PostgreSQL changed in 5.0, so that's what is preventing Steeltoe from finding it. The fix has also been applied to the 2.x branch and is included in version 2.5.3.

            Check the Steeltoe Samples repo for both 2.x and 3.x versions

            Source https://stackoverflow.com/questions/66346509

            QUESTION

            FeignClient configuration in ASP.Net
            Asked 2020-May-25 at 22:47

            I am trying to create microservices using Spring-boot Java and SteelToe ASP.NET

            Step-1: I created a full service using Java (A service with UI and API. It is hosted on PCF). The API has ClassesControler defined inside.

            Step-2: Create a microservice using ASP.NET, SteelToe. Register the service in Eureka and make it discoverable using Zuul.

            Step-3: Use the Interface, Service approach to access the JAVA microservice(s)

            ...

            ANSWER

            Answered 2020-May-21 at 16:04

            I'm unclear which direction traffic is flowing in your scenario, but I think you're saying the .NET application is trying to call the Java application. The code you're using is from before HttpClientFactory was introduced and is a bit clunkier than what's possible now in general. Steeltoe can be used with HttpClientFactory for a better overall experience.

            Steeltoe has debug logging available to confirm the results of service lookup if you set logging:loglevel:Steeltoe.Common.Discovery = true in your application config.

            You didn't mention specifically what isn't working, but I'm guessing you're getting a 404 since it looks like your code will create a request path looking like https://fortuneService/api/fortunes/random/api/v1/classes

            If you're looking for something like Feign in .NET, you could try out DHaven.Faux

            Source https://stackoverflow.com/questions/61904871

            QUESTION

            How do I get multiple config files from a spring config service into a dotnetcore app using Steeltoe extension?
            Asked 2020-May-21 at 15:45

            How can I get back multiple config files from a spring config server?

            I have c# dotnetcore 3.1 application using Steeltoe.Extensions.ConfigServerCore.2.2.0

            I am able to get the configurations that match the spring application name. ie if my application name is "my-service" then I can get "my-service.properties" as well as "application.properties" by using

            ...

            ANSWER

            Answered 2020-May-21 at 15:45

            Steeltoe largely relies on Config Server's logic for finding the backing files by specifying the app name, environment name and additional labels. Because of the way .NET configuration is flattened into a dictionary, you won't see this reflected later in your application, but if config values are missing that you're hoping to see it may be due to the file names not matching the expected conventions.

            Using AddConfigServer("external") will result in a request for "my-service-external.properties". Due to the dash being used in the convention for separating the app name from environment (or profile) name you might not want to use it in your app name.

            Additionally, there have been a few releases of Steeltoe since 2.2.0, I'd suggest using the latest GA release available (currently 2.4.3)

            Source https://stackoverflow.com/questions/61923482

            QUESTION

            Docker-compose uses wrong ASP.NET Core version (3.0 instead of 3.1)
            Asked 2020-Mar-03 at 10:19

            As the title suggests, docker-compose tries to build a 3.0 ASP.NET Core Image instead of 3.1.

            I recently updated my project from 3.0 using the instructions from this Microsoft article: https://docs.microsoft.com/en-us/aspnet/core/migration/30-to-31?view=aspnetcore-3.1&tabs=visual-studio except the global.json part, since I don't use one.

            Here is what I tried:

            This is my yaml file:

            ...

            ANSWER

            Answered 2020-Mar-03 at 10:19

            You should recreate your docker file,

            There is a FROM keyword in your docker file that shows your container should start with which image.

            Source https://stackoverflow.com/questions/60495206

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install Steeltoe

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/SteeltoeOSS/Steeltoe.git

          • CLI

            gh repo clone SteeltoeOSS/Steeltoe

          • sshUrl

            git@github.com:SteeltoeOSS/Steeltoe.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link