[MGNLPER-144] GraphQL search result supplier for Periscope Created: 04/Sep/20  Updated: 23/Aug/22

Status: Open
Project: Periscope
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Martin Drápela Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2020-09-04-13-17-34-641.png     PNG File image-2020-09-04-13-20-34-225.png    
Issue Links:
Problem/Incident
is caused by MGNLGQL-32 DOC: Create GraphQL endpoint page Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: GraphQL Phase 2
Team: AuthorX

 Description   

Current behavior

In GraphQL searches, users may use the path or uuid as arguments to retrieve content: Example:

{
    assets(id: "a93e42ad-0765-4be1-82fa-c670508bc310") {
        name
    }
}
{
    assets(path: "/Book-Covers") {
        name
    }
}

Both resulting in:

{
    "data": {
        "assets": [
            {
                "name": "wells1898.png"
            },
            {
                "name": "huxley1932.png"
            },
            {
                "name": "sagan1997.png"
            },
            {
                "name": "hawking2005.png"
            },
            {
                "name": "hawking1988.png"
            },
            {
                "name": "darwin1859.png"
            }
        ]
    }
}

(Module and bootstrap data: https://git.magnolia-cms.com/projects/DOCUMENTATION/repos/bookshelf/browse?at=refs%2Fheads%2FwithAuthorCatalog)

However, if you need to verify that data for these argument values really exists in a workspace - for example to eliminate making a typo in the UUID or path, Find bar will return no results:

Improvement

Content deliverable through configured GraphQL schemas should be indexed at the uuid/path level to be accessible also via the Find Bar using uuid or path.

Create a GraphQL search result supplier for Periscope, an analogue to https://documentation.magnolia-cms.com/display/DOCS62/REST+search+result+suppliers+for+Periscope.

 


Generated at Mon Feb 12 10:29:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.