From 6734e6d8cb0d8c8adc88c04df012a496bc4e877d Mon Sep 17 00:00:00 2001 From: Someone Date: Thu, 6 Jun 2013 21:28:30 +0200 Subject: [PATCH] Federation now "works" --- .../ac/tuwien/lsdc/federation/Federation.java | 30 ++++++++++++++----- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/src/at/ac/tuwien/lsdc/federation/Federation.java b/src/at/ac/tuwien/lsdc/federation/Federation.java index 48cd704..adf16f8 100644 --- a/src/at/ac/tuwien/lsdc/federation/Federation.java +++ b/src/at/ac/tuwien/lsdc/federation/Federation.java @@ -2,18 +2,34 @@ package at.ac.tuwien.lsdc.federation; import at.ac.tuwien.lsdc.types.Application; +/** + * Cloudpartners management. Class to be used to ask cloudpartners to take one + * of our APPs over to their infrastructure. + * + * @author jan + * + */ public class Federation { - + private int numPartners; - + public final static int fak = 100; + public final static int th = 20; + public Federation(int numPartners) { this.numPartners = numPartners; } - - public boolean doOutsource(Application app) { - for (int i=0;i