...
Issue | Notes | Decision | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Does request body need to declare "publicCmHandleProperties"? | Do we need to explcitly declare "publicCmHandleProperties"? Will there be another possible variation to this in the future?
| Not another variation but there will be "modules" included in future implementations. | ||||||||||
2 | Do we need to consider if cm handle exists? | ||||||||||||
3 | Are public properties always be in the format of "name" : x, "value": y? | In the fragment table there are example that follow this format
| Yes. | ||||||||||
4 | Will there only ever be 2 kv pairs in public properties? | Yes | |||||||||||
5 | Does the order matter? | Does
==
| No, they are independent. | ||||||||||
6 | Should search be case sensitive? |
Analysis/Implementation Proposal
...
Match all xpaths that contain "public" in fragment table
Code Block language sql SELECT *xpath, attributes #>> '{}' FROM fragment WHERE fragment.xpath LIKE '%public%';
Iterate over the list and retrieve all attributes
- Iterate over the attributes and collect those instances that match
- Return collected list of cm handles
...