Developer tools

Falcon and RHSCL
Article

Create a scalable REST API with Falcon and RHSCL

Shane Boulden

APIs are critical to automation, integration and developing cloud-native applications, and it's vital they can be scaled to meet the demands of your user-base. In this article, we'll create a database-backed REST API based on the Python Falcon framework using Red Hat Software Collections (RHSCL)

3Scale By Red Hat logo
Article

3scale Developer Portal signup flows

kevin price

There are 4 custom signup flows in this example parent homepage. As all the flows are separated into each partial you can include them into the homepage using Liquid tags as shown in this snippet: {% include 'partial name' %}. You can include the partials into your 3scale portal individually or all together. It depends

SystemTap
Article

What are BPF Maps and how are they used in stapbpf

Aaron Merey

Compared to SystemTap's default backend, one of stapbpf's most distinguishing features is the absence of a kernel module runtime. The BPF machinery inside the kernel instead mostly handles its runtime. Therefore it would be very helpful if BPF provided us with a way for states to be maintained across multiple invocations of BPF programs and for userspace programs to be able to communicate with BPF programs. This is accomplished by BPF maps. In this blog post, I will introduce BPF...

Apache Camel logo
Article

Using Camel-Undertow component supporting http2 connection

Chandra Shekhar Pandey

This article would help to configure http2 protocol support for the camel-undertow component. Camel's undertow component use embedded undertow web-container of version undertow-core:jar:1.4.21. This version also supports the http2 connection. I have used camel version 2.21.0-SNAPSHOT from upstream https://github.com/apache/camel. Also, the curl version to test application using camel-undertow component is 7.53.1. This curl version supports --http2 flag for sending an http2 request. I have also used nghttp to test application from linux terminal. However, this article is not about http2...

Red Hat Logo
Article

Steps to replace nip.io with xip.io in CDK/Minishift

Lalatendu Mohanty

If you're a Red Hat Container Development Kit (CDK) or upstream Minishift user, you would have been affected by the unavailability of nip.io. When you create a route for an application running in OpenShift (provided by Minishift) it uses nip.io for routing to the Minishift VM IP address. As a result, it is impossible to access the route created with nip.io suffix. Unfortunately, it has been more than 24 hours and nip.io is not up yet. So here are the...

Featured image for: Report from the virtual ISO C++ meetings in 2020 (core language).
Article

Red Hat at the ISO C++ Standards Meeting (November 2017): Parallelism and Concurrency

Torvald Riegel

Several Red Hat engineers attended the JTC1/SC22/WG21 C++ Standards Committee meetings in November 2017. This post focuses on the sessions of SG1, the study group on parallelism and concurrency. SG1 had a full schedule as usual, with Executors, Futures, and deferred reclamation mechanisms (e.g., RCU) being major discussion topics. We also started to track the state of proposals and topics we will need to discuss in a publicly accessible bug tracker. I have argued in the past that SG1 should...

.NET Core
Article

Developing .NET Core 2.0 Web Applications on OpenShift

Roland Grunberg

Today we're going to create a .NET Core 2.0 Web Application using the JBoss Developer Studio and the aCute plugin (C# application development). We'll deploy our application onto an OpenShift instance and continue to modify it while viewing the changes almost instantly. Although the initial setup will be quite involved, it will only need to be done once. You might imagine that the normal workflow for this would be: Make local changes. Commit + push them to version control. Either...

Speed up your Python using Rust
Article

Speed up your Python using Rust

Bruno Rocha

Rust is a language that has no runtime so it can be used to integrate with any runtime; You can write modules in Rust and call using Python

GitHub API
Article

Getting Started with GraphQL using GitHub API

Harshit Prasad

GraphQL is a query language for APIs. It provides a complete and understandable description of the data in your API and gives clients the power to ask for exactly what they need and nothing more. Send a GraphQL query to your API and get exactly what you need. These queries always return predictable results using GraphQL. It is fast and stable. Once you have opened the GraphQL explorer provided by GitHub, you'll notice that it will display a sample query...

Article Thumbnail
Article

The GDB Python API

Phil Muldoon

GDB has evolved in the last several years to provide a Python API. This series of articles will look at how a user can program GDB with the API and will also take an in-depth look at several features of that API. But, before we begin, a small history lesson is needed and a look at just why an API was needed. Why an API? The humble debugger. We've all used one at some point in our careers, sometimes with...

Java logo
Article

Red Hat introduces JDK 9

Jeff Maury

Support for Java™ 9 Starting from Red Hat JBoss Developer Studio 11.1, Java™ 9 is now supported. Please note that Red Hat JBoss Developer Studio does not run on a Java™ 9 virtual machine but allows for managing and building of Java™ 9 projects and artifacts. So, you must first define in your workspace a Java™ 9 JDK if you want to manage and build Java™ 9 projects. Java™ 9 is here, and JDT fully supports it: The Eclipse compiler...

