-
1. Re: fuse fabric profile import automation
keremyzc Aug 2, 2013 10:13 AM (in response to keremyzc)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 usingI'm open to other suggestions.
-
2. Re: fuse fabric profile import automation
sscb Aug 13, 2013 11:07 AM (in response to keremyzc)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
keremyzc Aug 13, 2013 11:52 AM (in response to sscb)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 config.property.key=value repository.mvn\:groupid/artifactid/version/xml/features system.property.key=value feature.service.name=service.name