Class BaSyxDeploymentRecipe

java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx.BaSyxDeploymentRecipe
All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.DeploymentRecipe

public class BaSyxDeploymentRecipe
extends Object
implements de.iip_ecosphere.platform.support.aas.DeploymentRecipe
An initial BaSyx-specific deployment builder.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • BaSyxDeploymentRecipe

      BaSyxDeploymentRecipe​(de.iip_ecosphere.platform.support.Endpoint endpoint)
      Creates a deployment builder with root/empty document base path.
      Parameters:
      endpoint - the endpoint to create the deployment context for
    • BaSyxDeploymentRecipe

      BaSyxDeploymentRecipe​(String host, int port, String contextPath, String docBasePath)
      Creates a deployment builder.
      Parameters:
      host - the target host
      port - the target IP port
      contextPath - the context base path (may be empty, otherwise shall start with a "/")
      docBasePath - the documents base path (may be empty, otherwise shall start with a "/")
  • Method Details

    • addInMemoryRegistry

      public de.iip_ecosphere.platform.support.aas.DeploymentRecipe.ImmediateDeploymentRecipe addInMemoryRegistry​(String regEndpoint)
      Specified by:
      addInMemoryRegistry in interface de.iip_ecosphere.platform.support.aas.DeploymentRecipe
    • setRegistryUrl

      public de.iip_ecosphere.platform.support.aas.DeploymentRecipe.RegistryDeploymentRecipe setRegistryUrl​(de.iip_ecosphere.platform.support.Endpoint endpoint)
      Specified by:
      setRegistryUrl in interface de.iip_ecosphere.platform.support.aas.DeploymentRecipe
    • deploy

      static void deploy​(BaSyxDeploymentRecipe.DeploymentSpec deploymentSpec, de.iip_ecosphere.platform.support.aas.Aas aas)
      Creates a new BaSyx AAS server.
      Parameters:
      deploymentSpec - the deployment set instance
      aas - the AAS
    • createControlComponent

      public static de.iip_ecosphere.platform.support.Server createControlComponent​(HashMap<String,​Object> cc, int port)
      This method creates a control component.
      Parameters:
      cc - the control component (usually hash-based model provider)
      port - the port to run on
      Returns:
      the server instance
      See Also:
      createControlComponent(VABModelProvider, int)
    • createControlComponent

      public static de.iip_ecosphere.platform.support.Server createControlComponent​(org.eclipse.basyx.vab.modelprovider.generic.VABModelProvider provider, int port)
      This method creates a control component for a model provider.
      Parameters:
      provider - the model provider
      port - the port to run on
      Returns:
      the server instance