This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"command": [ | |
"curl", | |
"https://reqbin.com/echo/get/json", | |
"-H", | |
"'Accept: application/json'" | |
], | |
"expected_status": "200", | |
"expected_body": "{\"success\":\"true\"}" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix k8s: <urn:k8s:> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
k8s:Kind a rdfs:Class . | |
k8s:Namespace a rdfs:Class ; | |
rdfs:label "Namespace" . | |
k8s:Application a k8s:Kind . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Data | |
{ | |
"@graph": [ | |
{ | |
"@id": "_:b0", | |
"skos:prefLabel": [ | |
{"@language": "fr", "@value": "France" }, | |
{"@language": "it", "@value": "Italia" } | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rdflib import Graph | |
import yaml | |
d = yaml.safe_load(Path("d3fend.yaml").read_text()) | |
g=Graph() | |
g.parse(data=json.dumps(d), format="application/ld+json") | |
print(g.serialize(format="application/ld+json")) | |
--- | |
"@context": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"Person": "http://uri.suomi.fi/datamodel/ns/isa2core#Person", | |
"Location": "http://uri.suomi.fi/datamodel/ns/isa2core#Location", | |
"Geometry": "http://uri.suomi.fi/datamodel/ns/isa2core#Geometry", | |
"Address": "http://uri.suomi.fi/datamodel/ns/isa2core#Address", | |
"Identifier": "http://uri.suomi.fi/datamodel/ns/isa2core#Identifier", | |
"Agent": "http://uri.suomi.fi/datamodel/ns/isa2core#Agent", | |
"identifies": { | |
"@id": "http://uri.suomi.fi/datamodel/ns/isa2core#identifies", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.1 | |
info: | |
title: SDG OAuth | |
version: 1.1.0 | |
description: SDG OAuth | |
termsOfService: https://sdg-oauth.github.io/sdg-oauth/ | |
contact: | |
name: SDG OAuth | |
url: https://sdg-oauth.github.io/sdg-oauth/ | |
license: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.3 | |
info: | |
title: API Sistema Gestione Deleghe (SGD) | |
version: '1.0.0' | |
description: This document contains the specification for the SGD API | |
termsOfService: https://deleghedigitali.gov.it/tos | |
contact: | |
name: Istituto Poligrafico e Zecca dello Stato (IPZS) | |
url: https://deleghedigitali.gov.it | |
email: [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends: | |
- https://italia.github.io/api-oas-checker/spectral-full.yml | |
rules: | |
oas3-unused-components-schema: false | |
oas3-api-servers: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install argocd CLI. | |
wget https://github.com/argoproj/argo-cd/releases/download/v2.2.5/argocd-linux-amd64 -O ~/.local/bin/argocd && chmod +x ~/.local/bin/argocd | |
# Run a minikube instance. | |
export CLUSTER_NAME="test-argocd" | |
minikube start --profile "${CLUSTER_NAME}" | |
# Deploy argocd in the `argocd` ns. | |
kubectl create namespace argocd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.3 | |
info: | |
title: Interoperability API Gateway Micro Service | |
description: defines the persistence operations for the agreement | |
version: '0.1.0' | |
contact: | |
name: API Support | |
url: 'http://www.example.com/support' | |
email: [email protected] | |
termsOfService: 'http://swagger.io/terms/' |