Skip to content

Commit ea1a3e2

Browse files
committed
2 parents b2772e4 + 5dde09e commit ea1a3e2

19 files changed

Lines changed: 468 additions & 28 deletions

File tree

.github/workflows/validate-schemas.yml renamed to .github/workflows/validate-fabric-schemas.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: validate schemas
1+
name: validate Fabric schemas
22

33
on:
44
pull_request:
55
paths:
6-
- 'fabric/item/**/*.json'
6+
- 'fabric/**/*.json'
77

88
jobs:
99
test:
@@ -24,4 +24,4 @@ jobs:
2424
2525
- name: Run tests
2626
run: |
27-
pytest
27+
pytest ./tests/validate-fabric-schemas_test.py

azure-pipelines.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ steps:
1313
- script: echo Triggering staging deployment of JSON-SCHEMAS in github, this copy files to staging blob storage!
1414
displayName: 'Staging deployment JSON-SCHEMAS'
1515

16-
- task: AzureFileCopy@5
16+
- task: M365CdnAssetsUpload@3
1717
inputs:
1818
SourcePath: '$(Build.Repository.LocalPath)\*'
19-
azureSubscription: 'M365DevPortals-ContentDeployment-StagingBlob - STAGING'
20-
Destination: 'AzureBlob'
21-
storage: 'graphstagingblobstorage'
22-
ContainerName: 'content'
23-
BlobPrefix: 'json-schemas'
24-
additionalFlags: '--sync-copy'
19+
ConnectionType: 'ServiceConnection'
20+
AzureSubscription: 'Production_1CDN_Access'
21+
Environment: 'PublicCloud'
22+
ContainerName: 's01-prod'
23+
AllLogsToConsole: true

copilot/plugin/v2.4/schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
},
1717
"namespace": {
1818
"type": "string",
19-
"description": "An identifier used to prevent name conflicts between function names from different plugins that are used within the same execution context. The value MUST match the regex ^[A-Za-z0-9_]+ as defined by [RFC9485]. This is a required member.",
20-
"pattern": "^[A-Za-z0-9_]+$"
19+
"description": "An identifier used to prevent name conflicts between function names from different plugins that are used within the same execution context. The value MUST match the regex ^[A-Za-z0-9-]+ as defined by [RFC9485]. This is a required member.",
20+
"pattern": "^[A-Za-z0-9-]+$"
2121
},
2222
"description_for_model": {
2323
"type": "string",
@@ -112,7 +112,7 @@
112112
"name": {
113113
"type": "string",
114114
"description": "A string that uniquely identifies this function. Runtime objects MAY reference this identifier to bind the runtime to the function. When the function is bound to an OpenAPI runtime, the value must match an `operationId` value in the OpenAPI description.",
115-
"pattern": "^[A-Za-z0-9_]+$"
115+
"pattern": "^[A-Za-z0-9_-]+$"
116116
},
117117
"description": {
118118
"type": "string",

fabric/gitIntegration/platformProperties/2.0.0/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$id": "https://developer.microsoft.com/json-schemas/fabric/gitIntegration/platformProperties/2.0.0/schema.json",
23
"$schema": "http://json-schema.org/draft-07/schema#",
34
"title": "Fabric item Git integration configuration",
45
"description": "Configuration file used by fabric Git integration on items in Git repositories",

fabric/gitIntegration/platformProperties/2.1.0/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$id": "https://developer.microsoft.com/json-schemas/fabric/gitIntegration/platformProperties/2.1.0/schema.json",
23
"$schema": "http://json-schema.org/draft-07/schema#",
34
"title": "Fabric item Git integration configuration",
45
"description": "Configuration file used by fabric Git integration on items in Git repositories",

fabric/gitIntegration/schedules/1.0.0/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$id": "https://developer.microsoft.com/json-schemas/fabric/gitIntegration/schedules/1.0.0/schema.json",
23
"$schema": "http://json-schema.org/draft-07/schema#",
34
"title": "Fabric item schedules Git integration configuration",
45
"description": "Configuration file used by fabric Git integration on item schedules in Git repositories",

0 commit comments

Comments
 (0)