-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore missing references on saved object exports (#47685)
* add saved object export details in ndjson response Signed-off-by: pgayvallet <[email protected]> * update core doc Signed-off-by: pgayvallet <[email protected]> * exclude export details for space copy Signed-off-by: pgayvallet <[email protected]> * fixing tests Signed-off-by: pgayvallet <[email protected]> * display warning instead of success if export contains missing refs Signed-off-by: pgayvallet <[email protected]> * nits/typo Signed-off-by: pgayvallet <[email protected]> * properly updates api integration tests Signed-off-by: pgayvallet <[email protected]> * fix typings Signed-off-by: pgayvallet <[email protected]> * add test on objects_table component Signed-off-by: pgayvallet <[email protected]> * remove added translations from jp/cn bundles Signed-off-by: pgayvallet <[email protected]> * restoring line feeds Signed-off-by: pgayvallet <[email protected]> * improve doc and user alert message Signed-off-by: pgayvallet <[email protected]> * restoring line feeds on server.api.md Signed-off-by: pgayvallet <[email protected]> * warning test label Signed-off-by: pgayvallet <[email protected]>
- Loading branch information
1 parent
b8647ae
commit 7df981f
Showing
34 changed files
with
1,085 additions
and
456 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
13 changes: 13 additions & 0 deletions
13
...e/server/kibana-plugin-server.savedobjectsexportoptions.excludeexportdetails.md
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [SavedObjectsExportOptions](./kibana-plugin-server.savedobjectsexportoptions.md) > [excludeExportDetails](./kibana-plugin-server.savedobjectsexportoptions.excludeexportdetails.md) | ||
|
||
## SavedObjectsExportOptions.excludeExportDetails property | ||
|
||
flag to not append [export details](./kibana-plugin-server.savedobjectsexportresultdetails.md) to the end of the export stream. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
excludeExportDetails?: boolean; | ||
``` |
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
13 changes: 13 additions & 0 deletions
13
...re/server/kibana-plugin-server.savedobjectsexportresultdetails.exportedcount.md
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [SavedObjectsExportResultDetails](./kibana-plugin-server.savedobjectsexportresultdetails.md) > [exportedCount](./kibana-plugin-server.savedobjectsexportresultdetails.exportedcount.md) | ||
|
||
## SavedObjectsExportResultDetails.exportedCount property | ||
|
||
number of successfully exported objects | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
exportedCount: number; | ||
``` |
22 changes: 22 additions & 0 deletions
22
...development/core/server/kibana-plugin-server.savedobjectsexportresultdetails.md
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,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [SavedObjectsExportResultDetails](./kibana-plugin-server.savedobjectsexportresultdetails.md) | ||
|
||
## SavedObjectsExportResultDetails interface | ||
|
||
Structure of the export result details entry | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface SavedObjectsExportResultDetails | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [exportedCount](./kibana-plugin-server.savedobjectsexportresultdetails.exportedcount.md) | <code>number</code> | number of successfully exported objects | | ||
| [missingRefCount](./kibana-plugin-server.savedobjectsexportresultdetails.missingrefcount.md) | <code>number</code> | number of missing references | | ||
| [missingReferences](./kibana-plugin-server.savedobjectsexportresultdetails.missingreferences.md) | <code>Array<{</code><br/><code> id: string;</code><br/><code> type: string;</code><br/><code> }></code> | missing references details | | ||
|
13 changes: 13 additions & 0 deletions
13
.../server/kibana-plugin-server.savedobjectsexportresultdetails.missingrefcount.md
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,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [SavedObjectsExportResultDetails](./kibana-plugin-server.savedobjectsexportresultdetails.md) > [missingRefCount](./kibana-plugin-server.savedobjectsexportresultdetails.missingrefcount.md) | ||
|
||
## SavedObjectsExportResultDetails.missingRefCount property | ||
|
||
number of missing references | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
missingRefCount: number; | ||
``` |
16 changes: 16 additions & 0 deletions
16
...erver/kibana-plugin-server.savedobjectsexportresultdetails.missingreferences.md
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 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-server](./kibana-plugin-server.md) > [SavedObjectsExportResultDetails](./kibana-plugin-server.savedobjectsexportresultdetails.md) > [missingReferences](./kibana-plugin-server.savedobjectsexportresultdetails.missingreferences.md) | ||
|
||
## SavedObjectsExportResultDetails.missingReferences property | ||
|
||
missing references details | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
missingReferences: Array<{ | ||
id: string; | ||
type: string; | ||
}>; | ||
``` |
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
Oops, something went wrong.