Class GenericCloudModuleEvaluator

java.lang.Object
de.spraener.nxtgen.cloud.GenericCloudModuleEvaluator

public class GenericCloudModuleEvaluator extends Object

This GenericCloudModuleEvaluator generates a service-definition from a CloudModule. The root of the blueprint is taken directly from the CloudModules dockerImage - tagged value. It this dockerImage is something like <imagename>:version it will take the content of the blueprint under blueprint/imagename and generates the output from that blueprint

It defines the following variables, that can be referenced in the blueprint:

  • dockerImage
  • moduleName
  • modulePort
  • password
  • globalHostURL

As an example you can look at src/main/resources/blueprint/cloudmodules/mariadb

  • Constructor Details

    • GenericCloudModuleEvaluator

      public GenericCloudModuleEvaluator(de.spraener.nxtgen.oom.model.MPackage pkg)
  • Method Details

    • evaluate

      public String evaluate()