Le document rootservices est une ressource RDF fournie par toutes les applications basées sur Jazz, sans autorisation, aux clients souhaitant trouver des points d'extrémité de service spécifiques. Il comprend les URL OAuth utilisées dans le processus d'authentification basé sur OAuth pour les clients hors navigateur web.
Le client obtient l'URL de rootervices sans aucun en-tête supplémentaire. Si aucun en-tête Accept n'est inclus, la réponse est application/rdf+xml
. Les en-têtes Accept valides sont application/ntriple
, application/x-turtle
et text/turtle
.
Demande :
GET https://example.com:9435/dm/rootservices HTTP/1.1
Réponse :
En-têtes
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
ETag: "nQQLPGLvSXh8NEYQhFJslNFmDkI="
Date: Mon, 17 Sep 2012 16:31:17 GMT
Expires: Mon, 17 Sep 2012 16:36:17 GMT
Cache-Control: public
Content-Type: application/rdf+xml;charset=UTF-8
Transfer-Encoding: chunked
<?xml version="1.0" encoding="UTF-8"?> <!-- Eléments sous licence - Propriété d'IBM Copyright IBM Corporation 2012. All Rights Reserved. Note to U.S. Government Users Restricted Rights: Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corporation. --> <rdf:Description rdf:about="https://example.com:9435/dm/rootservices" xmlns:dc="http://purl.org/dc/terms/" xmlns:fp="http://jazz.net/xmlns/prod/jazz/frontingapp/process/1.0/" xmlns:jd="http://jazz.net/xmlns/prod/jazz/discovery/1.0/" xmlns:jdb="http://jazz.net/xmlns/prod/jazz/dashboard/1.0/" xmlns:jfs="http://jazz.net/xmlns/prod/jazz/jfs/1.0/" xmlns:jp="http://jazz.net/xmlns/prod/jazz/process/1.0/" xmlns:jp06="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:jtp="http://jazz.net/xmlns/prod/jazz/jtp/0.6/" xmlns:ju="http://jazz.net/ns/ui#" xmlns:oslc="http://open-services.net/ns/core#" xmlns:oslc_am="http://open-services.net/ns/am#" xmlns:oslc_rm="http://open-services.net/xmlns/rm/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rh_dist="http://jazz.net/xmlns/dm/distribute/1.0/" xmlns:rhlocator="http://jazz.net/xmlns/rh/locator/1.0/" xmlns:rmps="http://jazz.net/xmlns/rmps/1.0/" xmlns:trs="http://jazz.net/ns/trs#" xmlns:vvc="http://jazz.net/ns/vvc#"> <!-- Document Ressource RootServices --> <dc:title xml:lang="en">Design Management</dc:title> <!-- Services JTS --> <jd:discovery rdf:resource="https://example.com:9435/dm/discovery"/> <jd:friends rdf:resource="https://example.com:9435/dm/friends"/> <jd:infocenterRoot rdf:resource="https://example.com:9435/dm/../rdmhelp"/> <jd:viewletServiceRoot rdf:resource="https://example.com:9435/jts"/> <jd:viewletWebUIRoot rdf:resource="https://example.com:9435/dm"/> <jfs:oauthDomain>https://example.com:9435/jts,https://example.com:9435/dm</jfs:oauthDomain> <jfs:oauthRealmName>Jazz</jfs:oauthRealmName> <jfs:oauthAccessTokenUrl rdf:resource="https://example.com:9435/jts/oauth-access-token"/> <jfs:oauthApprovalModuleUrl rdf:resource="https://example.com:9435/jts/_ajax-modules/com.ibm.team.repository.AuthorizeOAuth"/> <jfs:oauthExpireTokenUrl rdf:resource="https://example.com:9435/jts/oauth-expire-token"/> <jfs:oauthRequestConsumerKeyUrl rdf:resource="https://example.com:9435/jts/oauth-request-consumer"/> <jfs:oauthRequestTokenUrl rdf:resource="https://example.com:9435/jts/oauth-request-token"/> <jfs:oauthUserAuthorizationUrl rdf:resource="https://example.com:9435/jts/oauth-authorize"/> <jfs:jauthCheckAuthUrl rdf:resource="https://example.com:9435/jts/jauth-check-auth"/> <jfs:jauthCheckTokenUrl rdf:resource="https://example.com:9435/jts/jauth-check-token"/> <jfs:jauthIssueTokenUrl rdf:resource="https://example.com:9435/jts/jauth-issue-token"/> <jfs:jauthProxyUrl rdf:resource="https://example.com:9435/jts/jauth-proxy"/> <jfs:jauthRevokeTokenUrl rdf:resource="https://example.com:9435/jts/jauth-revoke-token"/> <jfs:jauthSigninUrl rdf:resource="https://example.com:9435/jts/jauth-signin"/> <jfs:baselines rdf:resource="https://example.com:9435/dm/baselines"/> <jfs:bulkOperations rdf:resource="https://example.com:9435/dm/bulk"/> <jfs:changes rdf:resource="https://example.com:9435/dm/changes"/> <jfs:currentUser rdf:resource="https://example.com:9435/jts/whoami"/> <jfs:history rdf:resource="https://example.com:9435/dm/history"/> <jfs:indexing rdf:resource="https://example.com:9435/dm/indexing"/> <jfs:mailer rdf:resource="https://example.com:9435/jts/mailer"/> <jfs:query rdf:resource="https://example.com:9435/dm/query"/> <jfs:search rdf:resource="https://example.com:9435/dm/search"/> <jfs:storage rdf:resource="https://example.com:9435/dm/storage"/> <jfs:users rdf:resource="https://example.com:9435/jts/users"/> <jfs:serverRenameStatus rdf:resource="https://example.com:9435/dm/appServerRenameStatus"/> <jfs:setupWizardDescriptor rdf:resource="https://example.com:9435/dm/setup-descriptor"/> <jdb:dashboards rdf:resource="https://example.com:9435/jts/dashboards"/> <ju:widgetCatalog rdf:resource="https://example.com:9435/dm/WidgetCatalog"/> <jp06:processSecurity rdf:resource="https://example.com:9435/dm/process-security"/> <jp06:processTemplates rdf:resource="https://example.com:9435/dm/process/templates"/> <jp06:projectAreas rdf:resource="https://example.com:9435/dm/process/project-areas"/> <jtp:associations rdf:resource="https://example.com:9435/dm/process-authoring/associations"/> <jtp:defaultPracticeLibraryUrl rdf:resource="https://example.com:9435/dm/process-authoring/libraries/shared"/> <jtp:file rdf:resource="https://example.com:9435/dm/process-authoring/file"/> <jtp:license rdf:resource="https://example.com:9435/dm/process-authoring/license"/> <jtp:practices rdf:resource="https://example.com:9435/dm/process-authoring/practices"/> <jtp:processDescriptions rdf:resource="https://example.com:9435/dm/process-authoring/descriptions"/> <oslc:publisher rdf:resource="https://example.com:9435/dm/application-about"/> <!-- Fin des services JTS --> <jfs:adminWebUI rdf:resource="https://example.com:9435/dm/admin"/> <jd:registration rdf:resource="https://example.com:9435/dm/handleSetup"/> <jp:projectAreaInitService rdf:resource="https://example.com:9435/dm/initializationservice"/> <rmps:dsf rdf:resource="https://example.com:9435/dm/dsf"/> <rmps:dsv rdf:resource="https://example.com:9435/dm/dsv"/> <rmps:owlInput rdf:resource="https://example.com:9435/dm/owlInput"/> <rmps:transforms rdf:resource="https://example.com:9435/dm/transforms"/> <rmps:modelquery rdf:resource="https://example.com:9435/dm/modelquery"/> <rmps:oslcquery rdf:resource="https://example.com:9435/dm/oslcquery"/> <rmps:migration rdf:resource="https://example.com:9435/dm/migration"/> <rmps:graphLayout rdf:resource="https://example.com:9435/dm/graphLayout"/> <rmps:resourceState rdf:resource="https://example.com:9435/dm/resourceState"/> <rmps:imageInfo rdf:resource="https://example.com:9435/dm/imageInfo"/> <rmps:dtkEditorDef rdf:resource="https://example.com:9435/dm/dtk/EditorDefinition"/> <rmps:web rdf:resource="https://example.com:9435/dm/web"/> <rmps:comments rdf:resource="https://example.com:9435/dm/comments"/> <rmps:diagrams rdf:resource="https://example.com:9435/dm/diagrams"/> <rmps:models rdf:resource="https://example.com:9435/dm/models"/> <rmps:logical rdf:resource="https://example.com:9435/dm/logical"/> <rmps:dm-users rdf:resource="https://example.com:9435/dm/dm-users"/> <rmps:dm-search rdf:resource="https://example.com:9435/dm/dm-search"/> <rmps:status rdf:resource="https://example.com:9435/dm/status"/> <rmps:properties rdf:resource="https://example.com:9435/dm/properties"/> <rmps:info rdf:resource="https://example.com:9435/dm/info"/> <rmps:groups rdf:resource="https://example.com:9435/dm/groups"/> <rmps:projects rdf:resource="https://example.com:9435/dm/projects"/> <rmps:dminstall rdf:resource="https://example.com:9435/dm/dminstall"/> <rmps:auth rdf:resource="https://example.com:9435/dm/auth"/> <rmps:links rdf:resource="https://example.com:9435/dm/links"/> <rmps:linktypes rdf:resource="https://example.com:9435/dm/linktypes"/> <rmps:linkServiceProviders rdf:resource="https://example.com:9435/dm/linkServiceProviders"/> <rmps:dm-history rdf:resource="https://example.com:9435/dm/dm-history"/> <rmps:subscriptions rdf:resource="https://example.com:9435/dm/subscriptions"/> <rmps:validation rdf:resource="https://example.com:9435/dm/validation"/> <rmps:support rdf:resource="https://example.com:9435/dm/support"/> <rmps:explorer rdf:resource="https://example.com:9435/dm/explorer"/> <rmps:folders rdf:resource="https://example.com:9435/dm/folders"/> <rmps:dtkConfigure rdf:resource="https://example.com:9435/dm/dtkConfigure"/> <rmps:rendering rdf:resource="https://example.com:9435/dm/rendering"/> <rmps:reviews rdf:resource="https://example.com:9435/dm/reviews"/> <rmps:dm-baselines rdf:resource="https://example.com:9435/dm/dm-baselines"/> <rmps:dm-changesets rdf:resource="https://example.com:9435/dm/dm-changesets"/> <rmps:design rdf:resource="https://example.com:9435/dm/design"/> <rmps:streams rdf:resource="https://example.com:9435/dm/streams"/> <rmps:queries rdf:resource="https://example.com:9435/dm/queries"/> <rmps:metamodelconverter rdf:resource="https://example.com:9435/dm/metamodelconverter"/> <rmps:domainRegistry rdf:resource="https://example.com:9435/dm/domainRegistry"/> <rmps:compare rdf:resource="https://example.com:9435/dm/compare"/> <rmps:compareWithPrevious rdf:resource="https://example.com:9435/dm/compareWithPrevious"/> <rmps:rdfdirectory rdf:resource="https://example.com:9435/dm/rdfdirectory"/> <rmps:modelvalidation rdf:resource="https://example.com:9435/dm/modelvalidation"/> <rmps:fileUpload rdf:resource="https://example.com:9435/dm/fileUpload"/> <rmps:clmSampleProject rdf:resource="https://example.com:9435/dm/clmSampleProject"/> <rmps:queryvvc rdf:resource="https://example.com:9435/dm/queryvvc"/> <rmps:trackedResourceSetProvider> <trs:TrackedResourceSetProvider> <trs:trackedResourceSet rdf:resource="https://example.com:9435/dm/trs"/> </trs:TrackedResourceSetProvider> </rmps:trackedResourceSetProvider> <fp:processProxy rdf:resource="https://example.com:9435/dm/processProxy"/> <rmps:importer dcterms:title="Rational Software Architect Import Service" rdf:resource="https://example.com:9435/dm/importer" xmlns:dcterms="http://purl.org/dc/terms/"/> <oslc_am:amServiceProviders rdf:resource="https://example.com:9435/dm/oslc_am"/> <oslc_rm:rmServiceProviders rdf:resource="https://example.com:9435/dm/oslc_rm"/> <rh_dist:distcenter dcterms:title="Design Management Query and Search Services" rdf:resource="https://example.com:9435/dm/distcenter" xmlns:dcterms="http://purl.org/dc/terms/"/> <rh_dist:query dcterms:title="Design Management JTS-Query Proxy" rdf:resource="https://example.com:9435/dm/distcenter/query" xmlns:dcterms="http://purl.org/dc/terms/"/> <rh_dist:indexing dcterms:title="Design Management JTS-Indexing Proxy" rdf:resource="https://example.com:9435/dm/distcenter/indexing" xmlns:dcterms="http://purl.org/dc/terms/"/> <rh_dist:baselines dcterms:title="Design Management JTS-BaseLines Proxy" rdf:resource="https://example.com:9435/dm/distcenter/baselines" xmlns:dcterms="http://purl.org/dc/terms/"/> <rhlocator:existingtools dcterms:title="Design Management for Existing Tools" rdf:resource="https://example.com:9435/dm/rhlocator/existingtools" xmlns:dcterms="http://purl.org/dc/terms/"/> <rhlocator:ld dcterms:title="Design Management of Tool's specific Leading Dimensions" rdf:resource="https://example.com:9435/dm/rhlocator/ld" xmlns:dcterms="http://purl.org/dc/terms/"/> <rhlocator:locate dcterms:title="Design Management" rdf:resource="https://example.com:9435/dm/rhlocator/locate" xmlns:dcterms="http://purl.org/dc/terms/"/> <vvc:eventReceiver rdf:resource="https://example.com:9435/dm/vvcEventReceiver"/> </rdf:Description>
Avec le document rootservices, vous pouvez trouver le point d'extrémité de service pour la plupart des services de DM, ainsi que pour les services exposés par JFS (Jazz Foundation Services). Il est fortement recommandé d'utiliser un analyseur syntaxique RDF pour traiter ce document. Pour trouver le point d'extrémité de service qui vous intéresse, vous devez connaître l'URI de propriété du service. Par exemple, pour trouver le point d'extrémité du service projets DM, nous utilisons sa propriété, http://jazz.net/xmlns/rmps/1.0/projects
, qui nous donne l'instruction associée. La valeur d'objet de cette instruction (https://example.com:9435/dm/projects
) est le point d'extrémité de service du service projets.