Skip to content

f2brossi/OpenStackIntegration

 
 

Repository files navigation

Android Swift Client

Youtube Video

(Click for demo video)

Video to be updated with this current version of the application.

Important

You will need to import the SDK from https://github.com/bluebossa63/openstack-java-sdk with components :

openstack-client
keystone-client
keystone-model
swift-client
swift-model

added as eclipse projects by eclipse build path (with export) or generated by maven project import:

You also need a backend running with at least two virtual machines:

First one provisioned with:
Apache2 reverse proxy
JBoss server for identification from https://github.com/bluebossa63/openstack-server-apps
SMTP server

Second one provisioned with an OpenStack All-In-One with services Swift and Keytone running (using devstack or packstack)

Project tested on a real device Wiko Rainbow connected by USB on Linux with adbdriver (
updating the file /etc/udev/rules.d/51-android.rules with the following line :
SUBSYSTEM"usb", ATTRS{idVendor}“0bb4”, ATTRS{idProduct}==“0c02”, MODE=“0666” )

For others devices see : http://www.linux-usb.org/usb.ids

Maven

Check this prerequisites:

http://stackoverflow.com/questions/13554694/com-jayway-maven-plugins-android-generation2-plugin-execution-not-covered-by-li

Checkout the project and import “Existing maven project”.

Manual setup of the Eclipse project

You can find some very useful tips here https://github.com/bluebossa63/OpenStackIntegration

Android Client Features

- Integrate a PDF file explorer ( installation from Google Store of “ES File Explorer” and “Adobe Reader” is needed )

- Camera integration with a low cost smart phone Wiko Rainbow ( Android 4.2.2.)

Backend Features

Automatic provisioning of each asset of the backend with is available with Puppet, Ansible an Vagrant:

- Apache2 reverse proxy: https://github.com/f2brossi/ansible-apache-swift

- JBoss application server: https://github.com/f2brossi/jboss7-standalone-vagrant

- SMTP postfix server: https://github.com/f2brossi/puppet-postfix-gmail

- devstack with Swift and Keystone: https://github.com/f2brossi/vagrant-devstack-swift

Intended as a proof of concept

Features to come soon:

On client side :

- Project migration to Android Studio
- Replace maven by gradle
- Continuous integration with Travis.
- Share an account with another user.
- Display sizes ( by file and by container)

On server side :
- Encryption ( using Barbican to store keys )
- Thumbnails
- Manage sharing account with another user
- Ansible orchestration of all the backend in one vagrant command.
- Automatic war deployment with Ansible
- Firewall creation with HEAT.
- Create image with ubuntu+ ansible+ puppet+git

License

The graphical assets are created by

http://www.iconarchive.com/show/junior-icons-by-treetog.1.html

This software is licensed under the Apache 2 license

About

Android Swift Openstack client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%