Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
374 changes: 374 additions & 0 deletions src/schemas/json/component-detection-manifest.json

Large diffs are not rendered by default.

601 changes: 600 additions & 1 deletion src/schemas/json/dependabot-2.0.json

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions src/schemas/json/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,29 @@
"description": "A value indicating whether to write orchestration replay events to Application Insights.",
"type": "boolean",
"default": false
},
"distributedTracingEnabled": {
"description": "Distributed tracing tracks requests and shows how different services interact with each other and correlates orchestrations, entities, and activities together.",
"type": "boolean",
"default": false
},
"version": {
"description": "Distributed tracing version",
"oneOf": [
{
"description": "Distributed Tracing is disabled.",
"const": "None"
},
{
"description": "Original implementation of Distributed Tracing in Durable Functions that can be configured to use HttpCorrelationProtocol or W3CTraceContext",
"const": "V1"
},
{
"description": "OpenTelemetry compatible version of Distributed Tracing in Durable Functions.",
"const": "V2"
}
],
"default": "V2"
}
},
"additionalProperties": false
Expand Down
11 changes: 7 additions & 4 deletions src/schemas/json/partial-cibuildwheel.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
},
"enable": {
"enum": [
"cpython-experimental-riscv64",
"cpython-freethreading",
"cpython-prerelease",
"graalpy",
Expand Down Expand Up @@ -102,10 +101,10 @@
},
"build-frontend": {
"default": "default",
"description": "Set the tool to use to build, either \"build\" (default), \"build[uv]\", or \"pip\"",
"description": "Set the tool to use to build, either \"build\" (default), \"build[uv]\", \"uv\", or \"pip\"",
"oneOf": [
{
"enum": ["pip", "build", "build[uv]", "default"]
"enum": ["pip", "build", "build[uv]", "uv", "default"]
},
{
"type": "string",
Expand All @@ -119,13 +118,17 @@
"type": "string",
"pattern": "^build\\[uv\\]; ?args:"
},
{
"type": "string",
"pattern": "^uv; ?args:"
},
{
"type": "object",
"additionalProperties": false,
"required": ["name"],
"properties": {
"name": {
"enum": ["pip", "build", "build[uv]"]
"enum": ["pip", "build", "build[uv]", "uv"]
},
"args": {
"type": "array",
Expand Down
33 changes: 27 additions & 6 deletions src/schemas/json/specmatic.json
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,9 @@
"strictMode": {
"type": ["boolean", "null"],
"description": "Whether to enable strict mode for contract testing"
},
"https": {
"$ref": "#/definitions/CertConfiguration"
}
}
},
Expand Down Expand Up @@ -599,6 +602,9 @@
"strictMode": {
"type": ["boolean", "null"],
"description": "Whether to enable strict mode for stubbing"
},
"https": {
"$ref": "#/definitions/CertConfiguration"
}
}
},
Expand Down Expand Up @@ -969,15 +975,24 @@
"type": "object",
"additionalProperties": false,
"properties": {
"$ref": { "type": "string" },
"$ref": {
"type": "string"
},
"definitions": {
"$ref": "#/definitions/SpecificationStaticDefinitionArray"
},

"description": { "type": "string" },
"runOptions": { "$ref": "#/definitions/TestRunOptionsOrRef" },
"data": { "$ref": "#/definitions/DataDefinition" },
"settings": { "$ref": "#/definitions/TestSettingsOrRef" }
"description": {
"type": "string"
},
"runOptions": {
"$ref": "#/definitions/TestRunOptionsOrRef"
},
"data": {
"$ref": "#/definitions/DataDefinition"
},
"settings": {
"$ref": "#/definitions/TestSettingsOrRef"
}
},
"oneOf": [
{
Expand Down Expand Up @@ -1834,6 +1849,9 @@
"actuatorUrl": {
"$ref": "#/definitions/SubstitutableString"
},
"cert": {
"$ref": "#/definitions/CertConfigurationOrRef"
},
"specs": {
"$ref": "#/definitions/OpenApiSpecificationRuntimeDefinitionArray"
}
Expand Down Expand Up @@ -2152,6 +2170,9 @@
},
"keyStorePassword": {
"$ref": "#/definitions/SubstitutableString"
},
"mtlsEnabled": {
"$ref": "#/definitions/SubstitutableBoolean"
}
}
},
Expand Down
53 changes: 53 additions & 0 deletions src/test/component-detection-manifest/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,59 @@
"version": "3.10.4"
}
}
},
{
"component": {
"nuget": {
"authorsInfo": [
{ "name": "Test Author", "type": "Person" },
{
"email": "test@example.com",
"name": "Test Org",
"type": "Organization",
"url": "https://example.com"
}
],
"downloadUrl": "https://example.com/api/v2/package/TestPackage/1.0.0",
"licenses": ["MIT"],
"name": "TestPackage",
"packageUrl": "pkg:nuget/TestPackage@1.0.0",
"sourceUrl": "https://github.com/test-org/TestPackage",
"version": "1.0.0"
},
"type": "nuget"
},
"dependencyRoots": [
{
"nuget": {
"name": "TestApp",
"version": "2.0.0"
},
"type": "nuget"
}
],
"detectedComponentLocations": ["/src/TestApp/TestPackage.dll"],
"licensesConcluded": ["MIT"],
"suppliers": [{ "name": "Test Org", "type": "Organization" }]
},
{
"component": {
"other": {
"downloadUrl": "https://example.com/tools/testtool-2.0.0.zip",
"hash": "abc123def456",
"name": "TestTool",
"version": "2.0.0"
},
"type": "other"
},
"licensesConcluded": ["Apache-2.0"],
"suppliers": [
{
"name": "Test Person",
"type": "Person",
"url": "https://example.com/test-person"
}
]
}
],
"version": 1
Expand Down
4 changes: 3 additions & 1 deletion src/test/host/host.v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@
"workItemQueueVisibilityTimeout": "00:05:00"
},
"tracing": {
"distributedTracingEnabled": true,
"traceInputsAndOutputs": false,
"traceReplayEvents": false
"traceReplayEvents": false,
"version": "V2"
},
"useAppLease": true,
"useGracefulShutdown": false
Expand Down
28 changes: 28 additions & 0 deletions src/test/specmatic/specmatic-v2-mtls.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"contracts": [
{
"filesystem": {
"directory": "./contracts"
},
"provides": ["./contracts/petstore.yaml"]
}
],
"stub": {
"https": {
"keyStore": {
"file": "./certs/server.jks"
},
"keyStorePassword": "server-store-pass",
"mtlsEnabled": true
}
},
"test": {
"https": {
"keyStore": {
"file": "./certs/client.jks"
},
"keyStorePassword": "client-store-pass"
}
},
"version": 2
}
64 changes: 64 additions & 0 deletions src/test/specmatic/specmatic-v3-mtls.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"dependencies": {
"services": [
{
"service": {
"definitions": [
{
"definition": {
"source": {
"filesystem": {
"directory": "./specs"
}
},
"specs": ["order.yaml"]
}
}
],
"runOptions": {
"openapi": {
"cert": {
"keyStore": {
"file": "./certs/server.jks"
},
"keyStorePassword": "server-store-pass",
"mtlsEnabled": true
},
"host": "localhost",
"port": 9443,
"type": "mock"
}
}
}
}
]
},
"systemUnderTest": {
"service": {
"definitions": [
{
"definition": {
"source": {
"filesystem": {
"directory": "./specs"
}
},
"specs": ["order.yaml"]
}
}
],
"runOptions": {
"openapi": {
"baseUrl": "https://api.example.com:9443",
"cert": {
"keyStore": {
"file": "./certs/client.jks"
},
"keyStorePassword": "client-store-pass"
}
}
}
}
},
"version": 3
}