Internet of things feature image
Article

Open IoT Challenge - CFP deadline next week

Ishu Verma

Inviting all hackers, tinkerers, and builders to take part in the Open IoT Challenge 4.0. Wouldn't it be cool to showcase a solution with enterprise and operational technologies, modern app dev and machine learning working together (hint: Kura, OpenShift, Camel, Spark...)? Or perhaps you've another great idea for remote health monitoring that you would you like to prototype. You can use any open source technology to build the IoT solution. The Open IoT Challenge 4.0 CFP deadline is November 13...

Eclipse logo
Article

Red Hat introduces JUnit5

Jeff Maury

Support for JUnit 5 Starting from Red Hat JBoss Developer Studio 11.1, JUnit 5 is now supported. JUnit 5 support is now available in Eclipse. Create a new JUnit Jupiter test via *New JUnit Test Case wizard: Add JUnit 5 library to the build path. New JUnit Test Case wizard offers to add it while creating a new JUnit Jupiter test. Quick Fix (Ctrl+1) proposal on @Test, @TestFactory, @ParameterizedTest, and @RepeatedTest annotations. Add JUnit library in Java Build Path dialog...

Red Hat JBoss Developer Studio Logo
Article

Announcing Red Hat Developer Studio 11.1.0.GA and JBoss Tools 4.5.1.Final for Eclipse Oxygen.1A

Jeff Maury

JBoss Tools 4.5.1 and Red Hat JBoss Developer Studio 11.1 for Eclipse Oxygen.1A are here waiting for you. Check it out! Installation JBoss Developer Studio comes with everything pre-bundled in its installer. Simply download it from our JBoss Products page and run it like this: java -jar jboss-devstudio-.jar JBoss Tools or Bring-Your-Own-Eclipse (BYOE) JBoss Developer Studio requires a bit more: This release requires at least Eclipse 4.7 (Oxygen) but we recommend using the latest Eclipse 4.7.1A Oxygen JEE Bundle since...

RedHat Shadowman Logo
Article

Red Hat extends container development tooling with updated DevSuite, DevStudio, CDK

Mike Guerette +1

We're extremely pleased to announce updates to our Red Hat Development Suite of products, including Container Development Kit 3.2, JBoss Developer Studio 11.1, OpenJDK 9 and our DevSuite 2.1 Installer. As always, our focus is on increasing usability for developers, while adding new features that matter for developers targeting Red Hat platforms. Red Hat Development Suite is a curated, integrated set of desktop tools especially suited for developing Linux container-based microservices. It combines JBoss Developer Studio, Red Hat Container Development...

GNU C library
Article

Fall 2017 GNU Toolchain Update Part 4

Nick Clifton

(Part 4)The GNU Toolchain is a collection of programming tools produced by the GNU Project. The tools are often packaged together due to their common use for developing software applications, operating systems, and low-level software for embedded systems. This blog is part of a regular series covering the latest changes and improvements in the components that make up this Toolchain. Apart from the announcement of new releases, however, the features described here are at the bleeding edge of software development...

Red Hat Logo
Article

Getting started with llvm-toolset

Tom Stellard

llvm-toolset is a new software collection that packages together a number of the tools distributed by the LLVM project, including: LLVM tools and libraries, clang, clang-tools-extra, and lldb. Installing llvm-toolset For updated installation instructions, see How to install Clang/LLVM 6 on Red Hat Enterprise Linux. Clang/LLVM 5.x is packaged in as llvm-toolset-7, which is available in the rhel-7-server-devtools-rpms repo for RHEL 7. (If you don’t already have RHEL 7, Red Hat offers no-cost RHEL subscriptions for development use here.) You...

Getting started with go-toolset
Article

Getting started with go-toolset

Jakub Čajka

One of the new software collections we’ve introduced this fall is for Go, the programming language that aims to make it easy to build simple, reliable, and efficient software. Go is a compiled, statically typed language in the C/C++ tradition with garbage collection, concurrent programming support, and memory safety features. In go-toolset-7, we’re including everything you need to start programming in Go on Red Hat Enterprise Linux 7, in the familiar format of software collections. In this release, we’re shipping...

Dynamic Storage
Article

How to configure persistent storage with OpenShift or Kubernetes for development environment

Chandra Shekhar Pandey

We know that containers in Openshift or Kubernetes don't persist data. Every time we start an application, it is started in a new container with an immutable Docker image. Hence, any persisted data in the file systems is lost when the container stops. Hence if an application or container is rebuilt or restarted than we can't view previous logs or if we are using containers with mysql or any other database then schema, tables, and all data will be lost...

Video Thumbnail
Video

Minishift

Red Hat Developer Program

Minishift