<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Service Detection API in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Service-Detection-API/m-p/124287#M1059</link>
    <description>&lt;P&gt;Did anyone try the new API Detection? &lt;/P&gt;&lt;P&gt;We are testing the FULL_WEB_SERVICE type, changes to the webServiceName/webServiceNameSpace/serverName are working, but adding the contextRoot is not. &lt;/P&gt;&lt;P&gt;The new services are created but with no contextroot. We are using the segmentsToCopyFromUrlPath for get the url to use.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We use kinda of the same for the FULL_WEB_REQUEST and worked like a charm.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;&amp;nbsp; "type": "FULL_WEB_SERVICE",&lt;BR /&gt;&amp;nbsp; "name": "SERVICE",&lt;BR /&gt;&amp;nbsp; "description": "/SERVICE/ OSB WSDL",&lt;BR /&gt;&amp;nbsp; "enabled": true,&lt;BR /&gt;&amp;nbsp; "detectAsWebRequestService": false,&lt;BR /&gt;&amp;nbsp; "conditions": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "attributeType": "URL_PATH",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "compareOperations": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "STARTS_WITH",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "negate": false,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "ignoreCase": true,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "values": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "/SERVICE/"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; },&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "attributeType": "SERVER_NAME",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "compareOperations": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "STRING_CONTAINS",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "negate": false,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "ignoreCase": true,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "values": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "osb_p_"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; ],&lt;BR /&gt;&amp;nbsp; "webServiceName": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "valueOverride": "OSB_P"&lt;BR /&gt;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp; "webServiceNameSpace": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "valueOverride": "OSB_P"&lt;BR /&gt;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp; "contextRoot": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "segmentsToCopyFromUrlPath": 3,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "transformations": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "BEFORE",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "delimiter": "/"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp; "serverName": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "valueOverride": "OSB_P"&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Oct 2019 01:51:37 GMT</pubDate>
    <dc:creator>Dant3</dc:creator>
    <dc:date>2019-10-11T01:51:37Z</dc:date>
    <item>
      <title>Service Detection API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Service-Detection-API/m-p/124287#M1059</link>
      <description>&lt;P&gt;Did anyone try the new API Detection? &lt;/P&gt;&lt;P&gt;We are testing the FULL_WEB_SERVICE type, changes to the webServiceName/webServiceNameSpace/serverName are working, but adding the contextRoot is not. &lt;/P&gt;&lt;P&gt;The new services are created but with no contextroot. We are using the segmentsToCopyFromUrlPath for get the url to use.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We use kinda of the same for the FULL_WEB_REQUEST and worked like a charm.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;&amp;nbsp; "type": "FULL_WEB_SERVICE",&lt;BR /&gt;&amp;nbsp; "name": "SERVICE",&lt;BR /&gt;&amp;nbsp; "description": "/SERVICE/ OSB WSDL",&lt;BR /&gt;&amp;nbsp; "enabled": true,&lt;BR /&gt;&amp;nbsp; "detectAsWebRequestService": false,&lt;BR /&gt;&amp;nbsp; "conditions": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "attributeType": "URL_PATH",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "compareOperations": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "STARTS_WITH",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "negate": false,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "ignoreCase": true,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "values": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "/SERVICE/"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; },&lt;BR /&gt;&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "attributeType": "SERVER_NAME",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "compareOperations": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "STRING_CONTAINS",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "negate": false,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "ignoreCase": true,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "values": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "osb_p_"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; ],&lt;BR /&gt;&amp;nbsp; "webServiceName": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "valueOverride": "OSB_P"&lt;BR /&gt;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp; "webServiceNameSpace": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "valueOverride": "OSB_P"&lt;BR /&gt;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp; "contextRoot": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "segmentsToCopyFromUrlPath": 3,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "transformations": [&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "type": "BEFORE",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "delimiter": "/"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ]&lt;BR /&gt;&amp;nbsp; },&lt;BR /&gt;&amp;nbsp; "serverName": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "valueOverride": "OSB_P"&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Oct 2019 01:51:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Service-Detection-API/m-p/124287#M1059</guid>
      <dc:creator>Dant3</dc:creator>
      <dc:date>2019-10-11T01:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Service Detection API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Service-Detection-API/m-p/124288#M1060</link>
      <description>&lt;P&gt;So... a little more info... i make it work.&lt;/P&gt;&lt;P&gt;I transform the Jersey web service  to a service request:&lt;/P&gt;&lt;P&gt;Managed to get 'Oracle Service Bus REST resource' and transform it to the '/environmentManagement/balancerTest'  purepath.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;PRE&gt;A: Create a "Full Web Service" Detection rule with the options you need to identify the service/purepath to change.&lt;BR /&gt;B: Add detectAsWebRequestService as true. This will create a new service for each of the instance (in my case changed from 1 service Oracle Rest to N instance per PGI)&lt;BR /&gt;C: Create a "Full Web Request Service" Detection rule to join all the request.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; Profit! &lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Default Service&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/22162-1570912044263.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;After creating the first rule of web service:&lt;/P&gt;&lt;P&gt;A/B: New web request service&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/22163-1570912116049.png" /&gt;&lt;/P&gt;&lt;P&gt;Now the contextRoot is visible:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;C/D: New Service with the "full Web request"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/22164-1570912210967.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The last service has all the PGI, actinging like a new Merging Service.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You guys just solve my long problem with OSB. I did all this in 2 QA enviroment. Hope it works like a charm in production.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Oct 2019 20:32:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Service-Detection-API/m-p/124288#M1060</guid>
      <dc:creator>Dant3</dc:creator>
      <dc:date>2019-10-12T20:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Service Detection API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Service-Detection-API/m-p/124289#M1061</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Looking at above, could the serverName valueOverride not be sufficient? Or are WebserviceName, WebserviceNameSpace and contextroot also needed in above? &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 14:21:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Service-Detection-API/m-p/124289#M1061</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2020-03-10T14:21:36Z</dc:date>
    </item>
  </channel>
</rss>

