Update namespaces for k8s applications
Replace io.murano.apps with com.mirantis bp fix-fqn-usage Change-Id: I5bb6129a51beadffe124cd0fb289f41e05cd52c3
This commit is contained in:
parent
8298db5d79
commit
f57eb2fa4c
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker
|
||||
=: com.mirantis.docker
|
||||
std: io.murano
|
||||
|
||||
Name: ApplicationPort
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker
|
||||
=: com.mirantis.docker
|
||||
std: io.murano
|
||||
|
||||
Name: DockerApplication
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker
|
||||
=: com.mirantis.docker
|
||||
|
||||
Name: DockerContainer
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker
|
||||
=: com.mirantis.docker
|
||||
std: io.murano
|
||||
|
||||
Name: DockerContainerHost
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker
|
||||
=: com.mirantis.docker
|
||||
|
||||
Name: DockerHelpers
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker
|
||||
=: com.mirantis.docker
|
||||
|
||||
Name: DockerHostVolume
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker
|
||||
=: com.mirantis.docker
|
||||
|
||||
Name: DockerTempVolume
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker
|
||||
=: com.mirantis.docker
|
||||
|
||||
Name: DockerVolume
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
Format: 1.3
|
||||
Type: Library
|
||||
FullName: io.murano.apps.docker.Interfaces
|
||||
FullName: com.mirantis.docker.Interfaces
|
||||
Name: Docker Interface Library
|
||||
Description: |
|
||||
The library provides all necessary interface for Docker
|
||||
@ -21,11 +21,11 @@ Author: 'Mirantis, Inc'
|
||||
Tags: [Docker, Kubernetes]
|
||||
|
||||
Classes:
|
||||
io.murano.apps.docker.DockerApplication: DockerApplication.yaml
|
||||
io.murano.apps.docker.DockerContainer: DockerContainer.yaml
|
||||
io.murano.apps.docker.DockerContainerHost: DockerContainerHost.yaml
|
||||
io.murano.apps.docker.DockerHelpers: DockerHelpers.yaml
|
||||
io.murano.apps.docker.DockerHostVolume: DockerHostVolume.yaml
|
||||
io.murano.apps.docker.DockerTempVolume: DockerTempVolume.yaml
|
||||
io.murano.apps.docker.DockerVolume: DockerVolume.yaml
|
||||
io.murano.apps.docker.ApplicationPort: ApplicationPort.yaml
|
||||
com.mirantis.docker.DockerApplication: DockerApplication.yaml
|
||||
com.mirantis.docker.DockerContainer: DockerContainer.yaml
|
||||
com.mirantis.docker.DockerContainerHost: DockerContainerHost.yaml
|
||||
com.mirantis.docker.DockerHelpers: DockerHelpers.yaml
|
||||
com.mirantis.docker.DockerHostVolume: DockerHostVolume.yaml
|
||||
com.mirantis.docker.DockerTempVolume: DockerTempVolume.yaml
|
||||
com.mirantis.docker.DockerVolume: DockerVolume.yaml
|
||||
com.mirantis.docker.ApplicationPort: ApplicationPort.yaml
|
||||
|
@ -11,11 +11,11 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker.kubernetes
|
||||
=: com.mirantis.docker.kubernetes
|
||||
std: io.murano
|
||||
res: io.murano.resources
|
||||
sys: io.murano.system
|
||||
docker: io.murano.apps.docker
|
||||
docker: com.mirantis.docker
|
||||
|
||||
|
||||
Name: KubernetesCluster
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker.kubernetes
|
||||
=: com.mirantis.docker.kubernetes
|
||||
std: io.murano
|
||||
res: io.murano.resources
|
||||
sys: io.murano.system
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker.kubernetes
|
||||
=: com.mirantis.docker.kubernetes
|
||||
std: io.murano
|
||||
res: io.murano.resources
|
||||
sys: io.murano.system
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker.kubernetes
|
||||
=: com.mirantis.docker.kubernetes
|
||||
std: io.murano
|
||||
res: io.murano.resources
|
||||
sys: io.murano.system
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker.kubernetes
|
||||
=: com.mirantis.docker.kubernetes
|
||||
std: io.murano
|
||||
res: io.murano.resources
|
||||
sys: io.murano.system
|
||||
|
@ -14,7 +14,7 @@ Version: 2
|
||||
Templates:
|
||||
masterNode:
|
||||
?:
|
||||
type: io.murano.apps.docker.kubernetes.KubernetesMasterNode
|
||||
type: com.mirantis.docker.kubernetes.KubernetesMasterNode
|
||||
instance:
|
||||
?:
|
||||
type: io.murano.resources.LinuxMuranoInstance
|
||||
@ -27,7 +27,7 @@ Templates:
|
||||
|
||||
minionNode:
|
||||
?:
|
||||
type: io.murano.apps.docker.kubernetes.KubernetesMinionNode
|
||||
type: com.mirantis.docker.kubernetes.KubernetesMinionNode
|
||||
instance:
|
||||
?:
|
||||
type: io.murano.resources.LinuxMuranoInstance
|
||||
@ -42,7 +42,7 @@ Templates:
|
||||
|
||||
gatewayNode:
|
||||
?:
|
||||
type: io.murano.apps.docker.kubernetes.KubernetesGatewayNode
|
||||
type: com.mirantis.docker.kubernetes.KubernetesGatewayNode
|
||||
instance:
|
||||
?:
|
||||
type: io.murano.resources.LinuxMuranoInstance
|
||||
@ -55,7 +55,7 @@ Templates:
|
||||
|
||||
Application:
|
||||
?:
|
||||
type: io.murano.apps.docker.kubernetes.KubernetesCluster
|
||||
type: com.mirantis.docker.kubernetes.KubernetesCluster
|
||||
name: $.appConfiguration.name
|
||||
masterNode: $masterNode
|
||||
minionNodes: repeat($minionNode, $.appConfiguration.maxMinionCount)
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
Format: 1.3
|
||||
Type: Application
|
||||
FullName: io.murano.apps.docker.kubernetes.KubernetesCluster
|
||||
FullName: com.mirantis.docker.kubernetes.KubernetesCluster
|
||||
Name: Kubernetes Cluster
|
||||
Description: |
|
||||
Kubernetes is an open source system for managing containerized applications across multiple hosts,
|
||||
@ -20,10 +20,10 @@ Description: |
|
||||
Author: 'Mirantis, Inc'
|
||||
Tags: [Docker, Kubernetes]
|
||||
Classes:
|
||||
io.murano.apps.docker.kubernetes.KubernetesCluster: KubernetesCluster.yaml
|
||||
io.murano.apps.docker.kubernetes.KubernetesMasterNode: KubernetesMasterNode.yaml
|
||||
io.murano.apps.docker.kubernetes.KubernetesMinionNode: KubernetesMinionNode.yaml
|
||||
io.murano.apps.docker.kubernetes.KubernetesGatewayNode: KubernetesGatewayNode.yaml
|
||||
io.murano.apps.docker.kubernetes.KubernetesNode: KubernetesNode.yaml
|
||||
com.mirantis.docker.kubernetes.KubernetesCluster: KubernetesCluster.yaml
|
||||
com.mirantis.docker.kubernetes.KubernetesMasterNode: KubernetesMasterNode.yaml
|
||||
com.mirantis.docker.kubernetes.KubernetesMinionNode: KubernetesMinionNode.yaml
|
||||
com.mirantis.docker.kubernetes.KubernetesGatewayNode: KubernetesGatewayNode.yaml
|
||||
com.mirantis.docker.kubernetes.KubernetesNode: KubernetesNode.yaml
|
||||
Require:
|
||||
io.murano.apps.docker.Interfaces:
|
||||
com.mirantis.docker.Interfaces:
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker.kubernetes.static
|
||||
=: com.mirantis.docker.kubernetes.static
|
||||
std: io.murano
|
||||
sys: io.murano.system
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker.kubernetes.static
|
||||
=: com.mirantis.docker.kubernetes.static
|
||||
std: io.murano
|
||||
sys: io.murano.system
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker.kubernetes.static
|
||||
=: com.mirantis.docker.kubernetes.static
|
||||
std: io.murano
|
||||
sys: io.murano.system
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
Format: 1.3
|
||||
Type: Library
|
||||
FullName: io.murano.apps.docker.kubernetes.static.KubernetesEntities
|
||||
FullName: com.mirantis.docker.kubernetes.static.KubernetesEntities
|
||||
Name: Kubernetes static entities
|
||||
Description: |
|
||||
Kubernes Pod - A collection of containers which will be scheduled onto the same node,
|
||||
@ -20,8 +20,8 @@ Description: |
|
||||
Author: 'Mirantis, Inc'
|
||||
Tags: [docker, kubernetes, pod]
|
||||
Classes:
|
||||
io.murano.apps.docker.kubernetes.static.Pod: Pod.yaml
|
||||
io.murano.apps.docker.kubernetes.static.Service: Service.yaml
|
||||
io.murano.apps.docker.kubernetes.static.ReplicationController: ReplicationController.yaml
|
||||
com.mirantis.docker.kubernetes.static.Pod: Pod.yaml
|
||||
com.mirantis.docker.kubernetes.static.Service: Service.yaml
|
||||
com.mirantis.docker.kubernetes.static.ReplicationController: ReplicationController.yaml
|
||||
Require:
|
||||
io.murano.apps.docker.kubernetes.KubernetesCluster:
|
||||
com.mirantis.docker.kubernetes.KubernetesCluster:
|
||||
|
@ -11,8 +11,8 @@
|
||||
# under the License.
|
||||
|
||||
Namespaces:
|
||||
=: io.murano.apps.docker.kubernetes
|
||||
docker: io.murano.apps.docker
|
||||
=: com.mirantis.docker.kubernetes
|
||||
docker: com.mirantis.docker
|
||||
std: io.murano
|
||||
sys: io.murano.system
|
||||
|
||||
|
@ -14,7 +14,7 @@ Version: 2
|
||||
|
||||
Application:
|
||||
?:
|
||||
type: io.murano.apps.docker.kubernetes.KubernetesPod
|
||||
type: com.mirantis.docker.kubernetes.KubernetesPod
|
||||
name: $.appConfiguration.name
|
||||
labels: $.appConfiguration.labels
|
||||
kubernetesCluster: $.appConfiguration.kubernetesCluster
|
||||
@ -53,7 +53,7 @@ Forms:
|
||||
Valid label values must be shorter than 64 characters, accepted characters are ([-A-Za-z0-9_.])
|
||||
but the first character must be ([A-Za-z0-9]).
|
||||
- name: kubernetesCluster
|
||||
type: io.murano.apps.docker.kubernetes.KubernetesCluster
|
||||
type: com.mirantis.docker.kubernetes.KubernetesCluster
|
||||
label: Kubernetes cluster
|
||||
description: >-
|
||||
Kubernetes service
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
Format: 1.3
|
||||
Type: Application
|
||||
FullName: io.murano.apps.docker.kubernetes.KubernetesPod
|
||||
FullName: com.mirantis.docker.kubernetes.KubernetesPod
|
||||
Name: Kubernetes Pod
|
||||
Description: |
|
||||
Kubernes Pod - A collection of containers which will be scheduled onto the same node,
|
||||
@ -20,7 +20,7 @@ Description: |
|
||||
Author: 'Mirantis, Inc'
|
||||
Tags: [docker, kubernetes, pod]
|
||||
Classes:
|
||||
io.murano.apps.docker.kubernetes.KubernetesPod: KubernetesPod.yaml
|
||||
com.mirantis.docker.kubernetes.KubernetesPod: KubernetesPod.yaml
|
||||
Require:
|
||||
io.murano.apps.docker.Interfaces:
|
||||
io.murano.apps.docker.kubernetes.KubernetesCluster:
|
||||
com.mirantis.docker.Interfaces:
|
||||
com.mirantis.docker.kubernetes.KubernetesCluster:
|
||||
|
@ -171,7 +171,7 @@ deploying both Kubernetes and it's nodes.
|
||||
`createService(applicationName, applicationPorts, podId)`
|
||||
* `applicationName` a string holding application's name.
|
||||
* `applicationPorts` list of instances of
|
||||
`io.murano.apps.docker.ApplicationPort` class.
|
||||
`com.mirantis.docker.ApplicationPort` class.
|
||||
* `podId` a string holding a name of the pod.
|
||||
|
||||
Check each port in applicationPorts and creates or updates it if the port
|
||||
|
Loading…
Reference in New Issue
Block a user