-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue: 289 - Adding GraalVM native-image support. (#311)
- Loading branch information
Showing
3 changed files
with
180 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
...ETA-INF/native-image/com.amazonaws/aws-xray-recorder-sdk-aws-sdk-core/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[ | ||
{ | ||
"name": "com.amazonaws.xray.handlers.config.AWSServiceHandlerManifest", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.handlers.config.AWSOperationHandlerManifest", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.handlers.config.AWSOperationHandler", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.handlers.config.AWSOperationHandlerRequestDescriptor", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.handlers.config.AWSOperationHandlerResponseDescriptor", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
} | ||
] |
122 changes: 122 additions & 0 deletions
122
...ources/META-INF/native-image/com.amazonaws/aws-xray-recorder-sdk-core/reflect-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
[ | ||
{ | ||
"name": "com.amazonaws.xray.AWSXRay", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.strategy.sampling.manifest.SamplingRuleManifest", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.strategy.sampling.rule.SamplingRule", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.strategy.sampling.reservoir.Reservoir", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.strategy.sampling.reservoir.Reservoir$MaxFunction", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.strategy.sampling.reservoir.Reservoir$LessThan10", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.strategy.sampling.reservoir.Reservoir$AtLeast10", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.auth.AWS4Signer", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.entities.ThrowableDescription", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.entities.SubsegmentImpl", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.entities.EntityImpl", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.entities.TraceID", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.entities.Cause", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.amazonaws.xray.entities.SegmentImpl", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
}, | ||
{ | ||
"name": "com.fasterxml.jackson.databind.ser.std.ToStringSerializer", | ||
"allPublicMethods": true, | ||
"allPublicConstructors": true, | ||
"allDeclaredFields": true, | ||
"allDeclaredMethods": true, | ||
"allDeclaredConstructors": true | ||
} | ||
] |
16 changes: 16 additions & 0 deletions
16
...urces/META-INF/native-image/com.amazonaws/aws-xray-recorder-sdk-core/resource-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"resources" : { | ||
"includes" : [ { | ||
"pattern" : "\\Qcom/amazonaws/xray/interceptors/DefaultOperationParameterWhitelist.json\\E" | ||
}, { | ||
"pattern" : "\\Qcom/amazonaws/xray/sdk.properties\\E" | ||
}, { | ||
"pattern" : "\\Qcom/amazonaws/xray/strategy/sampling/DefaultSamplingRules.json\\E" | ||
}, { | ||
"pattern" : "\\Qsoftware/amazon/awssdk/global/handlers/execution.interceptors\\E" | ||
}, { | ||
"pattern" : "\\Qsoftware/amazon/awssdk/services/s3/execution.interceptors\\E" | ||
} ] | ||
}, | ||
"bundles" : [ ] | ||
} |