Adds updated DevOpsFramework

parent ed49291a
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="app-description-service/src/main/java"/>
<classpathentry kind="src" path="app-description-service/src/test/java"/>
<classpathentry kind="src" path="config/src/main/java"/>
<classpathentry kind="src" path="config/src/test/java"/>
<classpathentry kind="src" path="decide/src/main/java"/>
<classpathentry kind="src" path="decide/src/test/java"/>
<classpathentry kind="src" path="hello-service/src/main/java"/>
<classpathentry kind="src" path="hello-service/src/test/java"/>
<classpathentry kind="src" path="jenkins-service/src/main/java"/>
<classpathentry kind="src" path="jenkins-service/src/test/java"/>
<classpathentry kind="src" path="mcsla-service/src/main/java"/>
<classpathentry kind="src" path="mcsla-service/src/test/java"/>
<classpathentry kind="src" path="registry/src/main/java"/>
<classpathentry kind="src" path="registry/src/test/java"/>
<classpathentry kind="lib" path="app-description-service/gradle/wrapper/gradle-wrapper.jar"/>
<classpathentry kind="lib" path="app-description-service/libs/appManager-0.0.1-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="config/gradle/wrapper/gradle-wrapper.jar"/>
<classpathentry kind="lib" path="decide/gradle/wrapper/gradle-wrapper.jar"/>
<classpathentry kind="lib" path="hello-service/gradle/wrapper/gradle-wrapper.jar"/>
<classpathentry kind="lib" path="jenkins-service/gradle/wrapper/gradle-wrapper.jar"/>
<classpathentry kind="lib" path="mcsla-service/gradle/wrapper/gradle-wrapper.jar"/>
<classpathentry kind="lib" path="registry/gradle/wrapper/gradle-wrapper.jar"/>
<classpathentry kind="output" path="app-description-service/bin"/>
</classpath>
**/bin/
/.metadata/
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>decide-experis</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
# Created by .ignore support plugin (hsz.mobi)
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
*.iml
# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries
# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
# Gradle:
.idea/**/gradle.xml
.idea/**/libraries
# CMake
cmake-build-debug/
# Mongo Explorer plugin:
.idea/**/mongoSettings.xml
## File-based project format:
*.iws
## Plugin-specific files:
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
### Maven template
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
!/.mvn/wrapper/maven-wrapper.jar
### Eclipse template
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# PyDev specific (Python IDE for Eclipse)
*.pydevproject
# CDT-specific (C/C++ Development Tooling)
.cproject
# Java annotation processor (APT)
.factorypath
# PDT-specific (PHP Development Tools)
.buildpath
# sbteclipse plugin
.target
# Tern plugin
.tern-project
# TeXlipse plugin
.texlipse
# STS (Spring Tool Suite)
.springBeans
# Code Recommenders
.recommenders/
# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>eu.decide.src.kr1.mcsla</groupId>
<artifactId>decide.mcsla.editor</artifactId>
<version>0.0.1-SNAPSHOT</version>
<properties>
<jdk.version>1.8</jdk.version>
<zk.version>8.0.2.2-Eval</zk.version>
<spring.version>4.2.1.RELEASE</spring.version>
<commons-io>2.4</commons-io>
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
<packname>-${project.version}-FL-${maven.build.timestamp}</packname>
</properties>
<packaging>war</packaging>
<name>The mcsla.editor Project</name>
<description>The mcsla.editor Project</description>
<repositories>
<repository>
<id>ZK CE</id>
<name>ZK CE Repository</name>
<url>http://mavensync.zkoss.org/maven2</url>
</repository>
<repository>
<id>ZK EVAL</id>
<name>ZK Evaluation Repository</name>
<url>http://mavensync.zkoss.org/eval</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>zkmaven</id>
<name>ZK Maven Plugin Repository</name>
<url>http://mavensync.zkoss.org/maven2/</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zkbind</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zkmax</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zuti</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zkplus</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zhtml</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.4.1</version>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<!-- Run with Jetty -->
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>7.6.8.v20121106</version>
<configuration>
<webAppConfig>
<contextPath>/${project.artifactId}</contextPath>
<allowDuplicateFragmentNames>true</allowDuplicateFragmentNames>
</webAppConfig>
<scanIntervalSeconds>5</scanIntervalSeconds>
</configuration>
</plugin>
<!-- Compile java -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
</configuration>
</plugin>
<!-- Pack zips -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<id>webapp</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>mcsla.editor${packname}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/webapp.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>webapp</id>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.basedir}/src/main/java</directory>
<outputDirectory>/${project.artifactId}/src</outputDirectory>
</fileSet>
<fileSet>
<directory>${project.basedir}/src/main/webapp</directory>
<outputDirectory>/${project.artifactId}/WebContent</outputDirectory>
</fileSet>
</fileSets>
<files>
<file>
<source>${project.build.directory}/${project.artifactId}.war</source>
<outputDirectory>/</outputDirectory>
</file>
</files>
</assembly>
package eu.DECIDEh2020.mcsla.beans;
/*
* Copyright (c) 2017 Fraunhofer FOKUS.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the
* <<licensing_schema_to_be_decided>> which accompanies
* this distribution, and is available at
* https://opensource.org/licenses/EPL-2.0
*
* Contributors:
*
* Majid Salehi Ghamsari Fraunhofer FOKUS
**Initially developed in the context of DECIDE EU project www.DECIDE-h2020.eu
*/
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
public class Csp {
public UUID mCSP_id;
public String name;
public List<MicroserviceSLA> slas;
public Csp() {
super();
}
public Csp(UUID uid, String name) {
super();
this.mCSP_id = uid;
this.name = name;
List<MicroserviceSLA> slas = new ArrayList<>();
this.setSlas(slas);
}
public UUID getmCSP_id() {
return mCSP_id;
}
public String getName() {
return name;
}
public List<MicroserviceSLA> getSlas() {
return slas;
}
public void setmCSP_id(UUID mCSP_id) {
this.mCSP_id = mCSP_id;
}
public void setName(String name) {
this.name = name;
}
public void setSlas(List<MicroserviceSLA> slas) {
this.slas = slas;
}
}
package eu.DECIDEh2020.mcsla.beans;
/*
* Copyright (c) 2017 Fraunhofer FOKUS.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the
* <<licensing_schema_to_be_decided>> which accompanies
* this distribution, and is available at
* https://opensource.org/licenses/EPL-2.0
*
* Contributors:
*
* Majid Salehi Ghamsari Fraunhofer FOKUS
**Initially developed in the context of DECIDE EU project www.DECIDE-h2020.eu
*/
public class Expression {
public String expression;
public String expressionLanguage;
public String unit;
public String getExpression() {
return expression;
}
public String getExpressionLanguage() {
return expressionLanguage;
}
public String getUnit() {
return unit;
}
public void setExpression(String expression) {
this.expression = expression;
}
public void setExpressionLanguage(String expressionLanguage) {
this.expressionLanguage = expressionLanguage;
}
public void setUnit(String unit) {
this.unit = unit;
}
}
package eu.DECIDEh2020.mcsla.beans;
/*
* Copyright (c) 2017 Fraunhofer FOKUS.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the
* <<licensing_schema_to_be_decided>> which accompanies
* this distribution, and is available at
* https://opensource.org/licenses/EPL-2.0
*
* Contributors:
*
* Majid Salehi Ghamsari Fraunhofer FOKUS
**Initially developed in the context of DECIDE EU project www.DECIDE-h2020.eu
*/
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
/*
* Copyright (c) 2017 Fraunhofer FOKUS.
*
* Majid Salehi Ghamsari Fraunhofer FOKUS
**Initially developed in the context of DECIDE EU project www.DECIDE-h2020.eu
*/
public class Mcsla {
public UUID mCSLA_id;
public String description;
public String visibility;
public String validityPeriod;
public List<MicroserviceSLA> microservice_SLAs;
public Mcsla() {
super();
}
public Mcsla(UUID uid, String description, String visibility, String validityPeriod) {
super();
this.mCSLA_id = uid;
this.description = description;
this.visibility = visibility;
this.validityPeriod = validityPeriod;
List<MicroserviceSLA> slas = new ArrayList<>();
this.setMicroservice_SLAs(slas);
}
public String getDescription() {
return description;
}
public UUID getmCSLA_id() {
return mCSLA_id;
}
public List<MicroserviceSLA> getMicroservice_SLAs() {
return microservice_SLAs;
}
public String getValidityPeriod() {
return validityPeriod;
}
public String getVisibility() {
return visibility;
}
public void setDescription(String description) {
this.description = description;
}
public void setmCSLA_id(UUID mCSLA_id) {
this.mCSLA_id = mCSLA_id;
}
public void setMicroservice_SLAs(List<MicroserviceSLA> microservice_SLAs) {
this.microservice_SLAs = microservice_SLAs;
}
public void setValidityPeriod(String validityPeriod) {
this.validityPeriod = validityPeriod;
}
public void setVisibility(String visibility) {
this.visibility = visibility;
}
}
package eu.DECIDEh2020.mcsla.beans;
/*
* Copyright (c) 2017 Fraunhofer FOKUS.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the
* <<licensing_schema_to_be_decided>> which accompanies