<?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 Versioning in Decision Builder in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Versioning-in-Decision-Builder/m-p/449393#M13175</link>
    <description>&lt;P&gt;We are on SAS 9.4M4 with a bunch of licenses including among others, DM, DB and MAS... but not Viya or Visual Analytics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For versioning, we notice that DM has some built-in versioning, as well as the BRM macros referenced in the Model Manager Documentation.&amp;nbsp; But DB has nothing. I know we can version what's on MAS and/or in metadata, (e.g. publish from DB then version what was published) however that would only be the "export" half... recreating the decision itself in Decision Manager remains a question: how to "import" something that has been versioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone seen or developed something similar to the BRM macros for use with Decisions built in DB?&amp;nbsp; Or have other approaches to this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks much!&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
    <pubDate>Wed, 28 Mar 2018 15:18:48 GMT</pubDate>
    <dc:creator>JohnJPS</dc:creator>
    <dc:date>2018-03-28T15:18:48Z</dc:date>
    <item>
      <title>Versioning in Decision Builder</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Versioning-in-Decision-Builder/m-p/449393#M13175</link>
      <description>&lt;P&gt;We are on SAS 9.4M4 with a bunch of licenses including among others, DM, DB and MAS... but not Viya or Visual Analytics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For versioning, we notice that DM has some built-in versioning, as well as the BRM macros referenced in the Model Manager Documentation.&amp;nbsp; But DB has nothing. I know we can version what's on MAS and/or in metadata, (e.g. publish from DB then version what was published) however that would only be the "export" half... recreating the decision itself in Decision Manager remains a question: how to "import" something that has been versioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone seen or developed something similar to the BRM macros for use with Decisions built in DB?&amp;nbsp; Or have other approaches to this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks much!&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 15:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Versioning-in-Decision-Builder/m-p/449393#M13175</guid>
      <dc:creator>JohnJPS</dc:creator>
      <dc:date>2018-03-28T15:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Versioning in Decision Builder</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Versioning-in-Decision-Builder/m-p/457477#M13176</link>
      <description>&lt;P&gt;I got some answers on this from SAS:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To pull a decision from DB:&lt;/P&gt;&lt;P&gt;1. GET &lt;A href="http://host:port/SASDecisionManager/rest/decisions?name=ReplaceWithYourdecisionName" target="_blank"&gt;http://&lt;EM&gt;{server}:{port}&lt;/EM&gt;/SASDecisionManager/rest/decisions?name=&lt;EM&gt;ReplaceWithYourdecisionName&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. GET &lt;A href="http://host:port/SASDecisionManager/rest/decisions/replaceWithDecisionId" target="_blank"&gt;http://&lt;EM&gt;{server}:{port}&lt;/EM&gt;/SASDecisionManager/rest/decisions/&lt;EM&gt;ReplaceWithDecisionId&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(where&amp;nbsp;"decision id" in the second call is pulled from the first call's response)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To restore a decision to DB (or migrate to a different instance of DB):&lt;/P&gt;&lt;P&gt;1. POST &lt;A href="http://host:port/SASDecisionManager/rest/decisions" target="_blank"&gt;http://&lt;EM&gt;{server}:{port}&lt;/EM&gt;/SASDecisionManager/rest/decisions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(where Content-Type is application/json, and the request body is the .json from step (2) above)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Long story short: use the REST API; unfortunately no equivalent to the BRM macros for DB at this time.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 16:42:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Versioning-in-Decision-Builder/m-p/457477#M13176</guid>
      <dc:creator>JohnJPS</dc:creator>
      <dc:date>2018-04-26T16:42:43Z</dc:date>
    </item>
  </channel>
</rss>

