Articles

MUnit is a Mule Application Testing Framework that allows you to easily build automated tests for your Integration and APIs. It provides a full suite of integration and unit test capabilities, and it is fully integrated with Maven.

MUnit is fully integrated with Anypoint Studio and allows you to create, design, and test your MUnit tests just like you would Mule Applications.

Source de l’article sur DZONE

@FeignClient(name = "service-provider")
public interface EchoService { @RequestMapping(value = "/echo/{str}", method = RequestMethod.GET) String echo(@PathVariable("str") String str);
}

What Is Sentinel

Sentinel is an open source circuit breaker. It can be part of Spring Cloud Alibaba or as an individual package.

What Is Feign

Feign is a Java to HTTP client binder. It’s aiming to simplify the REST API process.

Source de l’article sur DZONE

Hello everyone, in this article, I’m going to share my experience of when I tried to do a conversion in Mule 4. I will briefly explain the purpose of this article while showing the code that I can implement in Mule 3 and how I have to write it in Mule 4 in order to get a similar response.

As we all know, Mule 4 is trending in the market, which makes Mule 3 people migrate their code from Mule 3 to Mule 4. 

Source de l’article sur DZONE


What Is HATEOAS?

Hypermedia as the Engine of Application State, or HATEOAS for short, is a flavor of REST that uses hypermedia to describe what future actions are available to the client. Allowable actions are derived in the API based on the current application state and returned to the client as a collection of links.  The client then uses these links to drive further interactions with the API.

Do I Need HATEOAS to Do REST?

In my opinion, no. Now that’s a potentially controversial point of view, as many will argue that that only hypermedia enabled services are truly RESTful. I base my opinion on experience in the real world and the fact that I’ve built numerous REST APIs over the years that didn’t use HATEOAS but served their purpose well. HATEOAS certainly has its place but it shouldn’t be considered mandatory for RESTful APIs.

Source de l’article sur DZONE

What are we trying to accomplish:

  • Create a release pipeline that automates your software delivery process using AWS CodePipeLine, Azure DevOps and Jenkins.
  • Automate code deployments by connecting your pipeline to Source Repo -> code changes committed to your source code repository and trigger Maven commands on different phases to perform further action with respect to application deployment.
  • Use Mule Maven Plugin to automate deployment on CloudHub by extracting information from POM. AWS CodeBuild, Azure DevOps, and Jenkins will initiate the corresponding Maven command to trigger the deployment on CloudHub after application packing is completed.

For the purpose of this article, we created a simple Mule 4 project and configured mule-maven-plugin 3.1.6 for deploying to CloudHub.

Source de l’article sur DZONE

The coming year almost certainly has some surprises in store for the technology space, but one factor IT professionals can bank on is that digital transformation will remain a top goal for enterprises. Digital transformation provides a solid advantage by facilitating operational excellence; it enables service or product innovation, and it increases customer value over time. That’s why enabling digital transformation is among CIOs’ top three objectives in 11 out of 15 industries, according to Gartner’s 2018 CIO Agenda Industry Insights report.

Both the agent and currency of every digital transformation initiative is data. IT professionals seeking to help their companies pursue digital business models in the coming year must be ready to quickly integrate an ever-increasing number of endpoints and applications required by business leaders. They must also be ready to manage and deploy digital assets and data from new data sources, a majority of which will be cloud-based, and do so at the speed of innovation. For IT leaders, the challenge will be to develop an IT strategy and architecture that can support the integration and data management needs of digital transformation.

Source de l’article sur DZONE

The following illustration explains how an HTTP POST request can be configured for multiple files in a single request using RAML 1.0 and Mule version 4.1.4.

RAML 1.0 construct:

Source de l’article sur DZONE

As we are wrapping up 2018, you can’t help looking back at the record number of high profile API breaches that happened this year and wondering what can be expected next year. However, it is not all about the holiday mood: this week was also marked by a security hole in mutual TLS authentication in the Go language, XSS at Google Code-in, another Facebook glitch, hundreds of vulnerable Kubernetes deployments, and an announcement of the upcoming healthcare API standards in the US.

Vulnerabilities

The big one this week is the mutual TLS authentication issue in the Go language. The vulnerability that got fixed this week allowed attackers to launch CPU DoS attacks. With Go being one of the most popular programming languages in the microservices and backend implementation world and mutual TLS is one of the most popular security mechanisms, the impact of the vulnerability is significant.

Source de l’article sur DZONE

Our partner Xignite has launched a powerful new webhook API for getting financial market notifications pushed to the URL of your choice. Allowing developers to craft individual subscriptions to the robust financial markets data catalog Xignite brings to the table. Xignite provides a testable form for defining each of the alerts you create for the Xignite financial data APIs, allowing you define using the following data points: a href="https://www.xignite.com/product/market-data-alerts#/DeveloperResources/request">

IdentifierType — The type of identifier used (ie. Symbol)
Identifier — The specific identifier value for this alert.
API — Which of the Xignite APIs you want to receive alerts.
Condition — Allowing you to apply specific conditions to alerts.
Reset — Determines the alert frequency, and if it resets itself.
CallbackURL — The URL that the webhook alert will call when an event occurs.
StartDate — Giving the alert a start date of when it will run.
EndDate — Giving the alert an end date of when it will stop running.

Source de l’article sur DZONE

A common question that people ask is “should I use Ambassador if I’m using a service mesh (usually Istio)?” After all, both Ambassador and Istio are built on the Envoy Proxy. Moreover, Istio recently added support for explicitly managing ingress with the Gateway abstraction. So, do you need an API Gateway if you’re using a service mesh?

Ambassador (and API Gateways in general) focus on north/south traffic, i.e., traffic into your data center. Istio (and other service meshes) handle east/west traffic, i.e., traffic between services in your data center. If your service mesh already manages L7 traffic, can you use it for managing north/south traffic?

Source de l’article sur DZONE