Glassfish docs7/28/2023 Thus, will return the path on the target container and not on the filesystem where the XL Deploy server runs. If staging was enabled, deployed.file contains a reference to the staged OverthereFile. The parameter uploadArtifactsInPythonContext is enabled by default, so the deployed artifact will be uploaded to the target container and deployed.file will be updated with a reference to the remote OverthereFile. This allows you to access staged or automatically uploaded artifacts bound to the glassfish-cli Python context.įor example, the deployed is automatically bound to the Python context. The file property is updated with a reference to a remote OverthereFile. With the glassfish-cli step, all variables of type udm.Artifact are uploaded to the target container host. Without the glassfish-cli step, scripts must use the uploadFile function to upload a file to the target container. Upload_artifacts_in_python_context = False Script = "glassfish/application/deploy.py",Īdditional_libraries = ĭescription = "Creating reference to application '%s'" % deployed.applicationName, To create the same steps with a script rule: context.addStep(steps.glassfish_cli(ĭescription = "Deploying application '%s'" % deployed.name, "Creating reference to application '%s'" % deployed.applicationNameĬontent of the create-application-ref.py file: logOutput("Creating application reference")ĮxecuteCmd("create-application-ref -target %s %s" %(container, name)) This is an example of a glassfish-cli step that will create an application reference using a custom provided script: Note: The glassfish/application/deploy.py script is provided with the glassfish-plugin. "Deploying application '%s'" % deployed.name This is an example of a glassfish-cli step that will deploy an application: The script executes on top of a thin Python wrapper library that provides convenient functions for executing adadmin commands, logging, and so on. The glassfish-cli step executes a Python script that controls the Oracle GlassFish asadmin command-line interface utility. Udm.EmbeddedDeployedContainer, udm.Deployed, udm.ConfigurationItemĪpplication reference is used to refer an application. > udm.BaseDeployed > udm.BaseConfigurationItem War with values configured for a deploymentĬonfiguration Item Details glassfish.ApplicationRef Type Hierarchy Resource reference is used to refer a glassfish resource Specification of an Application ReferenceĪ Glassfish jdbc connectionPool (deployable)Īpplication reference is used to refer an applicationīase for all deployed that utilize the Glassfish Cli for configurationīase for all deployed artifacts that utilize the Glassfish Cli for configurationĮar with values configured for a deploymentĮjbJar with values configured for a deploymentīase class for all the JMS connection factories
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |