Skip to content

Commit

Permalink
test registry for index/server mock testing added.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Valdron <[email protected]>
  • Loading branch information
michael-valdron committed Jul 29, 2022
1 parent 17b0c7d commit a7e426c
Show file tree
Hide file tree
Showing 21 changed files with 2,270 additions and 0 deletions.
39 changes: 39 additions & 0 deletions index/server/tests/registry/extraDevfileEntries.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
schemaVersion: 1.0.0
samples:
- name: nodejs-basic
displayName: Basic NodeJS
description: A simple Hello World application
icon: nodejsIcon.svg
tags: ["NodeJS", "Express"]
projectType: nodejs
language: nodejs
versions:
- version: 1.0.0
schemaVersion: 2.0.0
description: nodejs with devfile v2.0.0
git:
remotes:
origin: https://github.com/redhat-developer/devfile-sample
- version: 1.0.1
schemaVersion: 2.2.0
default: true
description: nodejs with devfile v2.2.0
git:
remotes:
origin: https://github.com/nodeshift-starters/devfile-sample
- name: code-with-quarkus
displayName: Basic Quarkus
description: A simple Hello World Java application using Quarkus
icon: https://raw.githubusercontent.com/elsony/devfile-sample-code-with-quarkus/main/.devfile/icon/quarkus.png
tags: ["Java", "Quarkus"]
projectType: quarkus
language: java
provider: Red Hat
versions:
- version: 1.1.0
schemaVersion: 2.0.0
default: true
description: java quarkus with devfile v2.0.0
git:
remotes:
origin: https://github.com/elsony/devfile-sample-code-with-quarkus.git
65 changes: 65 additions & 0 deletions index/server/tests/registry/index_extra.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[
{
"name": "nodejs-basic",
"displayName": "Basic NodeJS",
"description": "A simple Hello World application",
"type": "sample",
"tags": [
"NodeJS",
"Express"
],
"icon": "nodejsIcon.svg",
"projectType": "nodejs",
"language": "nodejs",
"versions": [
{
"version": "1.0.0",
"schemaVersion": "2.0.0",
"git": {
"remotes": {
"origin": "https://github.com/redhat-developer/devfile-sample"
}
},
"description": "nodejs with devfile v2.0.0"
},
{
"version": "1.0.1",
"schemaVersion": "2.2.0",
"default": true,
"git": {
"remotes": {
"origin": "https://github.com/nodeshift-starters/devfile-sample"
}
},
"description": "nodejs with devfile v2.2.0"
}
]
},
{
"name": "code-with-quarkus",
"displayName": "Basic Quarkus",
"description": "A simple Hello World Java application using Quarkus",
"type": "sample",
"tags": [
"Java",
"Quarkus"
],
"icon": "https://raw.githubusercontent.com/elsony/devfile-sample-code-with-quarkus/main/.devfile/icon/quarkus.png",
"projectType": "quarkus",
"language": "java",
"provider": "Red Hat",
"versions": [
{
"version": "1.1.0",
"schemaVersion": "2.0.0",
"default": true,
"git": {
"remotes": {
"origin": "https://github.com/elsony/devfile-sample-code-with-quarkus.git"
}
},
"description": "java quarkus with devfile v2.0.0"
}
]
}
]
Loading

0 comments on commit a7e426c

Please sign in to comment.