<?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>question Re: Moving roles to a new roleConfigsGroup in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Moving-roles-to-a-new-roleConfigsGroup/m-p/49462#M51308</link>
    <description>&lt;P&gt;yeah, i ended up figuring out last week.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2017 13:56:23 GMT</pubDate>
    <dc:creator>jftheroux</dc:creator>
    <dc:date>2017-01-16T13:56:23Z</dc:date>
    <item>
      <title>Moving roles to a new roleConfigsGroup</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Moving-roles-to-a-new-roleConfigsGroup/m-p/49329#M51305</link>
      <description>&lt;P&gt;I'm working on automating a cluster creation. One of the things I've done, is create new roleConfigsGroup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I now need to do is move the roles to the new roleConfigsGroup using the API. To do that, I'm using this endpoint:&amp;nbsp;/api/v14/clusters/{clusterName}/services/{serviceName}/roleConfigGroups/{roleConfigGroupName}/roles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is, I can't seem to figure out the proper JSON to use with my PUT request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cloudera.github.io/cm_api/apidocs/v14/ns0_apiRoleNameList.html" target="_blank"&gt;https://cloudera.github.io/cm_api/apidocs/v14/ns0_apiRoleNameList.html&lt;/A&gt; says I need to pass an items list, which I've done with several other endpoints. But I have no clue what each item should be like.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone has an example handy?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 21:26:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Moving-roles-to-a-new-roleConfigsGroup/m-p/49329#M51305</guid>
      <dc:creator>jftheroux</dc:creator>
      <dc:date>2017-01-11T21:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Moving roles to a new roleConfigsGroup</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Moving-roles-to-a-new-roleConfigsGroup/m-p/49330#M51306</link>
      <description>&lt;P&gt;JSONs I've tried so far:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "items" : [
    {
      "name" : "SERVER",
      "roleType" : "SERVER"
    }
  ]
}&lt;/PRE&gt;&lt;PRE&gt;{
  "items" : [
    "SERVER"
  ]
}&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Jan 2017 21:29:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Moving-roles-to-a-new-roleConfigsGroup/m-p/49330#M51306</guid>
      <dc:creator>jftheroux</dc:creator>
      <dc:date>2017-01-11T21:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Moving roles to a new roleConfigsGroup</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Moving-roles-to-a-new-roleConfigsGroup/m-p/49449#M51307</link>
      <description>&lt;P&gt;You could try this where the items are role names to be moved against&lt;FONT face="courier new,courier"&gt;&amp;nbsp;/clusters/{clusterName}/services/{serviceName}/roleConfigGroups/{roleConfigGroupName}/roles&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;{
  "items": ["flumeAGENTd574d31f","flumeAGENTd5192a7f"]
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 01:04:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Moving-roles-to-a-new-roleConfigsGroup/m-p/49449#M51307</guid>
      <dc:creator>Ranjandas</dc:creator>
      <dc:date>2017-01-16T01:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Moving roles to a new roleConfigsGroup</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Moving-roles-to-a-new-roleConfigsGroup/m-p/49462#M51308</link>
      <description>&lt;P&gt;yeah, i ended up figuring out last week.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 13:56:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Moving-roles-to-a-new-roleConfigsGroup/m-p/49462#M51308</guid>
      <dc:creator>jftheroux</dc:creator>
      <dc:date>2017-01-16T13:56:23Z</dc:date>
    </item>
  </channel>
</rss>

