Samsung: Galaxy S24 soll aussehen wie ein iPhone
Samsung soll beim kommenden Galaxy S24 ein neues Design wählen – der flache Rahmen erinnert dabei stark an Apples iPhones. (Samsung, Smartphone)
Quelle: Golem
Samsung soll beim kommenden Galaxy S24 ein neues Design wählen – der flache Rahmen erinnert dabei stark an Apples iPhones. (Samsung, Smartphone)
Quelle: Golem
Die KI-Forschungsgruppe Laion hat das freie Llama-Modell für Deutsch angepasst. Das soll vor allem die englischsprachige Dominanz brechen. (KI, Spracherkennung)
Quelle: Golem
Google hat mal wieder eine Zero-Day-Schwachstelle in Chrome gepatcht. Neben gängigen Webbrowsern sind aber auch viele andere Apps betroffen. (Sicherheitslücke, Firefox)
Quelle: Golem
In the dynamic landscape of software development, collaborations often lead to innovative solutions that simplify complex challenges. The Docker and Microcks partnership is a prime example, demonstrating how the relationship between two industry leaders can reshape local application development.
This article delves into the collaborative efforts of Docker and Microcks, spotlighting the emergence of the Microcks Docker Desktop Extension and its transformative impact on the development ecosystem.
What is Microcks?
Microcks is an open source Kubernetes and cloud-native tool for API mocking and testing. It has been a Cloud Native Computing Foundation Sandbox project since summer 2023.
Microcks addresses two primary use cases:
Simulating (or mocking) an API or a microservice from a set of descriptive assets (specifications or contracts)
Validating (or testing) the conformance of your application regarding your API specification by conducting contract-test
The unique thing about Microcks is that it offers a uniform and consistent approach for all kinds of request/response APIs (REST, GraphQL, gRPC, SOAP) and event-driven APIs (currently supporting eight different protocols) as shown in Figure 1.
Figure 1: Microcks covers all kinds of APIs.
Microcks speeds up the API development life cycle by shortening the feedback loop from the design phase and easing the pain of provisioning environments with many dependencies. All these features establish Microcks as a great help to enforce backward compatibility of your API of microservices interfaces.
So, for developers, Microcks brings consistency, convenience, and speed to your API lifecycle.
Why run Microcks as a Docker Desktop Extension?
Although Microcks is a powerhouse, running it as a Docker Desktop Extension takes the developer experience, ease of use, and rapid iteration in the inner loop to new levels. With Docker’s containerization capabilities seamlessly integrated, developers no longer need to navigate complex setups or wrestle with compatibility issues. It’s a plug-and-play solution that transforms the development environment into a playground for innovation.
The simplicity of running Microcks as a Docker extension is a game-changer. Developers can effortlessly set up and deploy Microcks in their existing Docker environment, eliminating the need for extensive configurations. This ease of use empowers developers to focus on what they do best — building and testing APIs rather than grappling with deployment intricacies.
In agile development, rapid iterations in the inner loop are paramount. Microcks, as a Docker extension, accelerates this process. Developers can swiftly create, test, and iterate on APIs without leaving the Docker environment. This tight feedback loop ensures developers identify and address issues early, resulting in faster development cycles and higher-quality software.
The combination of two best-of-breed projects, Docker and Microcks, provides:
Streamlined developer experience
Easiness at its core
Rapid iterations in the inner loop
Extension architecture
The Microcks Docker Desktop Extension has an evolving architecture depending on your enabling features. The UI that executes in Docker Desktop manages your preferences in a ~/.microcks-docker-desktop-extension folder and starts/stops/cleans the needed containers.
At its core, the architecture (Figure 2) embeds two minimal elements: the Microcks main container and a MongoDB database. The different containers of the extension run in an isolated Docker network where only the HTTP port of the main container is bound to your local host.
Figure 2: Microcks extension default architecture.
Through the Settings panel offered by the extension (Figure 3), you can tune the port binding and enable more features, such as:
The support of asynchronous APIs mocking and testing via the usefulness of AsyncAPI with Kafka and WebSocket
The ability to run Postman collection tests in Microcks includes support for Postman testing.
Figure 3: Microcks extension Settings panel.
When applied, your settings are persistent in your ~/.microcks-docker-desktop-extension folder, and the extension augments the initial architecture with the required services. Even though the extension starts with additional containers, they are carefully crafted and chosen to be lightweight and consume as few resources as possible. For example, we selected the Redpanda Kafka-compatible broker for its super-light experience.
The schema shown in Figure 4 illustrates such a “maximal architecture” for the extension:
Figure 4: Microcks extension maximal architecture.
The Docker Desktop Extension architecture encapsulates the convergence of Docker’s containerization capabilities and Microcks’ API testing prowess. This collaborative endeavor presents developers with a unified interface to toggle between these functionalities seamlessly. The architecture ensures a cohesive experience, enabling developers to harness the power of both Docker and Microcks without the need for constant tool switching.
Getting started
Getting started with the Docker Desktop Extension is a straightforward process that empowers developers to leverage the benefits of unified development. The extension can be easily integrated into existing workflows, offering a familiar interface within Docker. This seamless integration streamlines the setup process, allowing developers to dive into their projects without extensive configuration.
Here are the steps for installing Microcks as a Docker Desktop Extension:1. Choose Add Extensions in the left sidebar (Figure 5).
Figure 5: Add extensions in the Docker Desktop.
2. Switch to the Browse tab.
3. In the Filters drop-down, select the Testing Tools category.
4. Find Microcks and then select Install (Figure 6).
Figure 6: Find and open Microcks.
Launching Microcks
The next step is to launch Microcks (Figure 7).
Figure 7: Launch Microcks.
The Settings panel allows you to configure some options, like whether you’d like to enable the asynchronous APIs features (default is disabled) and if you’d need to set an offset to ports used to access the services (Figures 8 and 9).
Figure 8: Microcks is up and running.
Figure 9: Access asynchronous APIs and services.
Sample app deployment
To illustrate the real-world implications of the Docker Desktop Extension, consider a sample application deployment. As developers embark on local application development, the Docker Desktop Extension enables them to create, test, and iterate on their containers while leveraging Microcks’ API mocking and testing capabilities.
This combined approach ensures that the application’s containerization and API aspects are thoroughly validated, resulting in a higher quality end product. Check out the three-minute “Getting Started with Microcks Docker Desktop Extension” video for more information.
Conclusion
The Docker and Microcks partnership, exemplified by the Docker Desktop Extension, signifies a milestone in collaborative software development. By harmonizing containerization and API testing, this collaboration addresses the challenges of fragmented workflows, accelerating development cycles and elevating the quality of applications.
By embracing the capabilities of Docker and Microcks, developers are poised to embark on a journey characterized by efficiency, reliability, and collaborative synergy.
Remember that Microcks is a Cloud Native Computing Sandbox project supported by an open community, which means you, too, can help make Microcks even greater. Come and say hi on our GitHub discussion or Zulip chat 🐙, send some love through GitHub stars ⭐️, or follow us on Twitter, Mastodon, LinkedIn, and our YouTube channel.
Learn more
Try the Microcks Docker Extension.
Learn about Docker Extensions.
Get the latest release of Docker Desktop.
Vote on what’s next! Check out our public roadmap.
Have questions? The Docker community is here to help.
New to Docker? Get started.
Quelle: https://blog.docker.com/feed/
Globalfoundries kündigt an, 8 Milliarden US-Dollar in Deutschland zu investieren. Doch wie Intel und TSMC will man einen großen Teil davon vom Staat zurückerhalten. (Globalfoundries, Prozessor)
Quelle: Golem
Die neue Version von Fitbits Sport-Wearable kann zahlreiche Daten aufzeichnen und verfügt über Komfortfunktionen Google Wallet und Maps-Navigation. (Fitbit, Google)
Quelle: Golem
Reagiert Antimaterie auf Schwerkraft wie normale Materie oder wird sie von ihr abgestoßen? Eine Kollaboration am Cern ist dieser Frage nachgegangen. (Antimaterie, Cern)
Quelle: Golem
Um bis zum Jahr 2030 Gigabit-Anschlüsse für jeden Haushalt in der EU anzubieten, sind hohe Investitionen nötig. Nun wurde dies für 5G und Glasfaser durchgerechnet. (EU-Kommission, Studien)
Quelle: Golem
Zusammen mit einem US-Partner will Telefónica seinen Kunden ermöglichen, dass IoT-Geräte zwischen terrestrischen und nicht-terrestrischen Netzwerken wechseln können. (IoT, Telefónica)
Quelle: Golem
Heute haben wir vier Verbesserungen und Erweiterungen der Benutzerfreundlichkeit in der AWS-Managementkonsole eingeführt. Zu den Verbesserungen der Benutzerfreundlichkeit gehören beschreibende Seitentitel und hochauflösende Favicons, die im Browser-Tab einer AWS-Konsolenseite angezeigt werden. Wir haben auch die Navigationsleiste aktualisiert, um eine Anzeigeoption für die Größe der favorisierten Symbole und ein neues Einstellungsmenü hinzuzufügen. Mit dieser Einführung wird der Link zu den Unified Settings vom Kontomenü in das neue Einstellungsmenü verschoben, das als Zahnradsymbol in der Navigationsleiste angezeigt wird.
Quelle: aws.amazon.com