-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated commit 'PLTDP-3876 - Moving RDE API specs from internal to …
…V3 (#1451) * PLTDP-3876: identity details report request body example changed * PLTDP-3876: reports/{id}/cancel endpoint added * PLTDP-3876: added 'reports/result' endpoint * PLTDP-3876: lint errors fixed * PLTDP-3876: spacing issue with examples for tequest bodies fixed * PLTDP-3876: schema and example fixes for response bodies * PLTDP-3876 PLTDP:3876: 'reporting/reports/{taskResultId}/{fileFormat}' endpoint described * PLTDP-3876: added 'reporting/reports/{reportName}/genericReport' description, returns example schema updated * PLTDP-3876: GenericReports schema fixed * PLTDP-3876: unnecessary quates removed from generic reports path description * PLTDP-3876: review changes - payloads changed, generic reports endpoint removed * PLTDP-3876: unused examples removed * PLTDP-3876: removed 'PDF' from examples as this type is going to be deprecated * PLTDP-3876: nullable parameters added for nullable payloads * PLTDP-3876: progress field for TaskResultDetails marked nullable * PLTDP-3876: moved specs to beta till their endpoints will be callable and maintainable * PLTDP-3876: moving api specs from internal beta to v3 * PLTDP-3876: changed security description, default value for path var fixed * PLTDP-3876: schemas updated * PLTDP-3876: schema for TaskResultDetails fixed * PLTDP-3876: missing example added * PLTDP-3876: taskDefName example gated with quotes * PLTDP-3876: cleared beta files after merge with master * PLTDP-3876: quotes restored for ReportDetails. It is the same as in master branch with extended description * PLTDP-3876: review changes applied * PLTDP-3876: mising example for completed query param added * PLTDP-3876: changed type schema for 'completed' param * PLTDP-3876: changed type schema for 'fileFormat' param, enum description should be within type * PLTDP-3876: all necessary run report payloads to be published as public added. * PLTDP-3876: report types moved to enum, all necessary arguments described as oneOf in the schema * PLTDP-3876: description and example for report details added * PLTDP-3876: description and example for reportType added * PLTDP-3876: review changes - titles added for arguments, required added to the arguments properties, boolean properties types fixed * PLTDP-3876: syntax of required fields changed * PLTDP-3876: property for ACCOUNTS arguments schema cleaned up * PLTDP-3876: attempt to fix example for arguments * PLTDP-3876: second attempt to fix example for arguments * PLTDP-3876: third attempt to fix 'cannot assign to this.SetS3Bucket' * PLTDP-3876: most of proposed changes done. Need to discuss task result progress * PLTDP-3876: examples updated according to changes * PLTDP-3876: report result status updated * PLTDP-3876: report result reportType fixed * PLTDP-3876: 'setS3Bucket' property renamed to resolve go SDK collision * PLTDP-3876: fixing beta api file * PLTDP-3876: fixing beta api file, removed also next line * Merged with master * removed duplicate description key --------- Co-authored-by: Colin McKibben <[email protected]>' by github action: 6813717402
- Loading branch information
1 parent
68083dc
commit 03d88f3
Showing
26 changed files
with
448 additions
and
209 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
idn/beta/schemas/reports/examples/identities-details-report-details.yaml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
idn/beta/schemas/reports/examples/identities-details-report-results.yaml
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
idn/beta/schemas/reports/examples/identities-details-report-task-result.yaml
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
idn/beta/schemas/reports/examples/search-export-report-details.yaml
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
idn/beta/schemas/reports/examples/search-export-report-task-result.yaml
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
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
29 changes: 18 additions & 11 deletions
29
idn/beta/paths/reports-result.yaml → idn/v3/paths/reports-result.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
type: object | ||
description: >- | ||
Details about report to be processed. | ||
properties: | ||
reportType: | ||
type: string | ||
enum: | ||
- ACCOUNTS | ||
- IDENTITIES_DETAILS | ||
- IDENTITIES | ||
- IDENTITY_PROFILE_IDENTITY_ERROR | ||
- ORPHAN_IDENTITIES | ||
- SEARCH_EXPORT | ||
- UNCORRELATED_ACCOUNTS | ||
description: >- | ||
Use this property to define what report should be processed in the RDE service. | ||
example: IDENTITIES_DETAILS | ||
arguments: | ||
oneOf: | ||
- $ref: '../reports/arguments/accounts-export-report-arguments.yaml' | ||
- $ref: '../reports/arguments/identities-details-report-arguments.yaml' | ||
- $ref: '../reports/arguments/identities-report-arguments.yaml' | ||
- $ref: '../reports/arguments/identity-profile-identity-error-report-arguments.yaml' | ||
- $ref: '../reports/arguments/orphan-uncorrelated-report-arguments.yaml' | ||
- $ref: '../reports/arguments/search-export-report-arguments.yaml' | ||
example: { | ||
"application": "2c9180897e7742b2017e781782f705b9", | ||
"sourceName": "DataScienceWorkday", | ||
"defaultS3Bucket": true | ||
} | ||
description: >- | ||
The string-object map(dictionary) with the arguments needed for report processing. |
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,67 @@ | ||
type : object | ||
description: >- | ||
Details about report result or current state. | ||
properties: | ||
reportType: | ||
type: string | ||
enum: | ||
- ACCOUNTS | ||
- IDENTITIES_DETAILS | ||
- IDENTITIES | ||
- IDENTITY_PROFILE_IDENTITY_ERROR | ||
- ORPHAN_IDENTITIES | ||
- SEARCH_EXPORT | ||
- UNCORRELATED_ACCOUNTS | ||
description: >- | ||
Use this property to define what report should be processed in the RDE service. | ||
example: IDENTITIES_DETAILS | ||
taskDefName: | ||
type: string | ||
description: >- | ||
Name of the task definition which is started to process requesting report. Usually the same as report name | ||
example: Identities Details Report | ||
id: | ||
type: string | ||
description: >- | ||
Unique task definition identifier. | ||
example: a248c16fe22222b2bd49615481311111 | ||
created: | ||
type: string | ||
description: >- | ||
Report processing start date | ||
format: date-time | ||
example: '2020-09-07T42:14:00.364Z' | ||
status: | ||
type: string | ||
enum: | ||
- SUCCESS | ||
- FAILURE | ||
- WARNING | ||
- TERMINATED | ||
description: >- | ||
Report current state or result status. | ||
example: SUCCESS | ||
duration: | ||
type: integer | ||
format: int64 | ||
description: >- | ||
Report processing time in ms. | ||
example: 342 | ||
rows: | ||
type: integer | ||
format: int64 | ||
description: >- | ||
Report size in rows. | ||
example: 37 | ||
availableFormats: | ||
type: array | ||
items: | ||
type: string | ||
enum: | ||
- CSV | ||
description: >- | ||
Output report file formats. This are formats for calling get endpoint as a query parameter 'fileFormat'. | ||
In case report won't have this argument there will be ['CSV', 'PDF'] as default. | ||
example: | ||
- CSV |
Oops, something went wrong.