Документ rootservices является ресурсом RDF, который все приложения, основанные на Jazz, предоставляют без идентификации клиентам, желающим найти определенные конечные точки службы. В документ включены URL OAuth, используемые в процессе идентификации на основе OAuth для клиентов без веб-браузера.
Клиент получает (операция GET) URL для rootervices без дополнительных заголовков. Если отсутствует заголовок Принять, ответом будетapplication/rdf+xml
. Допустимые заголовки Принять: application/ntriple
, application/x-turtle
и text/turtle
.
Запрос:
GET https://example.com:9435/dm/rootservices HTTP/1.1
Ответ:
Заголовки
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"?> <!-- Licensed Materials - Property of IBM Copyright IBM Corporation 2012. Все права защищены. 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#"> <!-- Документ Root Services Resource --> <dc:title xml:lang="ru">Design Management</dc:title> <!-- Службы 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"/> <!-- Конец служб 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 - Служба импорта" 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="Управление проектированием - Службы запроса и поиска" rdf:resource="https://example.com:9435/dm/distcenter" xmlns:dcterms="http://purl.org/dc/terms/"/> <rh_dist:query dcterms:title="Управление проектированием - Прокси JTS-Query" rdf:resource="https://example.com:9435/dm/distcenter/query" xmlns:dcterms="http://purl.org/dc/terms/"/> <rh_dist:indexing dcterms:title="Управление проектированием - Прокси индексирования JTS" rdf:resource="https://example.com:9435/dm/distcenter/indexing" xmlns:dcterms="http://purl.org/dc/terms/"/> <rh_dist:baselines dcterms:title="Управление проектированием - Прокси JTS-BaseLines" rdf:resource="https://example.com:9435/dm/distcenter/baselines" xmlns:dcterms="http://purl.org/dc/terms/"/> <rhlocator:existingtools dcterms:title="Управление проектированием для существующих инструментов" rdf:resource="https://example.com:9435/dm/rhlocator/existingtools" xmlns:dcterms="http://purl.org/dc/terms/"/> <rhlocator:ld dcterms:title="Управление проектированием для ведущих параметров инструмента" rdf:resource="https://example.com:9435/dm/rhlocator/ld" xmlns:dcterms="http://purl.org/dc/terms/"/> <rhlocator:locate dcterms:title="Управление проектированием" 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>
С помощью документа корневых служб можно найти конечную точку для большинства служб DM, как и для служб, экспортированных из Jazz Foundation Services (JFS). Настоятельно рекомендуется использовать анализатор RDF для обработки этого документа. Для поиска нужной конечной точки службы необходимо знать свойство URI службы. Например, для того чтобы найти конечную точку службы проектов DM, можно использовать свойство службы проектов: http://jazz.net/xmlns/rmps/1.0/projects
для поиска оператора с этим свойством. Значением (https://example.com:9435/dm/projects
) объекта этого оператора будет конечная точка службы для службы проектов.