Yaml syntax cleanup
* remove 'error' like: - no new line character at the end of file - trailing spaces Change-Id: I981f5353a5bd5bfb1546946b240a85905272887e
This commit is contained in:
parent
001f04c3a2
commit
719a47fa86
@ -86,3 +86,4 @@ Methods:
|
||||
- $key: $pair[0].trim()
|
||||
- $result[$key]: $pair[1].trim()
|
||||
- Return: $result
|
||||
|
||||
|
@ -14,8 +14,10 @@ Format: 1.3
|
||||
Type: Application
|
||||
FullName: com.example.docker.DockerHTTPd
|
||||
Name: Docker HTTPd
|
||||
Description: |
|
||||
The Apache HTTP Server, colloquially called Apache, is a Web server application notable for playing a key role in the initial growth of the World Wide Web.
|
||||
Description: >-
|
||||
The Apache HTTP Server, colloquially called Apache, is a Web server
|
||||
application notable for playing a key role in the initial growth
|
||||
of the World Wide Web.
|
||||
Author: 'Mirantis, Inc'
|
||||
Tags: [docker, application, httpd]
|
||||
Classes:
|
||||
|
@ -20,7 +20,6 @@ Application:
|
||||
publish: $.appConfiguration.publish
|
||||
password: $.appConfiguration.password
|
||||
|
||||
|
||||
Forms:
|
||||
- appConfiguration:
|
||||
fields:
|
||||
|
@ -14,8 +14,11 @@ Format: 1.3
|
||||
Type: Application
|
||||
FullName: com.example.docker.DockerNginx
|
||||
Name: Docker Nginx
|
||||
Description: |
|
||||
Nginx (pronounced “engine-x”) is an open source reverse proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP protocols, as well as a load balancer, HTTP cache, and a web server (origin server).
|
||||
Description: >-
|
||||
Nginx (pronounced "engine-x") is an open source reverse
|
||||
proxy server for HTTP, HTTPS, SMTP, POP3, and IMAP
|
||||
protocols, as well as a load balancer, HTTP cache,
|
||||
and a web server (origin server).
|
||||
Author: 'Mirantis, Inc'
|
||||
Tags: [docker, application, Nginx]
|
||||
Classes:
|
||||
|
@ -14,8 +14,12 @@ Format: 1.3
|
||||
Type: Application
|
||||
FullName: com.example.docker.DockerTomcat
|
||||
Name: Docker Tomcat
|
||||
Description: |
|
||||
Apache Tomcat (or simply Tomcat) is an open source web server and servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Oracle, and provides a “pure Java” HTTP web server environment for Java code to run in.
|
||||
Description: >-
|
||||
Apache Tomcat (or simply Tomcat) is an open source web server and servlet
|
||||
container developed by the Apache Software Foundation (ASF).
|
||||
Tomcat implements the Java Servlet and the JavaServer Pages (JSP)
|
||||
specifications from Oracle, and provides a "pure Java" HTTP web server
|
||||
environment for Java code to run in.
|
||||
Author: 'Mirantis, Inc'
|
||||
Tags: [docker, application, Tomcat]
|
||||
Classes:
|
||||
@ -24,3 +28,4 @@ Require:
|
||||
com.mirantis.docker.DockerStandaloneHost:
|
||||
com.mirantis.docker.kubernetes.KubernetesPod:
|
||||
com.mirantis.docker.Interfaces:
|
||||
|
||||
|
@ -29,3 +29,4 @@ Methods:
|
||||
Return:
|
||||
type: $.getType()
|
||||
parameters: $.getParameters()
|
||||
|
||||
|
@ -61,7 +61,6 @@ Methods:
|
||||
Body:
|
||||
- $._environment: $.find(std:Environment).require()
|
||||
|
||||
|
||||
deploy:
|
||||
Body:
|
||||
- If: not $.getAttr(deployed, false)
|
||||
|
@ -38,7 +38,6 @@ Methods:
|
||||
- $.deployPod()
|
||||
- $.setAttr(deployed, true)
|
||||
|
||||
|
||||
deployPod:
|
||||
Body:
|
||||
- $resources: new(sys:Resources)
|
||||
|
@ -38,11 +38,9 @@ Methods:
|
||||
- $.deployReplicationController()
|
||||
- $.setAttr(deployed, true)
|
||||
|
||||
|
||||
deployReplicationController:
|
||||
Body:
|
||||
- $resources: new(sys:Resources)
|
||||
|
||||
- $template: $resources.yaml('UpdateReplicationController.template').bind(dict(
|
||||
controllerDefinition => $.replicationControllerDefinition,
|
||||
isNew => true
|
||||
|
@ -38,11 +38,9 @@ Methods:
|
||||
- $.deployService()
|
||||
- $.setAttr(deployed, true)
|
||||
|
||||
|
||||
deployService:
|
||||
Body:
|
||||
- $resources: new(sys:Resources)
|
||||
|
||||
- $template: $resources.yaml('UpdateService.template').bind(dict(
|
||||
serviceDefinition => $.serviceDefinition,
|
||||
isNew => true
|
||||
|
Loading…
Reference in New Issue
Block a user