Wednesday, 4 July 2012

Jclouds Karaf Usage necessary Urls



install karaf : http://karaf.apache.org/index/community/download.html
starting karaf : Unzip the download go into folder and run bin\karaf.bat
Make sure maven is in your path
Install jclouds. On karaf shell
Features:addUrl mvn:org.jclouds.karaf/jclouds-karaf/1.5.0-alpha.6/xml/features
Features:install jclouds-api-filesystem [ call features:list | grep jclouds for exact name]
Compile the attached source code The zip only contains the src files and features.xml directory
Features:addUrl file://///features.xml/features.xml  (This is present in project)





To change the mvn url use following on karaf shell:
Features:listUrl
Features:removeUrl <Url with jclouds in it>
Features:addUrl <Url with jclouds. Change .6 to .1>
Features:install jclouds-api-filesystem



.cfg file


public_key_file=C:/AE2-035/cloudStorage/public.key
private_key_file=C:/AE2-035/cloudStorage/private.key
secret_key=value of secnote
access_key=value of accnote
cloud_provider=filesystem
filesystem_base_directory=C:/
mRootContainer=CBSCloudArchive

No comments:

Post a Comment

Pass a HashMap from Angular Client to Spring boot API

This example is for the case where fileData is very huge and in json format   let map = new Map<string, string>()      map.set(this.ge...