Skip to content

Commit 10f8a5b

Browse files
Sergey KanzhelevSergey Kanzhelev
Sergey Kanzhelev
authored and
Sergey Kanzhelev
committed
updated exception message limit and fixed some docs
1 parent 5f9cb50 commit 10f8a5b

6 files changed

+6
-27
lines changed

EndpointSpecs/Schemas/Bond/ExceptionDetails.bond

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ struct ExceptionDetails
1616
30: required string typeName;
1717

1818
[Description("Exception message.")]
19-
[MaxStringLength("1024")]
19+
[MaxStringLength("32768")]
2020
40: required string message;
2121

2222
[Description("Indicates if full exception stack is provided in the exception. The stack may be trimmed, such as in the case of a StackOverflow exception.")]

EndpointSpecs/Schemas/Docs/AvailabilityData.md

-4
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@ Instances of AvailabilityData represent the result of executing an availability
1414

1515
Max length: 64
1616

17-
This field is optional.
18-
1917
1. **name** : string
2018

2119
Name of the test that these availability results represents.
2220

2321
Max length: 1024
2422

25-
This field is optional.
26-
2723
1. **duration** : string
2824

2925
Duration in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff

EndpointSpecs/Schemas/Docs/ExceptionData.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ An instance of Exception represents a handled or unhandled exception that occurr
3636

3737
Exception message.
3838

39-
Max length: 1024
39+
Max length: 32768
4040

4141
1. **hasFullStack** : bool
4242

EndpointSpecs/Schemas/Docs/PageViewPerfData.md

-18
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,6 @@ An instance of PageViewPerf represents: a page view with no performance data, a
4848

4949
This field is optional.
5050

51-
1. **referrer** : string
52-
53-
Referrer url. Never used so far.
54-
55-
Max length: 1024
56-
57-
This field is optional.
58-
59-
1. **referrerData** : string
60-
61-
???
62-
63-
**Question**: What is this field for?
64-
65-
Max length: 8192
66-
67-
This field is optional.
68-
6951
1. **perfTotal** : string
7052

7153
Performance total in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff

EndpointSpecs/Schemas/Docs/RemoteDependencyData.md

-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ An instance of Remote Dependency represents an interaction of the monitored comp
3434

3535
Request duration in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff.
3636

37-
This field is optional.
38-
3937
1. **success** : bool
4038

4139
Indication of successfull or unsuccessfull call.

EndpointSpecs/Tools/generateSchema.ps1

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ $schemasPath = "$schemasRepositoryRoot\v2\Bond"
1212

1313
& "$generatorPath\BondSchemaGenerator.exe" -v -i "$schemasPath\AppInsightsTypes.bond" -i "$schemasPath\ContextTagKeys.bond" -o "$currentDir\..\Schemas\Bond\" -e BondLanguage -t BondLayout -n test --flatten false
1414

15-
& "$generatorPath\BondSchemaGenerator.exe" -v -i "$schemasPath\AppInsightsTypes.bond" -i "$schemasPath\ContextTagKeys.bond" -o "$currentDir\..\Schemas\Docs\" -e DocsLanguage -t DocsLayout -n test --flatten false
15+
dir "$currentDir\..\Schemas\Bond\" | ForEach-Object {
16+
& "$generatorPath\BondSchemaGenerator.exe" -v -i $_.FullName -o "$currentDir\..\Schemas\Docs\" -e DocsLanguage -t DocsLayout -n test --flatten false
17+
}
18+
1619

1720
#mkdir -Force .\obj
1821
#Invoke-WebRequest -o ".\obj\nuget.exe" https://api.nuget.org/downloads/nuget.exe

0 commit comments

Comments
 (0)