- **summary**: IMM: Add possibility to efficiently find references to an object
--> IMM: Add possibility to efficiently find all NO_DANGLING references to an
object
- Description has changed:
Diff:
~~~~
--- old
+++ new
@@ -1,7 +1,15 @@
Migrated from:
http://devel.opensaf.org/ticket/3123
+This is related to enhacement #49
(https://sourceforge.net/p/opensaf/tickets/49)
+
Add support for a new way to use the IMM object search, by filling in the
SaImmSearchParametersT_2 in the following way:
-If attrName is set to NULL and attrValue is not set to NULL, attrValueType
must be set to SA_IMM_ATTR_SANAMET. This makes it possible to find all
references to a specific object. Note that it is not possible to specify
attribute flags as a search criterion, so all references will be returned no
matter if they have the SA_IMM_ATTR_NO_DANGLING flag (defined in ticket #3122)
or not.
+If attrName is set to NULL and attrValue is the DN of an object, attrValueType
must be set to SA_IMM_ATTR_SANAMET. This makes it possible to find all
NO_DANGLING references to the object having that DN. Only NO_DANGLING
references will be returned because only such references can efficiently be
located for any given object DN as target.
+It is not possible to specify attribute flags as a search criterion, but it is
possible to specify SaImmSearchOptionsT flag values. So a new search flag
should be defined to make it clearer that the search will only be for objects
refering to the target object using NO_DANGLING refrences.
+
+The return result is an iteration, that returns all objects that contain one
or more NO_DANGLING flagged references, pointing to the target. The reference
attributes may be included (along with other attributes!) or not depending on
the search options setting, e.g. SA_IMM_SEARCH_GET_ALL_ATTR. Possibly a new
search-attribute flag should be added (?) SA_IMM_SEARCH_GET_REF_ATTR.
+
+
+
~~~~
---
** [tickets:#50] IMM: Add possibility to efficiently find all NO_DANGLING
references to an object**
**Status:** accepted
**Created:** Wed May 08, 2013 07:55 AM UTC by Anders Bjornerstedt
**Last Updated:** Mon Nov 11, 2013 10:35 AM UTC
**Owner:** Zoran Milinkovic
Migrated from:
http://devel.opensaf.org/ticket/3123
This is related to enhacement #49 (https://sourceforge.net/p/opensaf/tickets/49)
Add support for a new way to use the IMM object search, by filling in the
SaImmSearchParametersT_2 in the following way:
If attrName is set to NULL and attrValue is the DN of an object, attrValueType
must be set to SA_IMM_ATTR_SANAMET. This makes it possible to find all
NO_DANGLING references to the object having that DN. Only NO_DANGLING
references will be returned because only such references can efficiently be
located for any given object DN as target.
It is not possible to specify attribute flags as a search criterion, but it is
possible to specify SaImmSearchOptionsT flag values. So a new search flag
should be defined to make it clearer that the search will only be for objects
refering to the target object using NO_DANGLING refrences.
The return result is an iteration, that returns all objects that contain one or
more NO_DANGLING flagged references, pointing to the target. The reference
attributes may be included (along with other attributes!) or not depending on
the search options setting, e.g. SA_IMM_SEARCH_GET_ALL_ATTR. Possibly a new
search-attribute flag should be added (?) SA_IMM_SEARCH_GET_REF_ATTR.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets