-
Notifications
You must be signed in to change notification settings - Fork 5.8k
add service fabric swagger file #984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e5e1388
e07f8d9
b3b4d49
46358eb
3ceecb2
1596740
da2f21c
abe445a
f0a3bf8
3061d0e
5c444a8
d0bedb0
20950e4
6ed64fc
e14ff8f
4f41101
9ed58cd
40fdf21
36aab52
7de6034
baa5687
8a93b06
de33ecb
c31b04a
32e3ee4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "resRg", | ||
| "clusterName": "myCluster", | ||
| "api-version": "2016-09-01" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204":{} | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,167 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "resRg", | ||
| "clusterName": "myCluster", | ||
| "api-version": "2016-09-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster", | ||
| "location": "southcentralus", | ||
| "name": "myCluster", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "clusterId": "1a1acec2-8d75-424a-81af-2fb83dd1cac8", | ||
| "clusterCodeVersion": "5.5.149.9494", | ||
| "clusterState": "Ready", | ||
| "managementEndpoint": "https://myCluster.southcentralus.cloudapp.azure.com:19080", | ||
| "clusterEndpoint": "https://warp-test-winfabrp-southcentralus.trafficmanager.net/runtime/clusters/1a1acec2-8d75-424a-81af-2fb83dd1cac8", | ||
| "certificate": { | ||
| "thumbprint": "1901CF0F76AF711BEE53DF39941092BDAC8D9050", | ||
| "x509StoreName": "My" | ||
| }, | ||
| "clientCertificateThumbprints": [], | ||
| "clientCertificateCommonNames": [], | ||
| "fabricSettings": [ | ||
| { | ||
| "name": "Security", | ||
| "parameters": [ | ||
| { | ||
| "name": "ClusterProtectionLevel", | ||
| "value": "EncryptAndSign" | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "upgradeDescription": { | ||
| "overrideUserUpgradePolicy": false, | ||
| "forceRestart": true, | ||
| "upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807", | ||
| "healthCheckWaitDuration": "00:05:00", | ||
| "healthCheckStableDuration": "00:05:00", | ||
| "healthCheckRetryTimeout": "00:45:00", | ||
| "upgradeTimeout": "12:00:00", | ||
| "upgradeDomainTimeout": "02:00:00", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. looks like for duration RP is using C# TimeSpan format, if that is the case please log a bug in your system to use ISO8601 duration type instead.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add TODO. |
||
| "healthPolicy": { | ||
| "maxPercentUnhealthyNodes": 100, | ||
| "maxPercentUnhealthyApplications": 100 | ||
| }, | ||
| "deltaHealthPolicy": { | ||
| "maxPercentDeltaUnhealthyNodes": 0, | ||
| "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, | ||
| "maxPercentDeltaUnhealthyApplications": 0 | ||
| } | ||
| }, | ||
| "diagnosticsStorageAccountConfig": { | ||
| "storageAccountName": "3nrb4ixoj6ogq2", | ||
| "protectedAccountKeyName": "StorageAccountKey1", | ||
| "blobEndpoint": "https://3nrb4ixoj6ogq2.blob.core.windows.net/", | ||
| "queueEndpoint": "https://3nrb4ixoj6ogq2.queue.core.windows.net/", | ||
| "tableEndpoint": "https://3nrb4ixoj6ogq2.table.core.windows.net/" | ||
| }, | ||
| "nodeTypes": [ | ||
| { | ||
| "name": "nt1vm", | ||
| "clientConnectionEndpointPort": 19000, | ||
| "httpGatewayEndpointPort": 19080, | ||
| "applicationPorts": { | ||
| "startPort": 20000, | ||
| "endPort": 30000 | ||
| }, | ||
| "ephemeralPorts": { | ||
| "startPort": 49152, | ||
| "endPort": 65534 | ||
| }, | ||
| "isPrimary": true, | ||
| "vmInstanceCount": 5, | ||
| "durabilityLevel": "Bronze" | ||
| } | ||
| ], | ||
| "vmImage": "Windows", | ||
| "reliabilityLevel": "Silver", | ||
| "upgradeMode": "Automatic", | ||
| "availableClusterVersions": [ | ||
| { | ||
| "codeVersion": "5.1.158.9590", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.2.0.100", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.2.207.9590", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.3.121.9494", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.3.311.9590", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.4.30.100", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.4.35.100", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.4.38.100", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.4.118.9494", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.4.132.9494", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.4.145.9494", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.4.164.9494", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.5.67.9494", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. time does not seems to be ISO 8601
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @chingchenmsft please make sure this issue is tracked in your system. |
||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.5.149.9494", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| } | ||
| ] | ||
| }, | ||
| "tags": { | ||
| "clusterName": "myCluster", | ||
| "resourceType": "Service Fabric" | ||
| }, | ||
| "type": "Microsoft.ServiceFabric/clusters" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,120 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "resourceGroupName": "resRg", | ||
| "api-version": "2016-09-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "type": "Microsoft.ServiceFabric/clusters", | ||
| "location": "southcentralus", | ||
| "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/psrg1/providers/Microsoft.ServiceFabric/clusters/testcluster", | ||
| "name": "testcluster", | ||
| "tags": { | ||
| "resourceType": "Service Fabric", | ||
| "clusterName": "testcluster" | ||
| }, | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "clusterId": "29cfe945-7ff1-4234-b567-09871226d4f6", | ||
| "clusterCodeVersion": "5.5.216.0", | ||
| "clusterState": "Ready", | ||
| "managementEndpoint": "https://testcluster.southcentralus.cloudapp.azure.com:19080", | ||
| "clusterEndpoint": "https://warp-test-winfabrp-southcentralus.trafficmanager.net/runtime/clusters/29cfe945-7ff1-4234-b567-09871226d4f6", | ||
| "certificate": { | ||
| "thumbprint": "5F3660C715EBBDA31DB1FFDCF508302348DE8E7A", | ||
| "x509StoreName": "My" | ||
| }, | ||
| "clientCertificateThumbprints": [], | ||
| "clientCertificateCommonNames": [], | ||
| "fabricSettings": [ | ||
| { | ||
| "name": "Security", | ||
| "parameters": [ | ||
| { | ||
| "name": "ClusterProtectionLevel", | ||
| "value": "EncryptAndSign" | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "upgradeDescription": { | ||
| "overrideUserUpgradePolicy": false, | ||
| "forceRestart": false, | ||
| "upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807", | ||
| "healthCheckWaitDuration": "00:05:00", | ||
| "healthCheckStableDuration": "00:05:00", | ||
| "healthCheckRetryTimeout": "00:45:00", | ||
| "upgradeTimeout": "12:00:00", | ||
| "upgradeDomainTimeout": "02:00:00", | ||
| "healthPolicy": { | ||
| "maxPercentUnhealthyNodes": 100, | ||
| "maxPercentUnhealthyApplications": 100 | ||
| }, | ||
| "deltaHealthPolicy": { | ||
| "maxPercentDeltaUnhealthyNodes": 0, | ||
| "maxPercentUpgradeDomainDeltaUnhealthyNodes": 0, | ||
| "maxPercentDeltaUnhealthyApplications": 0 | ||
| } | ||
| }, | ||
| "diagnosticsStorageAccountConfig": { | ||
| "storageAccountName": "sflogppe231337596", | ||
| "protectedAccountKeyName": "StorageAccountKey1", | ||
| "blobEndpoint": "https://sflogppe231337596.blob.core.windows.net/", | ||
| "queueEndpoint": "https://sflogppe231337596.queue.core.windows.net/", | ||
| "tableEndpoint": "https://sflogppe231337596.table.core.windows.net/" | ||
| }, | ||
| "nodeTypes": [ | ||
| { | ||
| "name": "n1", | ||
| "clientConnectionEndpointPort": 19000, | ||
| "httpGatewayEndpointPort": 19080, | ||
| "applicationPorts": { | ||
| "startPort": 20000, | ||
| "endPort": 30000 | ||
| }, | ||
| "ephemeralPorts": { | ||
| "startPort": 49152, | ||
| "endPort": 65534 | ||
| }, | ||
| "isPrimary": true, | ||
| "vmInstanceCount": 5, | ||
| "durabilityLevel": "Silver" | ||
| } | ||
| ], | ||
| "vmImage": "Windows", | ||
| "reliabilityLevel": "Silver", | ||
| "upgradeMode": "Automatic", | ||
| "availableClusterVersions": [ | ||
| { | ||
| "codeVersion": "5.4.145.9494", | ||
| "supportExpiryUtc": "2017-05-10T00:00:00", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.4.164.9494", | ||
| "supportExpiryUtc": "2017-05-10T00:00:00", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.5.216.0", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| }, | ||
| { | ||
| "codeVersion": "5.5.219.0", | ||
| "supportExpiryUtc": "9999-12-31T23:59:59.9999999", | ||
| "environment": "Windows" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these parameters hold any string, or are these candidate for enum
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is string in our service.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I am assuming your service accepts any string for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, all are string for fabricSettings