-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f64455
commit b100e30
Showing
6 changed files
with
140 additions
and
20 deletions.
There are no files selected for viewing
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
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
10 changes: 10 additions & 0 deletions
10
...efault/externalServiceRegistrations/OpenAPIChallenge.externalServiceRegistration-meta.xml
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,10 @@ | ||
<ExternalServiceRegistration xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<label>BankService</label> | ||
<namedCredential>ntest</namedCredential> | ||
<registrationProviderType>Custom</registrationProviderType> | ||
<schemaType>OpenApi3</schemaType> | ||
<schemaUrl>/accounts/schema</schemaUrl> | ||
<serviceBinding>{"host":"","basePath":"/","allowedSchemes":[],"requestMediaTypes":[],"responseMediaTypes":[],"compatibleMediaTypes":{}}</serviceBinding> | ||
<status>Complete</status> | ||
<systemVersion>3</systemVersion> | ||
</ExternalServiceRegistration> |
48 changes: 48 additions & 0 deletions
48
...-files.expected/force-app/main/default/externalServiceRegistrations/OpenAPIChallenge.yaml
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,48 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: OpenAPIChallenge | ||
description: Now is the time for Apex OpenAPI | ||
version: 63.1.0 | ||
paths: | ||
/getAccountSummaryWithOpportunities: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: getAccountSummaryWithOpportunities | ||
responses: {} | ||
/getActiveCases: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: getActiveCases | ||
responses: {} | ||
/getAllAccounts: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: getAllAccounts | ||
responses: {} | ||
/getUserDetails: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: getUserDetails | ||
responses: {} | ||
/updateContactDetails: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: updateContactDetails | ||
responses: {} | ||
/getWelcomeMessage: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: getWelcomeMessage | ||
responses: {} |
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
58 changes: 58 additions & 0 deletions
58
...ESR/mdapiOutput/externalServiceRegistrations/OpenAPIChallenge.externalServiceRegistration
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,58 @@ | ||
<ExternalServiceRegistration xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<label>BankService</label> | ||
<namedCredential>ntest</namedCredential> | ||
<registrationProviderType>Custom</registrationProviderType> | ||
<schemaType>OpenApi3</schemaType> | ||
<schemaUrl>/accounts/schema</schemaUrl> | ||
<serviceBinding>{"host":"","basePath":"/","allowedSchemes":[],"requestMediaTypes":[],"responseMediaTypes":[],"compatibleMediaTypes":{}}</serviceBinding> | ||
<status>Complete</status> | ||
<systemVersion>3</systemVersion> | ||
<schema>openapi: 3.0.0 | ||
info: | ||
title: OpenAPIChallenge | ||
description: Now is the time for Apex OpenAPI | ||
version: 63.1.0 | ||
paths: | ||
/getAccountSummaryWithOpportunities: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: getAccountSummaryWithOpportunities | ||
responses: {} | ||
/getActiveCases: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: getActiveCases | ||
responses: {} | ||
/getAllAccounts: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: getAllAccounts | ||
responses: {} | ||
/getUserDetails: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: getUserDetails | ||
responses: {} | ||
/updateContactDetails: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: updateContactDetails | ||
responses: {} | ||
/getWelcomeMessage: | ||
operations: | ||
get: | ||
summary: need to figure out what this means | ||
description: need to figure out what this means | ||
operationId: getWelcomeMessage | ||
responses: {}</schema> | ||
</ExternalServiceRegistration> |
b100e30
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.
Benchmark
eda-componentSetCreate-linux
215
ms225
ms0.96
eda-sourceToMdapi-linux
2001
ms2057
ms0.97
eda-sourceToZip-linux
1812
ms1920
ms0.94
eda-mdapiToSource-linux
2770
ms2675
ms1.04
lotsOfClasses-componentSetCreate-linux
436
ms472
ms0.92
lotsOfClasses-sourceToMdapi-linux
4077
ms3637
ms1.12
lotsOfClasses-sourceToZip-linux
2924
ms2900
ms1.01
lotsOfClasses-mdapiToSource-linux
3445
ms3465
ms0.99
lotsOfClassesOneDir-componentSetCreate-linux
736
ms839
ms0.88
lotsOfClassesOneDir-sourceToMdapi-linux
6362
ms6362
ms1
lotsOfClassesOneDir-sourceToZip-linux
5105
ms5190
ms0.98
lotsOfClassesOneDir-mdapiToSource-linux
6258
ms6279
ms1.00
This comment was automatically generated by workflow using github-action-benchmark.
b100e30
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.
Benchmark
eda-componentSetCreate-win32
657
ms716
ms0.92
eda-sourceToMdapi-win32
3903
ms4192
ms0.93
eda-sourceToZip-win32
2964
ms3259
ms0.91
eda-mdapiToSource-win32
5751
ms5914
ms0.97
lotsOfClasses-componentSetCreate-win32
1280
ms1381
ms0.93
lotsOfClasses-sourceToMdapi-win32
7977
ms8117
ms0.98
lotsOfClasses-sourceToZip-win32
4973
ms5037
ms0.99
lotsOfClasses-mdapiToSource-win32
7781
ms7985
ms0.97
lotsOfClassesOneDir-componentSetCreate-win32
2204
ms2444
ms0.90
lotsOfClassesOneDir-sourceToMdapi-win32
14026
ms14548
ms0.96
lotsOfClassesOneDir-sourceToZip-win32
9113
ms9238
ms0.99
lotsOfClassesOneDir-mdapiToSource-win32
13987
ms14650
ms0.95
This comment was automatically generated by workflow using github-action-benchmark.