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>

@berezovskyi berezovskyi force-pushed the b-interceptor-example branch from aa8fbde to 5b422a1 Compare May 1, 2022 22:43
@github-actions github-actions bot force-pushed the b-interceptor-example branch from 5b422a1 to 700adde Compare April 14, 2023 20:04
@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 from 416d1f0 to d034150 Compare May 4, 2023 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch from d034150 to be08dec Compare May 17, 2023 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch from be08dec to 16537fb Compare July 10, 2023 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch from 16537fb to db4fae2 Compare August 11, 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 from d674498 to 244bb3f Compare November 7, 2023 07:41
@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 from b6c06c4 to 83746cb Compare December 18, 2023 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch from 83746cb to 5537874 Compare March 3, 2024 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 from 07db40b to e0608aa Compare April 14, 2024 08:03
@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 from fe849a1 to b577751 Compare September 22, 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
@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from 9ccc2e9 to 05f966d Compare October 24, 2024 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from ab4122a to 940f3ab Compare November 5, 2024 07:41
@berezovskyi berezovskyi force-pushed the b-interceptor-example branch from 940f3ab to 06c3314 Compare November 16, 2024 10:24
@github-actions github-actions bot force-pushed the b-interceptor-example branch 4 times, most recently from c1f5853 to 865d6ad Compare November 22, 2024 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch from 865d6ad to 46bde87 Compare December 2, 2024 07:43
@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from cf98ec6 to d217823 Compare December 22, 2024 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch 3 times, most recently from ef5db9c to 1fd9ffb Compare January 11, 2025 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch 2 times, most recently from 8e44093 to 154ea60 Compare January 20, 2025 07:41
@github-actions github-actions bot force-pushed the b-interceptor-example branch from 154ea60 to 037d3b7 Compare January 23, 2025 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