Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NOT A PR] Showcase manipulating Lyo objects via an interceptor #27

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

berezovskyi
Copy link
Member

@berezovskyi berezovskyi commented Jan 15, 2021

Output from the SPC endpoint, see <j.0:oauthRealmName>CM</j.0:oauthRealmName>


<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:oslc="http://open-services.net/ns/core#"
    xmlns:j.0="http://jazz.net/xmlns/prod/jazz/jfs/1.0/"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
    <oslc:ServiceProviderCatalog rdf:about="http://localhost:8801/services/catalog/singleton">
        <j.0:oauthRealmName>CM</j.0:oauthRealmName>
        <oslc:domain rdf:resource="http://open-services.net/ns/cm#"/>
        <dcterms:title rdf:parseType="Literal">Service Provider Catalog</dcterms:title>
        <oslc:serviceProvider>
            <oslc:ServiceProvider rdf:about="http://localhost:8801/services/serviceProviders/sp_single">
                <dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
        >2021-01-15T11:54:34.186Z</dcterms:created>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://open-services.net/ns/rm#"/>
                        <oslc:prefix>oslc_rm</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://xmlns.com/foaf/0.1/#"/>
                        <oslc:prefix>foaf</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://purl.org/dc/terms/"/>
                        <oslc:prefix>dcterms</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://open-services.net/ns/servicemanagement/1.0/"/>
                        <oslc:prefix>oslc_data</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <oslc:details rdf:resource="http://localhost:8801/services/serviceProviders/sp_single"/>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://open-services.net/ns/core#"/>
                        <oslc:prefix>oslc</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <dcterms:title rdf:parseType="Literal">Default ServiceProvider</dcterms:title>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://open-services.net/ns/cm#"/>
                        <oslc:prefix>oslc_cm</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <dcterms:description rdf:parseType="Literal">Service Provider (id: sp_single; kind: Service Provider)</dcterms:description>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
                        <oslc:prefix>rdf</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://purl.org/dc/terms/"/>
                        <oslc:prefix>dcterms</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://open-services.net/ns/core#"/>
                        <oslc:prefix>oslc</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://open-services.net/ns/config#"/>
                        <oslc:prefix>oslc_config</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <oslc:prefixDefinition>
                    <oslc:PrefixDefinition>
                        <oslc:prefixBase rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
                        <oslc:prefix>rdfs</oslc:prefix>
                    </oslc:PrefixDefinition>
                </oslc:prefixDefinition>
                <dcterms:identifier>sp_single</dcterms:identifier>
                <oslc:service>
                    <oslc:Service>
                        <oslc:queryCapability>
                            <oslc:QueryCapability>
                                <oslc:queryBase rdf:resource="http://localhost:8801/services/resources/query_review"/>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ReviewTask"/>
                                <oslc:resourceShape rdf:resource="http://localhost:8801/services/resourceShapes/reviewTask"/>
                                <dcterms:title rdf:parseType="Literal">Review QC</dcterms:title>
                                <oslc:label>ReviewTask Query Capability</oslc:label>
                            </oslc:QueryCapability>
                        </oslc:queryCapability>
                        <oslc:queryCapability>
                            <oslc:QueryCapability>
                                <oslc:queryBase rdf:resource="http://localhost:8801/services/resources/query_cn"/>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeNotice"/>
                                <oslc:resourceShape rdf:resource="http://localhost:8801/services/resourceShapes/changeNotice"/>
                                <dcterms:title rdf:parseType="Literal">ChangeNotice QC</dcterms:title>
                                <oslc:label>ChangeNotice Query Capability</oslc:label>
                            </oslc:QueryCapability>
                        </oslc:queryCapability>
                        <oslc:selectionDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/select_enhancement"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#Enhancement"/>
                                <dcterms:title rdf:parseType="Literal">EnhancementDlgSel</dcterms:title>
                                <oslc:label>Enhancement Selection Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:selectionDialog>
                        <oslc:selectionDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/select_task"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#Task"/>
                                <dcterms:title rdf:parseType="Literal">TaskDlgSel</dcterms:title>
                                <oslc:label>Task Selection Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:selectionDialog>
                        <oslc:queryCapability>
                            <oslc:QueryCapability>
                                <oslc:queryBase rdf:resource="http://localhost:8801/services/resources/query_enh"/>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#Enhancement"/>
                                <oslc:resourceShape rdf:resource="http://localhost:8801/services/resourceShapes/enhancement"/>
                                <dcterms:title rdf:parseType="Literal">Enhancement QC</dcterms:title>
                                <oslc:label>Enhancement Query Capability</oslc:label>
                            </oslc:QueryCapability>
                        </oslc:queryCapability>
                        <oslc:selectionDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/select_review_task"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ReviewTask"/>
                                <dcterms:title rdf:parseType="Literal">ReviewTaskDlgSel</dcterms:title>
                                <oslc:label>Review Task Selection Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:selectionDialog>
                        <oslc:domain rdf:resource="http://open-services.net/ns/cm#"/>
                        <oslc:creationDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/create_defect"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#Defect"/>
                                <dcterms:title rdf:parseType="Literal">DefectDlgCr</dcterms:title>
                                <oslc:label>Defect Creation Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:creationDialog>
                        <oslc:selectionDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/select_change_request"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest"/>
                                <dcterms:title rdf:parseType="Literal">ChangeRequestDlgSel</dcterms:title>
                                <oslc:label>Change Request Selection Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:selectionDialog>
                        <oslc:creationDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/create_change_notice"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeNotice"/>
                                <dcterms:title rdf:parseType="Literal">ChangeNoticeDlgCr</dcterms:title>
                                <oslc:label>Change Notice Creation Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:creationDialog>
                        <oslc:creationDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/create_task"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#Task"/>
                                <dcterms:title rdf:parseType="Literal">TaskDlgCr</dcterms:title>
                                <oslc:label>Task Creation Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:creationDialog>
                        <oslc:selectionDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/select_change_notice"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeNotice"/>
                                <dcterms:title rdf:parseType="Literal">ChangeNoticeDlgSel</dcterms:title>
                                <oslc:label>Change Notice Selection Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:selectionDialog>
                        <oslc:queryCapability>
                            <oslc:QueryCapability>
                                <oslc:queryBase rdf:resource="http://localhost:8801/services/resources/query_defect"/>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#Defect"/>
                                <oslc:resourceShape rdf:resource="http://localhost:8801/services/resourceShapes/defect"/>
                                <dcterms:title rdf:parseType="Literal">Defect QC</dcterms:title>
                                <oslc:label>Defect Query Capability</oslc:label>
                            </oslc:QueryCapability>
                        </oslc:queryCapability>
                        <oslc:creationFactory>
                            <oslc:CreationFactory>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest"/>
                                <oslc:resourceShape rdf:resource="http://localhost:8801/services/resourceShapes/changeRequest"/>
                                <oslc:creation rdf:resource="http://localhost:8801/services/resources/create_change_request"/>
                                <dcterms:title rdf:parseType="Literal">ChangeRequestCF</dcterms:title>
                                <oslc:label>Change Request Creation Factory</oslc:label>
                            </oslc:CreationFactory>
                        </oslc:creationFactory>
                        <oslc:creationDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/create_enhancement"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#Enhancement"/>
                                <dcterms:title rdf:parseType="Literal">EnhancementDlgCr</dcterms:title>
                                <oslc:label>Enhancement Creation Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:creationDialog>
                        <oslc:queryCapability>
                            <oslc:QueryCapability>
                                <oslc:queryBase rdf:resource="http://localhost:8801/services/resources/query_task"/>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#Task"/>
                                <oslc:resourceShape rdf:resource="http://localhost:8801/services/resourceShapes/task"/>
                                <dcterms:title rdf:parseType="Literal">Task QC</dcterms:title>
                                <oslc:label>Task Query Capability</oslc:label>
                            </oslc:QueryCapability>
                        </oslc:queryCapability>
                        <oslc:selectionDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/select_defect"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#Defect"/>
                                <dcterms:title rdf:parseType="Literal">DefectDlgSel</dcterms:title>
                                <oslc:label>Defect Selection Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:selectionDialog>
                        <oslc:queryCapability>
                            <oslc:QueryCapability>
                                <oslc:queryBase rdf:resource="http://localhost:8801/services/resources/query_cr"/>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest"/>
                                <oslc:resourceShape rdf:resource="http://localhost:8801/services/resourceShapes/changeRequest"/>
                                <dcterms:title rdf:parseType="Literal">ChangeRequest QC</dcterms:title>
                                <oslc:label>ChangeRequest Query Capability</oslc:label>
                            </oslc:QueryCapability>
                        </oslc:queryCapability>
                        <oslc:creationDialog>
                            <oslc:Dialog>
                                <oslc:hintWidth>0px</oslc:hintWidth>
                                <oslc:dialog rdf:resource="http://localhost:8801/services/resources/create_review_task"/>
                                <oslc:hintHeight>0px</oslc:hintHeight>
                                <oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ReviewTask"/>
                                <dcterms:title rdf:parseType="Literal">ReviewTaskDlgCr</dcterms:title>
                                <oslc:label>Review Task Creation Dialog</oslc:label>
                            </oslc:Dialog>
                        </oslc:creationDialog>
                    </oslc:Service>
                </oslc:service>
            </oslc:ServiceProvider>
        </oslc:serviceProvider>
        <dcterms:description rdf:parseType="Literal">Service Provider Catalog</dcterms:description>
    </oslc:ServiceProviderCatalog>
</rdf:RDF>

@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from 93c0288 to 416d1f0 Compare April 28, 2023 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from 3cbccf3 to d674498 Compare October 8, 2023 07:42
@github-actions github-actions bot force-pushed the b-interceptor-example branch 4 times, most recently from 3cb49a4 to b6c06c4 Compare December 10, 2023 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from 7990bfb to 0da3fa8 Compare March 28, 2024 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from 4d326e5 to 07db40b Compare April 9, 2024 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from 0a0be84 to 7d71fed Compare May 24, 2024 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from 899b7f4 to fe849a1 Compare September 4, 2024 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from 56bc286 to 49c36ba Compare October 5, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant