intellimate / Izou

A home automation API for the Raspberry Pi in java. javadoc: http://intellimate.github.io/Izou/apidocs/overview-summary.html
Other
5 stars 0 forks source link

Server communication #52

Open LeanderK opened 8 years ago

LeanderK commented 8 years ago

This pull-request adds full support for the upcoming cloud-infrastructure

Motivation:

With this pull request Izou is able to respond to request from the server and automatically download/update itself and the apps. The related issue is #19. It introduces 3 new packages, server, config, org.intellimate.server.proto and adds needed functionality to existing ones:

package server:

This class contains the compiled prototbuf-files which specify the communication with the server

package config:

added:

changed:

added:

changed:

added:

changed:

added needed certificates to the resources which are needed to convince java that letsencrypt-certificates are safe. There are 2 config-files: izou.yml and internal.yml. Only izou.yml is expected to be present on startup and should be edited by the user. The maven pom was updated, some new dependencies were added.

LeanderK commented 8 years ago

I did some breaking changes since i last tested it, so no merge yet. Also some documentation is lacking for a few classes

jundl77 commented 8 years ago

Ok not bad overall, but you do know that there was an izou.properties file before that was supposed to be the config file for izou (that is why you sometimes got the error, not fully configuered yet, izou is quitting). So do you wanna remove that? Both seem redundant.

LeanderK commented 8 years ago

it is mostly done

LeanderK commented 8 years ago

@jundl77 i think this is ready to merge now

jundl77 commented 8 years ago

Did you remove the izou properties stuff?

LeanderK commented 8 years ago

i don't have Izou-properties in my repo...i think. Where is it?