Skip to content

Commit 3177b8c

Browse files
nonsocodemikeharderchgennar
authored
AIO 2507 preview (Azure#33810)
* readme * preview examples * examples * mq * almost done with persistence * finish broker changes * secretProviderClassReff * linted * skynet * dataflowEndpoint types * spaes * adr namespaces * Otel endpoint * diagnostics * namespace * dfg * lint * start reg auth * get rid of auth file * Auth for registry endpoint * diff * fix spelling * use v6 * node Connections * test duplicate accross namespaces * undo namespaces * back to v5 * dataflows * Registry endpoint * ref * diagnostics * registry endpoints * format * connector config instances * values * finished MQprops for conntemp * connector template * doc * suppressions * linting * self review 1 * compiled * lint * reg endpoint * dummy examples * fix examples * auth * avoid additional propertis * docblocks * docb * doc * doc * linting * ref * spelling * akri * Fix operation id. * Discovery handler * lint * update examples * include examples * ref of spc * build * lint * adr * additional validation * use kubernetes types * changes * make optional * require mqtt conf * build * remove profile ref * remove pvc default * rename broker types * lint * doc * move aliases * Doc fix * default secret provider ref * state store * host type * operationalmode * remove constraints and add artifac pull secret * remove profile ref * pvc exmption * make mqtt nullable * nullable part 2 * connector template secrets, additionalConfiguration, pvc now moved to managed * Registry settings * rename Akri resources * secondRename * bucketized * additional * default * Tag Digest * swagger * statefulset and suppressions * exclusions * lint * fix old examples * groker custom policy * docs * subtype string * connector changes * feedback * feedback * linting * secretref * secret ref * optionality * spelling * remove lifecyle from persistence * readme * operation names * bring back profile ref * delete * examples * examples * examples * remove old prop * examples * remove copy * move hostype * lint * add profile ref * single line comment * documentation update * csharp java clients * dotnet fix * lint * version * remove version * version * fix source * first step for helm * fix helm * documentation * fix c# * lint * client possible fix * lint * remove genereate * Trust list * spelling * extendedLocation * registry endpoint trust * make otel cahnges * Fix otel * make required * validation * validation * localization * trust settings * regEndpoint trustlist * remove diagnostics * configmap * configmap * persitence vicbility * make it optional * fix op mode * dataflowGraphs polymorphism * Fix go client * dataflow persistence * description * use identifiers * no azurecr * typo * generate * remove property flattening * fix examples * examples2 * examples3 * fix nodetype * repositoryName * assetRef * dataflowGraph schema fixes * whitespace * optional serialization format * Revert "optional serialization format" This reverts commit a6a556a. * name typo * Update connectorTemplate.tsp to make 'version' prop optional * Update swagger for change * fix documentation * description * remove akri discovery handlers --------- Co-authored-by: Mike Harder <[email protected]> Co-authored-by: chgennar <[email protected]>
1 parent 535a833 commit 3177b8c

File tree

177 files changed

+30302
-180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+30302
-180
lines changed

specification/iotoperations/IoTOperations.Management/client.tsp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,16 @@ using Microsoft.IoTOperations;
9090
"javascript"
9191
);
9292
@@clientName(Versions.`2025-04-01`, "V20250401", "javascript");
93+
94+
@@clientName(AkriConnectorTemplateHelmDeleteConfiguration.wait,
95+
"waitForResources",
96+
"java"
97+
);
98+
@@clientName(AkriConnectorTemplateHelmInstallConfiguration.wait,
99+
"waitForResources",
100+
"java"
101+
);
102+
@@clientName(AkriConnectorTemplateHelmUpgradeConfiguration.wait,
103+
"waitForResources",
104+
"java"
105+
);

specification/iotoperations/IoTOperations.Management/eng/openapi-script.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ echo "Generating the specs and the examples!"
1818

1919
# Compile all the typespecs the iotoperations directory
2020
echo "Compiling the typespecs in the iotoperations directory..."
21-
npx tsp compile IoTOperations.Management/.
2221

