3 Replies Latest reply on Aug 13, 2013 11:52 AM by keremyzc

    fuse fabric profile import automation




      At the moment we are evaluating the fuse fabric and we couldn't figure how we will automate the profile imports.


      What would be the best way to import profiles to fuse fabric without using console or webui?


      What I am really looking for is a REST api, a maven plugin or just a directory that we can push the profiles in.


      Thanks in advance,


        • 1. Re: fuse fabric profile import automation

          so I've found number of ways to do this


          - using jmx

          this is the long way of doing it and it is little cumbersome but we can use create version, create profile, set configuration file but don't know how to set property tbh

          I've my suspicions that you can use create profile to set the fabric properties but I couldn't find any documentation that supports this


          - using zookeeper client

          we can create our own solution using the zookeeper client and upload the profiles to zookeeper


          - using the bin/client script and fabric:import cmd

          I am not big fan of shell scripts and cmds but this looks like the best option for now (certainly easiest)


          placing the profile into the FABRIC_HOME/fabric/import/path/to/myprofile

          and running the command below does the trick


          ./client -p password  fabric:import


          fabric:import is a simple tool will just import the source into the fabric as it is
          I think there is a --profile option but it wasn't available in the version that I am using


          I'm open to other suggestions.

          • 2. Re: fuse fabric profile import automation

            I am facing the same issue.  What do the import profile files look like? Can you point me to a reference?

            • 3. Re: fuse fabric profile import automation

              you can find profiles under the fabric/import/fabric/configs/versions/1.0/profiles/ folder

              file genereally looks something like the below



              #Imported on Wed Jul 31 10:27:05 BST 2013
              #Wed Jul 31 10:27:05 BST 2013