Skip to content

Commit

Permalink
Remove deprecated frontmatter from files
Browse files Browse the repository at this point in the history
  • Loading branch information
InfoSec812 committed Jan 15, 2024
1 parent a7ab3f6 commit 605e256
Show file tree
Hide file tree
Showing 49 changed files with 59 additions and 139 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Automated API Testing With Schemathesis
initialOpenGroupIndex: -1
collapsable: true
sidebarDepth: 1
tags:
- schemathesis
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Contract-First With UI Development
initialOpenGroupIndex: -1
collapsable: true
sidebarDepth: 1
tags:
- contract-first
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Customizing OpenAPI Generator Templates
initialOpenGroupIndex: -1
collapsable: true
sidebarDepth: 1
tags:
- openapi
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/contract-first/openapi-generator.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: OpenAPI Generator
initialOpenGroupIndex: -1
collapsable: true
sidebarDepth: 1
tags:
- openapi
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/contract-first/security-with-openapi.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Security with OpenAPI
initialOpenGroupIndex: -1
collapsable: true
sidebarDepth: 1
author: James Land
tags:
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/devops/tekton-pipelines.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Tekton Pipelines
initialOpenGroupIndex: -1
collapsable: true
tags:
- tekton
- devops
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/devops/tekton-task.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Tekton Task
initialOpenGroupIndex: -1
collapsable: true
tags:
- tekton
- devops
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/devtools/auditjs.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: AuditJS
initialOpenGroupIndex: -1
collapsable: true
tags:
- javascript
- node
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/devtools/compose-files-for-local-dev.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Leveraging Compose Files For Efficient Local Development
initialOpenGroupIndex: -1
collapsable: true
tags:
- docker
- podman
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/devtools/helm-intro.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Helm Intro
initialOpenGroupIndex: -1
collapsable: true
tags:
- helm
- cloud
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/devtools/maven-archetypes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Maven Archetypes
initialOpenGroupIndex: -1
collapsable: true
tags:
- maven
- mvn
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/devtools/owasp-dependency-check.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: OWASP Dependency Check
initialOpenGroupIndex: -1
collapsable: true
tags:
- owasp
- owasp top ten
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/devtools/owasp-zap-hud.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: OWASP Zed Attack Proxy & ZAP HUD
initialOpenGroupIndex: -1
collapsable: true
tags:
- owasp
- owasp top ten
Expand Down
4 changes: 2 additions & 2 deletions src/tracks/runtimes/dotnet/bootstrap.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Generate A New ASP.NETCore WebAPI Using OpenAPI Generator
initialOpenGroupIndex: -1
collapsable: true
tags:
- dotnet
- .net
Expand All @@ -25,6 +23,8 @@ tags:
- openshift
---

# Generate A New ASP.NETCore WebAPI Using OpenAPI Generator

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/HwJs0EijeUo" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Expand Down
4 changes: 2 additions & 2 deletions src/tracks/runtimes/dotnet/configuration.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Configuration
initialOpenGroupIndex: -1
collapsable: true
tags:
- dotnet
- .net
Expand All @@ -25,6 +23,8 @@ tags:
- openshift
---

# Cloud-Native Configuration

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/byHM2L3Wyak" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Expand Down
4 changes: 2 additions & 2 deletions src/tracks/runtimes/dotnet/distributed-tracing.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Distributed Tracing
initialOpenGroupIndex: -1
collapsable: true
tags:
- dotnet
- .net
Expand All @@ -28,6 +26,8 @@ tags:
- openshift
---

# Distributed Tracing

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/jO3h_C2siYE" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Expand Down
8 changes: 4 additions & 4 deletions src/tracks/runtimes/dotnet/entityframework.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Configure Data Access Layer With EntityFramework
initialOpenGroupIndex: -1
collapsable: true
tags:
- dotnet
- .net
Expand All @@ -25,6 +23,8 @@ tags:
- openshift
---

# Configure Data Access Layer With EntityFramework

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/Aq5SFDAJc3M" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Expand Down Expand Up @@ -62,7 +62,7 @@ tags:
Todo AddTodo(Todo newTodo);
Todo GetTodo(Guid id);
}

public partial class TodoListContext:DbContext, ITodoContext
{
public TodoListContext(DbContextOptions<TodoListContext> options) : base(options) { }
Expand Down Expand Up @@ -152,4 +152,4 @@ tags:
cd <solution root>/src/RedHat.TodoList
dotnet ef migrations add InitialCreate
dotnet ef database update
```
```
8 changes: 4 additions & 4 deletions src/tracks/runtimes/dotnet/first-api-endpoint.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Test-Driven Development Of An API Endpoint
initialOpenGroupIndex: -1
collapsable: true
tags:
- dotnet
- .net
Expand All @@ -25,6 +23,8 @@ tags:
- openshift
---

# Implement An API Endpoint

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/OVNA4HOAGDI" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Expand Down Expand Up @@ -73,7 +73,7 @@ Following Test-Driven Development practices, we will now implement our first API
mock.Setup(ctx => ctx.GetTodo(testId)).Returns(testResult);
underTest = new DefaultApiControllerImpl(mock.Object);
}