2322
# Generate examples for all the openapi specs
2423
# echo "Generating examples for all the openapi specs..."
@@ -87,8 +86,8 @@ npx tsp compile IoTOperations.Management/.
8786
npx tsv IoTOperations.Management/.
8887

8988
# Prettier
90-
echo "Running prettier..."
91-
npx prettier --write **/*.json
89+
# echo "Running prettier..."
90+
# npx prettier --write **/*.json
9291

9392
echo "Completed generating the specs and the examples!"
9493
echo "Done!"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
{
2+
"title": "AkriConnectorTemplate_CreateOrUpdate_MaximumSet",
3+
"operationId": "AkriConnectorTemplate_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2025-07-01-preview",
6+
"subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53",
7+
"resourceGroupName": "rgiotoperations",
8+
"instanceName": "resource-name123",
9+
"akriConnectorTemplateName": "resource-name123",
10+
"resource": {
11+
"properties": {
12+
"aioMetadata": {
13+
"aioMinVersion": "1.2.0",
14+
"aioMaxVersion": "1.4.0"
15+
},
16+
"runtimeConfiguration": {
17+
"runtimeConfigurationType": "HelmConfiguration",
18+
"helmConfigurationSettings": {
19+
"releaseName": "my-install",
20+
"repositoryName": "my-repo",
21+
"version": "1.0.0"
22+
}
23+
},
24+
"diagnostics": {
25+
"logs": {
26+
"level": "info"
27+
}
28+
},
29+
"deviceInboundEndpointTypes": [
30+
{
31+
"endpointType": "Microsoft.Rest",
32+
"version": "0.0.1"
33+
}
34+
],
35+
"mqttConnectionConfiguration": {
36+
"authentication": {
37+
"method": "ServiceAccountToken",
38+
"serviceAccountTokenSettings": {
39+
"audience": "MQ-SAT"
40+
}
41+
},
42+
"host": "aio-broker:18883",
43+
"protocol": "Mqtt",
44+
"keepAliveSeconds": 10,
45+
"maxInflightMessages": 10,
46+
"sessionExpirySeconds": 60,
47+
"tls": {
48+
"mode": "Enabled",
49+
"trustedCaCertificateConfigMapRef": "azure-iot-operations-aio-ca-trust-bundle"
50+
}
51+
}
52+
},
53+
"extendedLocation": {
54+
"name": "/subscriptions/F8C729F9-DF9C-4743-848F-96EE433D8E53/resourceGroups/rgiotoperations/providers/Microsoft.ExtendedLocation/customLocations/resource-123",
55+
"type": "CustomLocation"
56+
}
57+
}
58+
},
59+
"responses": {
60+
"200": {
61+
"body": {
62+
"properties": {
63+
"provisioningState": "Succeeded",
64+
"aioMetadata": {
65+
"aioMinVersion": "1.2.0",
66+
"aioMaxVersion": "1.4.0"
67+
},
68+
"runtimeConfiguration": {
69+
"runtimeConfigurationType": "HelmConfiguration",
70+
"helmConfigurationSettings": {
71+
"releaseName": "my-install",
72+
"repositoryName": "my-repo",
73+
"version": "1.0.0"
74+
}
75+
},
76+
"diagnostics": {
77+
"logs": {
78+
"level": "info"
79+
}
80+
},
81+
"deviceInboundEndpointTypes": [
82+
{
83+
"endpointType": "Microsoft.Rest",
84+
"version": "0.0.1"
85+
}
86+
],
87+
"mqttConnectionConfiguration": {
88+
"authentication": {
89+
"method": "ServiceAccountToken",
90+
"serviceAccountTokenSettings": {
91+
"audience": "MQ-SAT"
92+
}
93+
},
94+
"host": "aio-broker:18883",
95+
"protocol": "Mqtt",
96+
"keepAliveSeconds": 10,
97+
"maxInflightMessages": 10,
98+
"sessionExpirySeconds": 60,
99+
"tls": {
100+
"mode": "Enabled",
101+
"trustedCaCertificateConfigMapRef": "azure-iot-operations-aio-ca-trust-bundle"
102+
}
103+
}
104+
},
105+
"extendedLocation": {
106+
"name": "/subscriptions/F8C729F9-DF9C-4743-848F-96EE433D8E53/resourceGroups/rgiotoperations/providers/Microsoft.ExtendedLocation/customLocations/resource-123",
107+
"type": "CustomLocation"
108+
},
109+
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/akriConnectorTemplates/resource-name123",
110+
"name": "bfimycofjtzxduufwanuxwoudsh",
111+
"type": "wnabnudmydrgpccqusxkmsmgcwzwh",
112+
"systemData": {
113+
"createdBy": "contosouser",
114+
"createdByType": "User",
115+
"createdAt": "2024-08-09T18:13:29.389Z",
116+
"lastModifiedBy": "contosouser",
117+
"lastModifiedByType": "User",
118+
"lastModifiedAt": "2024-08-09T18:13:29.389Z"
119+
}
120+
}
121+
},
122+
"201": {
123+
"headers": {
124+
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
125+
},
126+
"body": {
127+
"properties": {
128+
"provisioningState": "Accepted",
129+
"aioMetadata": {
130+
"aioMinVersion": "1.2.0",
131+
"aioMaxVersion": "1.4.0"
132+
},
133+
"runtimeConfiguration": {
134+
"runtimeConfigurationType": "HelmConfiguration",
135+
"helmConfigurationSettings": {
136+
"releaseName": "my-install",
137+
"repositoryName": "my-repo",
138+
"version": "1.0.0"
139+
}
140+
},
141+
"diagnostics": {
142+
"logs": {
143+
"level": "info"
144+
}
145+
},
146+
"deviceInboundEndpointTypes": [
147+
{
148+
"endpointType": "Microsoft.Rest",
149+
"version": "0.0.1"
150+
}
151+
],
152+
"mqttConnectionConfiguration": {
153+
"authentication": {
154+
"method": "ServiceAccountToken",
155+
"serviceAccountTokenSettings": {
156+
"audience": "MQ-SAT"
157+
}
158+
},
159+
"host": "aio-broker:18883",
160+
"protocol": "Mqtt",
161+
"keepAliveSeconds": 10,
162+
"maxInflightMessages": 10,
163+
"sessionExpirySeconds": 60,
164+
"tls": {
165+
"mode": "Enabled",
166+
"trustedCaCertificateConfigMapRef": "azure-iot-operations-aio-ca-trust-bundle"
167+
}
168+
}
169+
},
170+
"extendedLocation": {
171+
"name": "/subscriptions/F8C729F9-DF9C-4743-848F-96EE433D8E53/resourceGroups/rgiotoperations/providers/Microsoft.ExtendedLocation/customLocations/resource-123",
172+
"type": "CustomLocation"
173+
},
174+
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/akriConnectorTemplates/resource-name123",
175+
"name": "bfimycofjtzxduufwanuxwoudsh",
176+
"type": "wnabnudmydrgpccqusxkmsmgcwzwh",
177+
"systemData": {
178+
"createdBy": "contosouser",
179+
"createdByType": "User",
180+
"createdAt": "2024-08-09T18:13:29.389Z",
181+
"lastModifiedBy": "contosouser",
182+
"lastModifiedByType": "User",
183+
"lastModifiedAt": "2024-08-09T18:13:29.389Z"
184+
}
185+
}
186+
}
187+
}
188+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"title": "AkriConnectorTemplate_Delete_MaximumSet",
3+
"operationId": "AkriConnectorTemplate_Delete",
4+
"parameters": {
5+
"api-version": "2025-07-01-preview",
6+
"subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53",
7+
"resourceGroupName": "rgiotoperations",
8+
"instanceName": "resource-name123",
9+
"akriConnectorTemplateName": "resource-name123"
10+
},
11+
"responses": {
12+
"202": {
13+
"headers": {
14+
"location": "https://contoso.com/operationstatus"
15+
}
16+
},
17+
"204": {}
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"title": "AkriConnectorTemplate_Get_Managed_Rest",
3+
"operationId": "AkriConnectorTemplate_Get",
4+
"parameters": {
5+
"api-version": "2025-07-01-preview",
6+
"subscriptionId": "F8C729F9-DF9C-4743-848F-96EE433D8E53",
7+
"resourceGroupName": "rgiotoperations",
8+
"instanceName": "resource-name123",
9+
"akriConnectorTemplateName": "resource-name123"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"properties": {
15+
"provisioningState": "Succeeded",
16+
"runtimeConfiguration": {
17+
"runtimeConfigurationType": "ManagedConfiguration",
18+
"managedConfigurationSettings": {
19+
"allocation": {
20+
"policy": "Bucketized",
21+
"bucketSize": 1
22+
},
23+
"persistentVolumeClaims": [
24+
{
25+
"claimName": "test-pvc",
26+
"mountPath": "/data/connector"
27+
}
28+
],
29+
"secrets": [
30+
{
31+
"secretAlias": "username",
32+
"secretRef": "secret-a",
33+
"secretKey": "username"
34+
},
35+
{
36+
"secretAlias": "password",
37+
"secretRef": "secret-a",
38+
"secretKey": "password"
39+
}
40+
],
41+
"trustSettings": {
42+
"trustListSecretRef": "trust-list-secret"
43+
},
44+
"managedConfigurationType": "ImageConfiguration",
45+
"imageConfigurationSettings": {
46+
"imageName": "samples/akri-connector-minimalist",
47+
"tagDigestSettings": {
48+
"tagDigestType": "Tag",
49+
"tag": "0.0.1"
50+
},
51+
"registrySettings": {
52+
"registrySettingsType": "ContainerRegistry",
53+
"containerRegistrySettings": {
54+
"registry": "mycr.azurecr.io"
55+
}
56+
}
57+
}
58+
}
59+
},
60+
"diagnostics": {
61+
"logs": {
62+
"level": "info"
63+
}
64+
},
65+
"deviceInboundEndpointTypes": [
66+
{
67+
"endpointType": "Microsoft.Rest",
68+
"version": "0.0.1"
69+
}
70+
],
71+
"mqttConnectionConfiguration": {
72+
"authentication": {
73+
"method": "ServiceAccountToken",
74+
"serviceAccountTokenSettings": {
75+
"audience": "MQ-SAT"
76+
}
77+
},
78+
"host": "aio-broker:18883",
79+
"protocol": "Mqtt",
80+
"keepAliveSeconds": 10,
81+
"maxInflightMessages": 10,
82+
"sessionExpirySeconds": 60,
83+
"tls": {
84+
"mode": "Enabled",
85+
"trustedCaCertificateConfigMapRef": "azure-iot-operations-aio-ca-trust-bundle"
86+
}
87+
}
88+
},
89+
"extendedLocation": {
90+
"name": "/subscriptions/F8C729F9-DF9C-4743-848F-96EE433D8E53/resourceGroups/rgiotoperations/providers/Microsoft.ExtendedLocation/customLocations/resource-123",
91+
"type": "CustomLocation"
92+
},
93+
"id": "/subscriptions/0000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup123/providers/Microsoft.IoTOperations/instances/resource-name123/akriConnectorTemplates/resource-name123",
94+
"name": "bfimycofjtzxduufwanuxwoudsh",
95+
"type": "wnabnudmydrgpccqusxkmsmgcwzwh",
96+
"systemData": {
97+
"createdBy": "contosouser",
98+
"createdByType": "User",
99+
"createdAt": "2024-08-09T18:13:29.389Z",
100+
"lastModifiedBy": "contosouser",
101+
"lastModifiedByType": "User",
102+
"lastModifiedAt": "2024-08-09T18:13:29.389Z"
103+
}
104+
}
105+
}
106+
}
107+
}

0 commit comments

Comments
 (0)