You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Copyright Contributors to the Egeria project. -->
3
8
@@ -8,71 +13,10 @@ Most types of metadata element (instances) may be in one of two status:
8
13
- ACTIVE - this means it is visible in the repositories.
9
14
- DELETED - this means it has been soft-deleted and can only be retrieved via a special query. For repositories that support history, it is possible to move the element back to the status it was before it was deleted using the `restore()` method.
10
15
11
-
Some elements have an advanced lifecycle which means they can pass through multiple statuses during their lifetime.
12
-
13
-
Egeria does not define the order or conditions that must be met to change status. This is left to the deploying organization to decide their own governance processes.
14
-
15
-
## Valid status values
16
-
17
-
The list of valid values for status is defined by the [Open Metadata Framework (OMF)](/frameworks/omf/overview)'s *ElementStatus* enum. These are matched by the [Open Metadata Repository Services (OMRS)](/services/omrs) in its *InstanceStatus* enum. This is the complete list.
This status is maintained by the open metadata repositories.
76
17
18
+
When a query is made to retrieve open metadata elements, only elements in ACTIVE status are returned. However, it is possible to request that elements that have been soft-deleted are returned using the `limitResultsByStatus` option. This is a list of status values, so if set to `[DELETED]`, only soft-deleted elements matching the query request are returned. Returning all known elements that match the query request is achieved by setting the `limitResultsByStatus` option to `[ACTIVE, DELETED]`.
77
19
20
+
The ability to retrieve soft-deleted elements is particularly useful for connectors trying to ascertain if a remote system has a new element, or one that we have seen before, but was deleted from the open metadata ecosystem. Depending on the ownership of the element, the element may be deleted from the remote system, or the catalog entry in open metadata is recreated.
Copy file name to clipboardExpand all lines: site/docs/guides/cts/index.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,6 @@ The functions expected of an open metadata repository are numerous. These functi
47
47
|[Metadata maintenance](/guides/cts/repository-workbench/profiles/metadata-maintenance)| The technology under test supports requests to create, update and purge metadata instances. |
48
48
|[Effectivity dating](/guides/cts/repository-workbench/profiles/effectivity-dating)| The technology under test supports effectivity dating properties. |
49
49
|[Dynamic types](/guides/cts/repository-workbench/profiles/dynamic-types)| The technology under test supports changes to the list of its supported types while it is running. |
50
-
|[Graph queries](/guides/cts/repository-workbench/profiles/graph-queries)| The technology under test supports graph-like queries that return collections of metadata instances. |
51
50
|[Historical search](/guides/cts/repository-workbench/profiles/historical-search)| The technology under test supports search for the state of the metadata instances at a specific time in the past. |
52
51
|[Entity proxies](/guides/cts/repository-workbench/profiles/entity-proxies)| The technology under test is able to store stubs for entities to use on relationships when the full entity is not available. |
53
52
|[Soft-delete and restore](/guides/cts/repository-workbench/profiles/soft-delete-restore)| The technology under test allows an instance to be soft-deleted and restored. |
@@ -90,8 +89,6 @@ This workbench runs the following profiles, in the following order:
90
89
|[Relationship history retrieval](../performance-profiles/relationship-history-retrieval)| tests the performance of `getRelationship` (with non-null `asOfTime`) and `getRelationshipHistory` methods |
91
90
|[Entity history search](../performance-profiles/entity-history-search)| tests the performance of the same search operations as Entity Search, but in each case with a non-null `asOfTime`|
92
91
|[Relationship history search](../performance-profiles/relationship-history-search)| tests the performance of the same search operations as Relationship Search, but in each case with a non-null `asOfTime`|
93
-
|[Graph queries](../performance-profiles/graph-perf-queries)| tests the performance of `getRelationshipsForEntity`, `getEntityNeighborhood`, `getRelatedEntities` and `getLinkingEntities` methods |
94
-
|[Graph history queries](../performance-profiles/graph-history-queries)| tests the performance of the same operations as Graph Queries, but in each case with a non-null `asOfTime`|
95
92
|[Entity re-home](../performance-profiles/entity-re-home)| tests the performance of `reHomeEntity` method |
96
93
|[Relationship re-home](../performance-profiles/relationship-re-home)| tests the performance of `reHomeRelationship` method |
97
94
|[Entity declassify](../performance-profiles/entity-declassify)| tests the performance of `declassifyEntity` and `purgeClassificationReferenceCopy` methods |
Copy file name to clipboardExpand all lines: site/docs/guides/cts/performance-profiles/entity-history-search.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,6 @@ The [Open Metadata Repository Services (OMRS)](/services/omrs) interface for a m
32
32
| `repository-entity-search-history-performance-findEntitiesByProperty-any` | Repository performs historical search by two property values, sorting by the second property, of first page of instances of a type. |
33
33
| `repository-entity-search-history-performance-findEntitiesByProperty-none` | Repository performs historical search by two property value, sorting by the first property, of first page of instances of a type. |
34
34
| `repository-entity-history-retrieval-performance-findEntities` | See the detailed logic of the [entity retrieval](entity-retrieval.md) profile. |
35
-
| `repository-graph-history-query-performance-findEntities` | See the detailed logic of the [graph history query](graph-history-queries.md) profile. |
36
35
37
36
!!! tip "Search variations"
38
37
When `findEntitiesByProperty` is run by the assertions starting with `repository-entity-search-history-performance...`, the tests prefer non-string properties (if any exist for the type) given that the `findEntitiesByPropertyValue` searches will already heavily exercise string-based queries.
Copy file name to clipboardExpand all lines: site/docs/guides/cts/performance-profiles/entity-search.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,6 @@ The [Open Metadata Repository Services (OMRS)](/services/omrs) interface for a m
43
43
| `repository-entity-retype-performance-findEntitiesByProperty` | See the detailed logic of the [entity retype](entity-retype.md) profile. |
44
44
| `repository-entity-undo-performance-findEntities` | See the detailed logic of the [entity undo](entity-undo.md) profile. |
45
45
| `repository-entity-update-performance-findEntitiesByProperty` | See the detailed logic of the [entity update](entity-update.md) profile. |
46
-
| `repository-graph-query-performance-findEntities` | See the detailed logic of the [graph query](graph-query.md) profile. |
47
46
| `repository-relationship-creation-performance-findEntities` | See the detailed logic of the [relationship creation](relationship-creation.md) profile. |
48
47
49
48
In addition, these tests will record into the Environment profile the `totalEntitiesFound`.
0 commit comments