[TestMethod]
public void GetTodo()
{
Expand All @@ -92,7 +92,7 @@ Following Test-Driven Development practices, we will now implement our first API
// SNIP //
Failed GetTodo [14 ms]
Error Message:
Test method RedHat.TodoList.Tests.TodoApiTest.GetTodo threw exception:
Test method RedHat.TodoList.Tests.TodoApiTest.GetTodo threw exception:
System.NotImplementedException: The method or operation is not implemented.
Stack Trace:
at RedHat.TodoList.ControllerImpl.DefaultApiControllerImpl.GetTodo(Guid todoId) in /home/dphillips/Documents/RedHat/Workspace/CNAD_Enablement/dotnet-openapi-todo/src/RedHat.TodoList/ControllerImpl/DefaultApiImpl.cs:line 23
Expand Down
5 changes: 2 additions & 3 deletions src/tracks/runtimes/dotnet/helm-deployment.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Deploying The Application With Helm 3
initialOpenGroupIndex: -1
collapsable: true
tags:
- dotnet
- .net
Expand All @@ -26,11 +24,12 @@ tags:
- openshift
---

# Deploying The Application With Helm 3

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/pWTQDAQfb80" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>


## Setting Up To Deploy With Helm 3

Helm helps you manage Kubernetes applications — Helm Charts help you define, install, and upgrade even the most complex Kubernetes application.
Expand Down
10 changes: 5 additions & 5 deletions src/tracks/runtimes/dotnet/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Getting Started - Pre-requisistes
initialOpenGroupIndex: -1
collapsable: true
tags:
- dotnet
- .net
Expand All @@ -23,22 +21,24 @@ tags:
- entityframeworkcores
---

# Getting Started

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/NsEDyHdysK0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

## Preparing Your Development Environment

1. Install the [.NET CLI](https://dotnet.microsoft.com/download)
* Red Hat Enterprise Linux:
* Red Hat Enterprise Linux:
```
yum install dotnet-sdk-3.1
```
* Fedora:
* Fedora:
```
dnf install dotnet-sdk-3.1
```
* Debian/Ubuntu:
* Debian/Ubuntu:
```
apt install dotnet-sdk-3.1
```
Expand Down
4 changes: 2 additions & 2 deletions src/tracks/runtimes/dotnet/json-logging.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: JSON Logging And Request Logs
initialOpenGroupIndex: -1
collapsable: true
tags:
- dotnet
- .net
Expand All @@ -25,6 +23,8 @@ tags:
- openshift
---

# JSON Logging

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/hU-h2trXQok" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Expand Down
4 changes: 2 additions & 2 deletions src/tracks/runtimes/dotnet/mstest.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Create Unit Testing Project With MSTest
initialOpenGroupIndex: -1
collapsable: true
tags:
- dotnet
- .net
Expand All @@ -25,6 +23,8 @@ tags:
- openshift
---

# Setting Up Test Driven Development

## Video

<iframe width="560" height="315" src="https://www.youtube.com/embed/ZfCH-FsoPl0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Expand Down
2 changes: 0 additions & 2 deletions src/tracks/runtimes/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Cloud-Native Runtimes
initialOpenGroupIndex: -1
collapsable: true
tags:
- cloud
- runtimes
Expand Down
6 changes: 2 additions & 4 deletions src/tracks/runtimes/quarkus/bootstrap.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Generate a new Quarkus application using OpenAPI Generator
initialOpenGroupIndex: -1
collapsable: true
tags:
- java
- graalvm
Expand All @@ -22,7 +20,7 @@ tags:
- hibernate
---

## Bootstrapping A Project Using OpenAPI Generator
# Bootstrapping A Project Using OpenAPI Generator

In order to simplify adopting a Contract-First API Development approach, we have created a series of [Maven Archetypes](https://maven.apache.org/guides/introduction/introduction-to-archetypes.html) which make initializing new projects extremely quick and simple. These archetypes are already published to [Maven Central](https://search.maven.org/search?q=g:com.redhat.consulting%20a:openapi*archetype)

Expand Down Expand Up @@ -97,4 +95,4 @@ In order to simplify adopting a Contract-First API Development approach, we have
* `openapi-generator-maven-plugin` is attached to the `generate-sources` phase to generate our stubbed JAX-RS Server and Models
* `formatter-maven-plugin` is attached to the `process-sources` phase to format and clean-up the generated code
* `kubernetes-maven-plugin` and `openshift-maven-plugin` from Eclipse JKube - Used to deploy the application to Kubernetes/OpenShift
1. Create the subdirectory `src/main/java` as we will be creating our implementations in there starting with the next segement
1. Create the subdirectory `src/main/java` as we will be creating our implementations in there starting with the next segement
5 changes: 2 additions & 3 deletions src/tracks/runtimes/quarkus/configuration.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
title: Implement Cloud-Native Configuration
initialOpenGroupIndex: -1
collapsable: true
tags:
- java
- graalvm
Expand All @@ -22,6 +20,8 @@ tags:
- hibernate
---

# Cloud-Native Configuration

As you have likely already noticed in previous parts of this track, Quarkus is often configured using a [Properties file](https://docs.oracle.com/javase/tutorial/essential/environment/properties.html). This is quite convenient, but we also need to be able to configure in a cloud-native way which may comply with a 12-factor application concept of **configuration from the environment**

1. First, we will include support for YAML configuration files by adding a dependency to the Maven `pom.xml`
Expand Down Expand Up @@ -81,4 +81,3 @@ As you have likely already noticed in previous parts of this track, Quarkus is o
```
/path/to/quarkus/executable -Dquarkus.config.locations=/path/to/config.yaml
```

Loading

0 comments on commit 605e256

Please sign in to comment.