diff --git a/test/api/replies/create-rolebinding-with-bad-namespace.json b/test/api/replies/create-rolebinding-with-bad-namespace.json deleted file mode 100644 index 642082a5b..000000000 --- a/test/api/replies/create-rolebinding-with-bad-namespace.json +++ /dev/null @@ -1,12 +0,0 @@ -{ body: { - kind: 'Status', - apiVersion: 'v1', - metadata: {}, - status: 'Failure', - message: 'namespaces "che-operator" not found', - reason: 'NotFound', - details: { name: 'che-operator', kind: 'namespaces' - }, - code: 404 - } -} \ No newline at end of file diff --git a/test/api/replies/create-workspace-from-invalid-devfile.json b/test/api/replies/create-workspace-from-invalid-devfile.json deleted file mode 100644 index 167dfed47..000000000 --- a/test/api/replies/create-workspace-from-invalid-devfile.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "message": "Devfile schema validation failed. Errors: [object has missing required properties ([\"apiVersion\"])]" -} diff --git a/test/api/replies/create-workspace-from-valid-devfile.json b/test/api/replies/create-workspace-from-valid-devfile.json deleted file mode 100644 index ac5252240..000000000 --- a/test/api/replies/create-workspace-from-valid-devfile.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "links": { - "self": "https://che-che.192.168.64.39.nip.io/api/workspace/devfile/workspace2m8y4wt8wyfkm6ia", - "ide": "https://che-che.192.168.64.39.nip.io/che/chectl" - }, - "attributes": { - "created": "1544394063204" - }, - "namespace": "che", - "temporary": false, - "id": "workspace2m8y4wt8wyfkm6ia", - "status": "STOPPED", - "config": { - "environments": {}, - "projects": [ - { - "links": [], - "name": "chectl", - "attributes": {}, - "source": { - "location": "git@github.com:che-incubator/chectl.git", - "type": "git", - "parameters": {} - }, - "path": "/chectl", - "mixins": [], - "problems": [] - } - ], - "name": "chectl", - "attributes": { - "editor": "eclipse/che-theia/1.0.0", - "plugins": "eclipse/che-machine-exec-plugin/0.0.1", - "toolsAliases": "eclipse/che-theia/1.0.0=theia-ide,eclipse/che-machine-exec-plugin/0.0.1=exec-plugin" - }, - "commands": [ - { - "commandLine": "yarn", - "name": "build:theia-ide", - "attributes": { - "pluginId": "eclipse/che-theia/1.0.0", - "workingDir": "/projects/chectl" - }, - "type": "exec" - }, - { - "commandLine": "yarn test", - "name": "test:theia-ide", - "attributes": { - "pluginId": "eclipse/che-theia/1.0.0", - "workingDir": "/projects/chectl" - }, - "type": "exec" - } - ], - "links": [] - } -} diff --git a/test/api/replies/create-workspace-from-valid-workspaceconfig.json b/test/api/replies/create-workspace-from-valid-workspaceconfig.json deleted file mode 100644 index cb119517b..000000000 --- a/test/api/replies/create-workspace-from-valid-workspaceconfig.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "links": { - "self": "http://che-che.192.168.64.40.nip.io/api/workspace/workspace1ioy0lx0zg7j0jio", - "ide": "http://che-che.192.168.64.40.nip.io/che/inner-loop-buildah" - }, - "attributes": { - "created": "1545089353884" - }, - "namespace": "che", - "temporary": false, - "id": "workspace1ioy0lx0zg7j0jio", - "status": "STOPPED", - "config": { - "defaultEnv": "default", - "environments": { - "default": { - "machines": { - "ws/dev": { - "attributes": { - "memoryLimitBytes": "536870912" - }, - "servers": {}, - "volumes": { - "projects": { - "path": "/projects" - } - }, - "installers": [], - "env": { - "": "" - } - } - }, - "recipe": { - "type": "kubernetes", - "content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n - \n image: mariolet/che-plugin-dev-tooling:jug\n name: dev\n resources:\n limits:\n memory: 512Mi\n", - "contentType": "application/x-yaml" - } - } - }, - "projects": [ - { - "links": [], - "name": "spring-petclinic", - "attributes": {}, - "source": { - "location": "https://github.com/sleshchenko/spring-petclinic.git", - "type": "git", - "parameters": {} - }, - "path": "/spring-petclinic", - "description": "", - "mixins": [], - "problems": [] - } - ], - "name": "inner-loop-buildah", - "attributes": { - "editor": "eclipse/che-theia/1.0.0", - "sidecar.eclipse/che-theia.memory_limit": "512Mi", - "plugins": "eclipse/che-machine-exec-plugin/0.0.1" - }, - "commands": [ - { - "commandLine": "cd /projects/spring-petclinic && kubectl apply -f app4jug.yaml", - "name": "Run Kube App", - "attributes": { - "machineName": "ws/dev", - "goal": "Run" - }, - "type": "che" - }, - { - "commandLine": "cd /projects/spring-petclinic && ./mvnw package", - "name": "Build Java", - "attributes": { - "machineName": "ws/dev", - "goal": "Build" - }, - "type": "che" - }, - { - "commandLine": "cd /projects/spring-petclinic && buildah bud -t petclinic .", - "name": "Build Container Image", - "attributes": { - "machineName": "ws/dev", - "goal": "Build" - }, - "type": "che" - }, - { - "commandLine": "cd /projects/spring-petclinic && buildah push --tls-verify=false petclinic docker://$(kubectl get services -n kube-system -o jsonpath={.spec.clusterIP} registry)/mariolet/petclinic:latest", - "name": "Push Container Image", - "attributes": { - "machineName": "ws/dev", - "goal": "Build" - }, - "type": "che" - }, - { - "commandLine": "echo ${CHE_OSO_CLUSTER//api/console}", - "name": "Get OpenShift Console URL", - "attributes": {}, - "type": "custom" - } - ], - "links": [] - } -} diff --git a/test/api/replies/get-deployment-che-available.json b/test/api/replies/get-deployment-che-available.json deleted file mode 100644 index 4f3ddccd5..000000000 --- a/test/api/replies/get-deployment-che-available.json +++ /dev/null @@ -1,503 +0,0 @@ -{ - "apiVersion": "v1", - "items": [ - { - "apiVersion": "extensions/v1beta1", - "kind": "Deployment", - "metadata": { - "annotations": { - "deployment.kubernetes.io/revision": "1" - }, - "creationTimestamp": "2018-11-28T18:29:16Z", - "generation": 1, - "labels": { - "app": "che" - }, - "name": "che", - "namespace": "che", - "resourceVersion": "39649", - "selfLink": "/apis/extensions/v1beta1/namespaces/che/deployments/che", - "uid": "8371dca9-f33b-11e8-a9ee-f26345eaf352" - }, - "spec": { - "progressDeadlineSeconds": 600, - "replicas": 1, - "revisionHistoryLimit": 2, - "selector": { - "matchLabels": { - "app": "che" - } - }, - "strategy": { - "type": "Recreate" - }, - "template": { - "metadata": { - "creationTimestamp": null, - "labels": { - "app": "che" - } - }, - "spec": { - "containers": [ - { - "env": [ - { - "name": "CHE_HOST", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_HOST", - "name": "che" - } - } - }, - { - "name": "CHE_PORT", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_PORT", - "name": "che" - } - } - }, - { - "name": "CHE_API", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_API", - "name": "che" - } - } - }, - { - "name": "CHE_WEBSOCKET_ENDPOINT", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WEBSOCKET_ENDPOINT", - "name": "che" - } - } - }, - { - "name": "CHE_DEBUG_SERVER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_DEBUG_SERVER", - "name": "che" - } - } - }, - { - "name": "CHE_INFRASTRUCTURE_ACTIVE", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRASTRUCTURE_ACTIVE", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_INGRESS_DOMAIN", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_INGRESS_DOMAIN", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_MASTER__URL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_MASTER__URL", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_PVC_STRATEGY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_PVC_STRATEGY", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP", - "name": "che" - } - } - }, - { - "name": "JAVA_OPTS", - "valueFrom": { - "configMapKeyRef": { - "key": "JAVA_OPTS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TRUST__CERTS", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TRUST__CERTS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TLS__ENABLED", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TLS__ENABLED", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TLS__SECRET", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TLS__SECRET", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_NAMESPACE", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_NAMESPACE", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME", - "name": "che" - } - } - }, - { - "name": "CHE_LOCAL_CONF_DIR", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOCAL_CONF_DIR", - "name": "che" - } - } - }, - { - "name": "CHE_LOGS_DIR", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGS_DIR", - "name": "che" - } - } - }, - { - "name": "CHE_LOG_LEVEL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOG_LEVEL", - "name": "che" - } - } - }, - { - "name": "CHE_MULTIUSER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_MULTIUSER", - "name": "che" - } - } - }, - { - "name": "CHE_OAUTH_GITHUB_CLIENTID", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_OAUTH_GITHUB_CLIENTID", - "name": "che" - } - } - }, - { - "name": "CHE_OAUTH_GITHUB_CLIENTSECRET", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_OAUTH_GITHUB_CLIENTSECRET", - "name": "che" - } - } - }, - { - "name": "CHE_PREDEFINED_STACKS_RELOAD__ON__START", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_PREDEFINED_STACKS_RELOAD__ON__START", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_AUTO_START", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_AUTO_START", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON", - "name": "che" - } - } - }, - { - "name": "OPENSHIFT_KUBE_PING_NAMESPACE", - "valueFrom": { - "fieldRef": { - "apiVersion": "v1", - "fieldPath": "metadata.namespace" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_SERVER__STRATEGY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_SERVER__STRATEGY", - "name": "che" - } - } - }, - { - "name": "CHE_LOGS_APPENDERS_IMPL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGS_APPENDERS_IMPL", - "name": "che" - } - } - }, - { - "name": "CHE_LOGGER_CONFIG", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGGER_CONFIG", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_HTTP__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_HTTP__PROXY", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_HTTPS__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_HTTPS__PROXY", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_NO__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_NO__PROXY", - "name": "che" - } - } - } - ], - "image": "quay.io/eclipse/che-server:next", - "imagePullPolicy": "Always", - "livenessProbe": { - "failureThreshold": 3, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 120, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 10 - }, - "name": "che", - "ports": [ - { - "containerPort": 8080, - "name": "http", - "protocol": "TCP" - }, - { - "containerPort": 8000, - "name": "http-debug", - "protocol": "TCP" - }, - { - "containerPort": 8888, - "name": "jgroups-ping", - "protocol": "TCP" - } - ], - "readinessProbe": { - "failureThreshold": 3, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 15, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 60 - }, - "resources": { - "limits": { - "memory": "600Mi" - }, - "requests": { - "memory": "256Mi" - } - }, - "terminationMessagePath": "/dev/termination-log", - "terminationMessagePolicy": "File", - "volumeMounts": [ - { - "mountPath": "/data", - "name": "che-data-volume" - } - ] - } - ], - "dnsPolicy": "ClusterFirst", - "initContainers": [ - { - "command": [ - "chmod", - "777", - "/data" - ], - "image": "busybox", - "imagePullPolicy": "Always", - "name": "fmp-volume-permission", - "resources": {}, - "terminationMessagePath": "/dev/termination-log", - "terminationMessagePolicy": "File", - "volumeMounts": [ - { - "mountPath": "/data", - "name": "che-data-volume" - } - ] - } - ], - "restartPolicy": "Always", - "schedulerName": "default-scheduler", - "securityContext": {}, - "serviceAccount": "che", - "serviceAccountName": "che", - "terminationGracePeriodSeconds": 30, - "volumes": [ - { - "name": "che-data-volume", - "persistentVolumeClaim": { - "claimName": "che-data-volume" - } - } - ] - } - } - }, - "status": { - "availableReplicas": 1, - "conditions": [ - { - "lastTransitionTime": "2018-11-28T18:30:31Z", - "lastUpdateTime": "2018-11-28T18:30:31Z", - "message": "Deployment has minimum availability.", - "reason": "MinimumReplicasAvailable", - "status": "True", - "type": "Available" - }, - { - "lastTransitionTime": "2018-11-28T18:29:16Z", - "lastUpdateTime": "2018-11-28T18:30:31Z", - "message": "ReplicaSet \"che-84867c798c\" has successfully progressed.", - "reason": "NewReplicaSetAvailable", - "status": "True", - "type": "Progressing" - } - ], - "observedGeneration": 1, - "readyReplicas": 1, - "replicas": 1, - "updatedReplicas": 1 - } - } - ], - "kind": "List", - "metadata": { - "resourceVersion": "", - "selfLink": "" - } -} diff --git a/test/api/replies/get-deployment-che-not-existing.json b/test/api/replies/get-deployment-che-not-existing.json deleted file mode 100644 index 3da4a1bf8..000000000 --- a/test/api/replies/get-deployment-che-not-existing.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "apiVersion": "v1", - "items": [], - "kind": "List", - "metadata": { - "resourceVersion": "", - "selfLink": "" - } -} diff --git a/test/api/replies/get-deployment-che-progressing.json b/test/api/replies/get-deployment-che-progressing.json deleted file mode 100644 index 5e42f3188..000000000 --- a/test/api/replies/get-deployment-che-progressing.json +++ /dev/null @@ -1,502 +0,0 @@ -{ - "apiVersion": "v1", - "items": [ - { - "apiVersion": "extensions/v1beta1", - "kind": "Deployment", - "metadata": { - "annotations": { - "deployment.kubernetes.io/revision": "1" - }, - "creationTimestamp": "2018-11-28T18:29:16Z", - "generation": 1, - "labels": { - "app": "che" - }, - "name": "che", - "namespace": "che", - "resourceVersion": "39518", - "selfLink": "/apis/extensions/v1beta1/namespaces/che/deployments/che", - "uid": "8371dca9-f33b-11e8-a9ee-f26345eaf352" - }, - "spec": { - "progressDeadlineSeconds": 600, - "replicas": 1, - "revisionHistoryLimit": 2, - "selector": { - "matchLabels": { - "app": "che" - } - }, - "strategy": { - "type": "Recreate" - }, - "template": { - "metadata": { - "creationTimestamp": null, - "labels": { - "app": "che" - } - }, - "spec": { - "containers": [ - { - "env": [ - { - "name": "CHE_HOST", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_HOST", - "name": "che" - } - } - }, - { - "name": "CHE_PORT", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_PORT", - "name": "che" - } - } - }, - { - "name": "CHE_API", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_API", - "name": "che" - } - } - }, - { - "name": "CHE_WEBSOCKET_ENDPOINT", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WEBSOCKET_ENDPOINT", - "name": "che" - } - } - }, - { - "name": "CHE_DEBUG_SERVER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_DEBUG_SERVER", - "name": "che" - } - } - }, - { - "name": "CHE_INFRASTRUCTURE_ACTIVE", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRASTRUCTURE_ACTIVE", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_INGRESS_DOMAIN", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_INGRESS_DOMAIN", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_MASTER__URL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_MASTER__URL", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_PVC_STRATEGY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_PVC_STRATEGY", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP", - "name": "che" - } - } - }, - { - "name": "JAVA_OPTS", - "valueFrom": { - "configMapKeyRef": { - "key": "JAVA_OPTS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TRUST__CERTS", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TRUST__CERTS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TLS__ENABLED", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TLS__ENABLED", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TLS__SECRET", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TLS__SECRET", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_NAMESPACE", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_NAMESPACE", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME", - "name": "che" - } - } - }, - { - "name": "CHE_LOCAL_CONF_DIR", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOCAL_CONF_DIR", - "name": "che" - } - } - }, - { - "name": "CHE_LOGS_DIR", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGS_DIR", - "name": "che" - } - } - }, - { - "name": "CHE_LOG_LEVEL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOG_LEVEL", - "name": "che" - } - } - }, - { - "name": "CHE_MULTIUSER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_MULTIUSER", - "name": "che" - } - } - }, - { - "name": "CHE_OAUTH_GITHUB_CLIENTID", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_OAUTH_GITHUB_CLIENTID", - "name": "che" - } - } - }, - { - "name": "CHE_OAUTH_GITHUB_CLIENTSECRET", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_OAUTH_GITHUB_CLIENTSECRET", - "name": "che" - } - } - }, - { - "name": "CHE_PREDEFINED_STACKS_RELOAD__ON__START", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_PREDEFINED_STACKS_RELOAD__ON__START", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_AUTO_START", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_AUTO_START", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON", - "name": "che" - } - } - }, - { - "name": "OPENSHIFT_KUBE_PING_NAMESPACE", - "valueFrom": { - "fieldRef": { - "apiVersion": "v1", - "fieldPath": "metadata.namespace" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_SERVER__STRATEGY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_SERVER__STRATEGY", - "name": "che" - } - } - }, - { - "name": "CHE_LOGS_APPENDERS_IMPL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGS_APPENDERS_IMPL", - "name": "che" - } - } - }, - { - "name": "CHE_LOGGER_CONFIG", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGGER_CONFIG", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_HTTP__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_HTTP__PROXY", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_HTTPS__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_HTTPS__PROXY", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_NO__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_NO__PROXY", - "name": "che" - } - } - } - ], - "image": "quay.io/eclipse/che-server:next", - "imagePullPolicy": "Always", - "livenessProbe": { - "failureThreshold": 3, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 120, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 10 - }, - "name": "che", - "ports": [ - { - "containerPort": 8080, - "name": "http", - "protocol": "TCP" - }, - { - "containerPort": 8000, - "name": "http-debug", - "protocol": "TCP" - }, - { - "containerPort": 8888, - "name": "jgroups-ping", - "protocol": "TCP" - } - ], - "readinessProbe": { - "failureThreshold": 3, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 15, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 60 - }, - "resources": { - "limits": { - "memory": "600Mi" - }, - "requests": { - "memory": "256Mi" - } - }, - "terminationMessagePath": "/dev/termination-log", - "terminationMessagePolicy": "File", - "volumeMounts": [ - { - "mountPath": "/data", - "name": "che-data-volume" - } - ] - } - ], - "dnsPolicy": "ClusterFirst", - "initContainers": [ - { - "command": [ - "chmod", - "777", - "/data" - ], - "image": "busybox", - "imagePullPolicy": "Always", - "name": "fmp-volume-permission", - "resources": {}, - "terminationMessagePath": "/dev/termination-log", - "terminationMessagePolicy": "File", - "volumeMounts": [ - { - "mountPath": "/data", - "name": "che-data-volume" - } - ] - } - ], - "restartPolicy": "Always", - "schedulerName": "default-scheduler", - "securityContext": {}, - "serviceAccount": "che", - "serviceAccountName": "che", - "terminationGracePeriodSeconds": 30, - "volumes": [ - { - "name": "che-data-volume", - "persistentVolumeClaim": { - "claimName": "che-data-volume" - } - } - ] - } - } - }, - "status": { - "conditions": [ - { - "lastTransitionTime": "2018-11-28T18:29:17Z", - "lastUpdateTime": "2018-11-28T18:29:17Z", - "message": "Deployment does not have minimum availability.", - "reason": "MinimumReplicasUnavailable", - "status": "False", - "type": "Available" - }, - { - "lastTransitionTime": "2018-11-28T18:29:16Z", - "lastUpdateTime": "2018-11-28T18:29:17Z", - "message": "ReplicaSet \"che-84867c798c\" is progressing.", - "reason": "ReplicaSetUpdated", - "status": "True", - "type": "Progressing" - } - ], - "observedGeneration": 1, - "replicas": 1, - "unavailableReplicas": 1, - "updatedReplicas": 1 - } - } - ], - "kind": "List", - "metadata": { - "resourceVersion": "", - "selfLink": "" - } -} diff --git a/test/api/replies/get-deployment-che-running.json b/test/api/replies/get-deployment-che-running.json deleted file mode 100644 index e01dad6e0..000000000 --- a/test/api/replies/get-deployment-che-running.json +++ /dev/null @@ -1,502 +0,0 @@ -{ - "apiVersion": "v1", - "items": [ - { - "apiVersion": "extensions/v1beta1", - "kind": "Deployment", - "metadata": { - "annotations": { - "deployment.kubernetes.io/revision": "1" - }, - "creationTimestamp": "2018-11-27T11:15:41Z", - "generation": 1, - "labels": { - "app": "che" - }, - "name": "che", - "namespace": "che", - "resourceVersion": "31665", - "selfLink": "/apis/extensions/v1beta1/namespaces/che/deployments/che", - "uid": "c6be187d-f235-11e8-b923-f26345eaf352" - }, - "spec": { - "progressDeadlineSeconds": 600, - "replicas": 1, - "revisionHistoryLimit": 2, - "selector": { - "matchLabels": { - "app": "che" - } - }, - "strategy": { - "type": "Recreate" - }, - "template": { - "metadata": { - "creationTimestamp": null, - "labels": { - "app": "che" - } - }, - "spec": { - "containers": [ - { - "env": [ - { - "name": "CHE_HOST", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_HOST", - "name": "che" - } - } - }, - { - "name": "CHE_PORT", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_PORT", - "name": "che" - } - } - }, - { - "name": "CHE_API", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_API", - "name": "che" - } - } - }, - { - "name": "CHE_WEBSOCKET_ENDPOINT", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WEBSOCKET_ENDPOINT", - "name": "che" - } - } - }, - { - "name": "CHE_DEBUG_SERVER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_DEBUG_SERVER", - "name": "che" - } - } - }, - { - "name": "CHE_INFRASTRUCTURE_ACTIVE", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRASTRUCTURE_ACTIVE", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_INGRESS_DOMAIN", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_INGRESS_DOMAIN", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_MASTER__URL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_MASTER__URL", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_PVC_STRATEGY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_PVC_STRATEGY", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP", - "name": "che" - } - } - }, - { - "name": "JAVA_OPTS", - "valueFrom": { - "configMapKeyRef": { - "key": "JAVA_OPTS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TRUST__CERTS", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TRUST__CERTS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TLS__ENABLED", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TLS__ENABLED", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TLS__SECRET", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TLS__SECRET", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_NAMESPACE", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_NAMESPACE", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME", - "name": "che" - } - } - }, - { - "name": "CHE_LOCAL_CONF_DIR", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOCAL_CONF_DIR", - "name": "che" - } - } - }, - { - "name": "CHE_LOGS_DIR", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGS_DIR", - "name": "che" - } - } - }, - { - "name": "CHE_LOG_LEVEL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOG_LEVEL", - "name": "che" - } - } - }, - { - "name": "CHE_MULTIUSER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_MULTIUSER", - "name": "che" - } - } - }, - { - "name": "CHE_OAUTH_GITHUB_CLIENTID", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_OAUTH_GITHUB_CLIENTID", - "name": "che" - } - } - }, - { - "name": "CHE_OAUTH_GITHUB_CLIENTSECRET", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_OAUTH_GITHUB_CLIENTSECRET", - "name": "che" - } - } - }, - { - "name": "CHE_PREDEFINED_STACKS_RELOAD__ON__START", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_PREDEFINED_STACKS_RELOAD__ON__START", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_AUTO_START", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_AUTO_START", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON", - "name": "che" - } - } - }, - { - "name": "OPENSHIFT_KUBE_PING_NAMESPACE", - "valueFrom": { - "fieldRef": { - "apiVersion": "v1", - "fieldPath": "metadata.namespace" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_SERVER__STRATEGY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_SERVER__STRATEGY", - "name": "che" - } - } - }, - { - "name": "CHE_LOGS_APPENDERS_IMPL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGS_APPENDERS_IMPL", - "name": "che" - } - } - }, - { - "name": "CHE_LOGGER_CONFIG", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGGER_CONFIG", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_HTTP__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_HTTP__PROXY", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_HTTPS__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_HTTPS__PROXY", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_NO__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_NO__PROXY", - "name": "che" - } - } - } - ], - "image": "quay.io/eclipse/che-server:next", - "imagePullPolicy": "Always", - "livenessProbe": { - "failureThreshold": 3, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 120, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 10 - }, - "name": "che", - "ports": [ - { - "containerPort": 8080, - "name": "http", - "protocol": "TCP" - }, - { - "containerPort": 8000, - "name": "http-debug", - "protocol": "TCP" - }, - { - "containerPort": 8888, - "name": "jgroups-ping", - "protocol": "TCP" - } - ], - "readinessProbe": { - "failureThreshold": 3, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 15, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 60 - }, - "resources": { - "limits": { - "memory": "600Mi" - }, - "requests": { - "memory": "256Mi" - } - }, - "terminationMessagePath": "/dev/termination-log", - "terminationMessagePolicy": "File", - "volumeMounts": [ - { - "mountPath": "/data", - "name": "che-data-volume" - } - ] - } - ], - "dnsPolicy": "ClusterFirst", - "initContainers": [ - { - "command": [ - "chmod", - "777", - "/data" - ], - "image": "busybox", - "imagePullPolicy": "Always", - "name": "fmp-volume-permission", - "resources": {}, - "terminationMessagePath": "/dev/termination-log", - "terminationMessagePolicy": "File", - "volumeMounts": [ - { - "mountPath": "/data", - "name": "che-data-volume" - } - ] - } - ], - "restartPolicy": "Always", - "schedulerName": "default-scheduler", - "securityContext": {}, - "serviceAccount": "che", - "serviceAccountName": "che", - "terminationGracePeriodSeconds": 30, - "volumes": [ - { - "name": "che-data-volume", - "persistentVolumeClaim": { - "claimName": "che-data-volume" - } - } - ] - } - } - }, - "status": { - "conditions": [ - { - "lastTransitionTime": "2018-11-27T11:35:15Z", - "lastUpdateTime": "2018-11-27T11:35:15Z", - "message": "ReplicaSet \"che-84867c798c\" has successfully progressed.", - "reason": "NewReplicaSetAvailable", - "status": "True", - "type": "Progressing" - }, - { - "lastTransitionTime": "2018-11-28T16:53:14Z", - "lastUpdateTime": "2018-11-28T16:53:14Z", - "message": "Deployment does not have minimum availability.", - "reason": "MinimumReplicasUnavailable", - "status": "False", - "type": "Available" - } - ], - "observedGeneration": 1, - "replicas": 1, - "unavailableReplicas": 1, - "updatedReplicas": 1 - } - } - ], - "kind": "List", - "metadata": { - "resourceVersion": "", - "selfLink": "" - } -} diff --git a/test/api/replies/get-keycloak-settings.json b/test/api/replies/get-keycloak-settings.json deleted file mode 100644 index 1069fdadb..000000000 --- a/test/api/replies/get-keycloak-settings.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "che.keycloak.token.endpoint": "https://auth.openshift.io/api/token", - "che.keycloak.userinfo.endpoint": "https://auth.openshift.io/api/userinfo", - "che.keycloak.oidc_provider": "https://auth.openshift.io/api", - "che.keycloak.github.endpoint": "https://auth.openshift.io/api/token?for=https://github.com", - "che.keycloak.client_id": "740650a2-9c44-4db5-b067-a3d1b2cd2d01", - "che.keycloak.username_claim": "preferred_username", - "che.keycloak.logout.endpoint": "https://auth.openshift.io/api/logout", - "che.keycloak.jwks.endpoint": "https://auth.openshift.io/api/token/keys", - "che.keycloak.js_adapter_url": "/api/fabric8-end2end/files/RhCheKeycloak.js", - "che.keycloak.use_nonce": "false" - } \ No newline at end of file diff --git a/test/api/replies/get-pod-by-selector-not-existing.json b/test/api/replies/get-pod-by-selector-not-existing.json deleted file mode 100644 index 1c318dacd..000000000 --- a/test/api/replies/get-pod-by-selector-not-existing.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "apiVersion": "v1", - "items": [], - "kind": "List", - "metadata": { - "resourceVersion": "", - "selfLink": "" - } -} diff --git a/test/api/replies/get-pod-by-selector-pending.json b/test/api/replies/get-pod-by-selector-pending.json deleted file mode 100644 index c072f58a7..000000000 --- a/test/api/replies/get-pod-by-selector-pending.json +++ /dev/null @@ -1,215 +0,0 @@ -{ - "apiVersion": "v1", - "items": [ - { - "apiVersion": "v1", - "kind": "Pod", - "metadata": { - "creationTimestamp": "2019-02-21T03:42:46Z", - "generateName": "che-767d8894b5-", - "labels": { - "app": "che", - "pod-template-hash": "767d8894b5" - }, - "name": "che-767d8894b5-7dd6k", - "namespace": "che", - "ownerReferences": [ - { - "apiVersion": "apps/v1", - "blockOwnerDeletion": true, - "controller": true, - "kind": "ReplicaSet", - "name": "che-767d8894b5", - "uid": "c04ff45d-358a-11e9-90f7-080027c5f56d" - } - ], - "resourceVersion": "228407", - "selfLink": "/api/v1/namespaces/che/pods/che-767d8894b5-7dd6k", - "uid": "c0550480-358a-11e9-90f7-080027c5f56d" - }, - "spec": { - "containers": [ - { - "env": [ - { - "name": "OPENSHIFT_KUBE_PING_NAMESPACE", - "valueFrom": { - "fieldRef": { - "apiVersion": "v1", - "fieldPath": "metadata.namespace" - } - } - }, - { - "name": "CHE_SELF__SIGNED__CERT", - "valueFrom": { - "secretKeyRef": { - "key": "ca.crt", - "name": "self-signed-certificate", - "optional": true - } - } - } - ], - "envFrom": [ - { - "configMapRef": { - "name": "che" - } - } - ], - "image": "quay.io/eclipse/che-server:latest", - "imagePullPolicy": "IfNotPresent", - "livenessProbe": { - "failureThreshold": 3, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 50, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 3 - }, - "name": "che", - "ports": [ - { - "containerPort": 8080, - "name": "http", - "protocol": "TCP" - }, - { - "containerPort": 8000, - "name": "http-debug", - "protocol": "TCP" - }, - { - "containerPort": 8888, - "name": "jgroups-ping", - "protocol": "TCP" - } - ], - "readinessProbe": { - "failureThreshold": 5, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 25, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 5 - }, - "resources": { - "limits": { - "memory": "1Gi" - }, - "requests": { - "memory": "512Mi" - } - }, - "terminationMessagePath": "/dev/termination-log", - "terminationMessagePolicy": "File", - "volumeMounts": [ - { - "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", - "name": "che-token-742ln", - "readOnly": true - } - ] - } - ], - "dnsPolicy": "ClusterFirst", - "nodeName": "minikube", - "priority": 0, - "restartPolicy": "Always", - "schedulerName": "default-scheduler", - "securityContext": {}, - "serviceAccount": "che", - "serviceAccountName": "che", - "terminationGracePeriodSeconds": 30, - "tolerations": [ - { - "effect": "NoExecute", - "key": "node.kubernetes.io/not-ready", - "operator": "Exists", - "tolerationSeconds": 300 - }, - { - "effect": "NoExecute", - "key": "node.kubernetes.io/unreachable", - "operator": "Exists", - "tolerationSeconds": 300 - } - ], - "volumes": [ - { - "name": "che-token-742ln", - "secret": { - "defaultMode": 420, - "secretName": "che-token-742ln" - } - } - ] - }, - "status": { - "conditions": [ - { - "lastProbeTime": null, - "lastTransitionTime": "2019-02-21T03:42:46Z", - "status": "True", - "type": "Initialized" - }, - { - "lastProbeTime": null, - "lastTransitionTime": "2019-02-21T03:42:46Z", - "message": "containers with unready status: [che]", - "reason": "ContainersNotReady", - "status": "False", - "type": "Ready" - }, - { - "lastProbeTime": null, - "lastTransitionTime": "2019-02-21T03:42:46Z", - "message": "containers with unready status: [che]", - "reason": "ContainersNotReady", - "status": "False", - "type": "ContainersReady" - }, - { - "lastProbeTime": null, - "lastTransitionTime": "2019-02-21T03:42:46Z", - "status": "True", - "type": "PodScheduled" - } - ], - "containerStatuses": [ - { - "image": "quay.io/eclipse/che-server:latest", - "imageID": "", - "lastState": {}, - "name": "che", - "ready": false, - "restartCount": 0, - "state": { - "waiting": { - "reason": "ContainerCreating" - } - } - } - ], - "hostIP": "10.0.2.15", - "phase": "Pending", - "qosClass": "Burstable", - "startTime": "2019-02-21T03:42:46Z" - } - } - ], - "kind": "List", - "metadata": { - "resourceVersion": "", - "selfLink": "" - } -} \ No newline at end of file diff --git a/test/api/replies/get-pod-by-selector-ready.json b/test/api/replies/get-pod-by-selector-ready.json deleted file mode 100644 index 1bf6cface..000000000 --- a/test/api/replies/get-pod-by-selector-ready.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "apiVersion": "v1", - "items": [ - { - "apiVersion": "v1", - "kind": "Pod", - "metadata": { - "creationTimestamp": "2019-02-21T03:42:46Z", - "generateName": "che-767d8894b5-", - "labels": { - "app": "che", - "pod-template-hash": "767d8894b5" - }, - "name": "che-767d8894b5-7dd6k", - "namespace": "che", - "ownerReferences": [ - { - "apiVersion": "apps/v1", - "blockOwnerDeletion": true, - "controller": true, - "kind": "ReplicaSet", - "name": "che-767d8894b5", - "uid": "c04ff45d-358a-11e9-90f7-080027c5f56d" - } - ], - "resourceVersion": "228646", - "selfLink": "/api/v1/namespaces/che/pods/che-767d8894b5-7dd6k", - "uid": "c0550480-358a-11e9-90f7-080027c5f56d" - }, - "spec": { - "containers": [ - { - "env": [ - { - "name": "OPENSHIFT_KUBE_PING_NAMESPACE", - "valueFrom": { - "fieldRef": { - "apiVersion": "v1", - "fieldPath": "metadata.namespace" - } - } - }, - { - "name": "CHE_SELF__SIGNED__CERT", - "valueFrom": { - "secretKeyRef": { - "key": "ca.crt", - "name": "self-signed-certificate", - "optional": true - } - } - } - ], - "envFrom": [ - { - "configMapRef": { - "name": "che" - } - } - ], - "image": "quay.io/eclipse/che-server:latest", - "imagePullPolicy": "IfNotPresent", - "livenessProbe": { - "failureThreshold": 3, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 50, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 3 - }, - "name": "che", - "ports": [ - { - "containerPort": 8080, - "name": "http", - "protocol": "TCP" - }, - { - "containerPort": 8000, - "name": "http-debug", - "protocol": "TCP" - }, - { - "containerPort": 8888, - "name": "jgroups-ping", - "protocol": "TCP" - } - ], - "readinessProbe": { - "failureThreshold": 5, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 25, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 5 - }, - "resources": { - "limits": { - "memory": "1Gi" - }, - "requests": { - "memory": "512Mi" - } - }, - "terminationMessagePath": "/dev/termination-log", - "terminationMessagePolicy": "File", - "volumeMounts": [ - { - "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", - "name": "che-token-742ln", - "readOnly": true - } - ] - } - ], - "dnsPolicy": "ClusterFirst", - "nodeName": "minikube", - "priority": 0, - "restartPolicy": "Always", - "schedulerName": "default-scheduler", - "securityContext": {}, - "serviceAccount": "che", - "serviceAccountName": "che", - "terminationGracePeriodSeconds": 30, - "tolerations": [ - { - "effect": "NoExecute", - "key": "node.kubernetes.io/not-ready", - "operator": "Exists", - "tolerationSeconds": 300 - }, - { - "effect": "NoExecute", - "key": "node.kubernetes.io/unreachable", - "operator": "Exists", - "tolerationSeconds": 300 - } - ], - "volumes": [ - { - "name": "che-token-742ln", - "secret": { - "defaultMode": 420, - "secretName": "che-token-742ln" - } - } - ] - }, - "status": { - "conditions": [ - { - "lastProbeTime": null, - "lastTransitionTime": "2019-02-21T03:42:46Z", - "status": "True", - "type": "Initialized" - }, - { - "lastProbeTime": null, - "lastTransitionTime": "2019-02-21T03:45:49Z", - "status": "True", - "type": "Ready" - }, - { - "lastProbeTime": null, - "lastTransitionTime": "2019-02-21T03:45:49Z", - "status": "True", - "type": "ContainersReady" - }, - { - "lastProbeTime": null, - "lastTransitionTime": "2019-02-21T03:42:46Z", - "status": "True", - "type": "PodScheduled" - } - ], - "containerStatuses": [ - { - "containerID": "docker://11f7e7b94950e95c5897ddcd088e22c805d8dd4a935fc8480bda6c0af38d6536", - "image": "quay.io/eclipse/che-server:latest", - "imageID": "docker-pullable://quay.io/eclipse/che-server@sha256:eb83b0a66eeae6dac20d196917a027e2b1430834386cbd04326009896fa574f7", - "lastState": {}, - "name": "che", - "ready": true, - "restartCount": 0, - "state": { - "running": { - "startedAt": "2019-02-21T03:45:16Z" - } - } - } - ], - "hostIP": "10.0.2.15", - "phase": "Running", - "podIP": "172.17.0.10", - "qosClass": "Burstable", - "startTime": "2019-02-21T03:42:46Z" - } - } - ], - "kind": "List", - "metadata": { - "resourceVersion": "", - "selfLink": "" - } -} \ No newline at end of file diff --git a/test/api/replies/get-pods-che-running.json b/test/api/replies/get-pods-che-running.json deleted file mode 100644 index 51c262961..000000000 --- a/test/api/replies/get-pods-che-running.json +++ /dev/null @@ -1,575 +0,0 @@ -{ - "apiVersion": "v1", - "items": [ - { - "apiVersion": "v1", - "kind": "Pod", - "metadata": { - "creationTimestamp": "2018-11-27T11:15:41Z", - "generateName": "che-84867c798c-", - "labels": { - "app": "che", - "pod-template-hash": "4042373547" - }, - "name": "che-84867c798c-8dgkm", - "namespace": "che", - "ownerReferences": [ - { - "apiVersion": "apps/v1", - "blockOwnerDeletion": true, - "controller": true, - "kind": "ReplicaSet", - "name": "che-84867c798c", - "uid": "c6cf5f8d-f235-11e8-b923-f26345eaf352" - } - ], - "resourceVersion": "25877", - "selfLink": "/api/v1/namespaces/che/pods/che-84867c798c-8dgkm", - "uid": "c6e36312-f235-11e8-b923-f26345eaf352" - }, - "spec": { - "containers": [ - { - "env": [ - { - "name": "CHE_HOST", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_HOST", - "name": "che" - } - } - }, - { - "name": "CHE_PORT", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_PORT", - "name": "che" - } - } - }, - { - "name": "CHE_API", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_API", - "name": "che" - } - } - }, - { - "name": "CHE_WEBSOCKET_ENDPOINT", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WEBSOCKET_ENDPOINT", - "name": "che" - } - } - }, - { - "name": "CHE_DEBUG_SERVER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_DEBUG_SERVER", - "name": "che" - } - } - }, - { - "name": "CHE_INFRASTRUCTURE_ACTIVE", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRASTRUCTURE_ACTIVE", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_INGRESS_DOMAIN", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_INGRESS_DOMAIN", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_BOOTSTRAPPER_BINARY__URL", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_MACHINE__START__TIMEOUT__MIN", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_MASTER__URL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_MASTER__URL", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_PVC_STRATEGY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_PVC_STRATEGY", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_RUN__AS__USER", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_POD_SECURITY__CONTEXT_FS__GROUP", - "name": "che" - } - } - }, - { - "name": "JAVA_OPTS", - "valueFrom": { - "configMapKeyRef": { - "key": "JAVA_OPTS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TRUST__CERTS", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TRUST__CERTS", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TLS__ENABLED", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TLS__ENABLED", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_TLS__SECRET", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_TLS__SECRET", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_NAMESPACE", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_NAMESPACE", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME", - "name": "che" - } - } - }, - { - "name": "CHE_LOCAL_CONF_DIR", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOCAL_CONF_DIR", - "name": "che" - } - } - }, - { - "name": "CHE_LOGS_DIR", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGS_DIR", - "name": "che" - } - } - }, - { - "name": "CHE_LOG_LEVEL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOG_LEVEL", - "name": "che" - } - } - }, - { - "name": "CHE_MULTIUSER", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_MULTIUSER", - "name": "che" - } - } - }, - { - "name": "CHE_OAUTH_GITHUB_CLIENTID", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_OAUTH_GITHUB_CLIENTID", - "name": "che" - } - } - }, - { - "name": "CHE_OAUTH_GITHUB_CLIENTSECRET", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_OAUTH_GITHUB_CLIENTSECRET", - "name": "che" - } - } - }, - { - "name": "CHE_PREDEFINED_STACKS_RELOAD__ON__START", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_PREDEFINED_STACKS_RELOAD__ON__START", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_AUTO_START", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_AUTO_START", - "name": "che" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_INGRESS_ANNOTATIONS__JSON", - "name": "che" - } - } - }, - { - "name": "OPENSHIFT_KUBE_PING_NAMESPACE", - "valueFrom": { - "fieldRef": { - "apiVersion": "v1", - "fieldPath": "metadata.namespace" - } - } - }, - { - "name": "CHE_INFRA_KUBERNETES_SERVER__STRATEGY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_INFRA_KUBERNETES_SERVER__STRATEGY", - "name": "che" - } - } - }, - { - "name": "CHE_LOGS_APPENDERS_IMPL", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGS_APPENDERS_IMPL", - "name": "che" - } - } - }, - { - "name": "CHE_LOGGER_CONFIG", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_LOGGER_CONFIG", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_HTTP__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_HTTP__PROXY", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_HTTPS__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_HTTPS__PROXY", - "name": "che" - } - } - }, - { - "name": "CHE_WORKSPACE_NO__PROXY", - "valueFrom": { - "configMapKeyRef": { - "key": "CHE_WORKSPACE_NO__PROXY", - "name": "che" - } - } - } - ], - "image": "quay.io/eclipse/che-server:next", - "imagePullPolicy": "Always", - "livenessProbe": { - "failureThreshold": 3, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 120, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 10 - }, - "name": "che", - "ports": [ - { - "containerPort": 8080, - "name": "http", - "protocol": "TCP" - }, - { - "containerPort": 8000, - "name": "http-debug", - "protocol": "TCP" - }, - { - "containerPort": 8888, - "name": "jgroups-ping", - "protocol": "TCP" - } - ], - "readinessProbe": { - "failureThreshold": 3, - "httpGet": { - "path": "/api/system/state", - "port": 8080, - "scheme": "HTTP" - }, - "initialDelaySeconds": 15, - "periodSeconds": 10, - "successThreshold": 1, - "timeoutSeconds": 60 - }, - "resources": { - "limits": { - "memory": "600Mi" - }, - "requests": { - "memory": "256Mi" - } - }, - "terminationMessagePath": "/dev/termination-log", - "terminationMessagePolicy": "File", - "volumeMounts": [ - { - "mountPath": "/data", - "name": "che-data-volume" - }, - { - "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", - "name": "che-token-r5lzw", - "readOnly": true - } - ] - } - ], - "dnsPolicy": "ClusterFirst", - "initContainers": [ - { - "command": [ - "chmod", - "777", - "/data" - ], - "image": "busybox", - "imagePullPolicy": "Always", - "name": "fmp-volume-permission", - "resources": {}, - "terminationMessagePath": "/dev/termination-log", - "terminationMessagePolicy": "File", - "volumeMounts": [ - { - "mountPath": "/data", - "name": "che-data-volume" - }, - { - "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", - "name": "che-token-r5lzw", - "readOnly": true - } - ] - } - ], - "nodeName": "minikube", - "priority": 0, - "restartPolicy": "Always", - "schedulerName": "default-scheduler", - "securityContext": {}, - "serviceAccount": "che", - "serviceAccountName": "che", - "terminationGracePeriodSeconds": 30, - "tolerations": [ - { - "effect": "NoExecute", - "key": "node.kubernetes.io/not-ready", - "operator": "Exists", - "tolerationSeconds": 300 - }, - { - "effect": "NoExecute", - "key": "node.kubernetes.io/unreachable", - "operator": "Exists", - "tolerationSeconds": 300 - } - ], - "volumes": [ - { - "name": "che-data-volume", - "persistentVolumeClaim": { - "claimName": "che-data-volume" - } - }, - { - "name": "che-token-r5lzw", - "secret": { - "defaultMode": 420, - "secretName": "che-token-r5lzw" - } - } - ] - }, - "status": { - "conditions": [ - { - "lastProbeTime": null, - "lastTransitionTime": "2018-11-27T11:15:52Z", - "status": "True", - "type": "Initialized" - }, - { - "lastProbeTime": null, - "lastTransitionTime": "2018-11-28T13:25:25Z", - "status": "True", - "type": "Ready" - }, - { - "lastProbeTime": null, - "lastTransitionTime": null, - "status": "True", - "type": "ContainersReady" - }, - { - "lastProbeTime": null, - "lastTransitionTime": "2018-11-27T11:15:42Z", - "status": "True", - "type": "PodScheduled" - } - ], - "containerStatuses": [ - { - "containerID": "docker://b9d083b708db25137a18489ee28e5ce58bde2a8bf951a28618ba83b9983c65dd", - "image": "quay.io/eclipse/che-server:next", - "imageID": "docker-pullable://quay.io/eclipse/che-server@sha256:e756e822cfdb867524b47998cd02c1f3525eaea9b9e705aab92c055b1ee3d121", - "lastState": { - "terminated": { - "containerID": "docker://dbe9f24afd2043d4315726c106a27d072ae9450ff812eb86338b00deb3f1b8d3", - "exitCode": 137, - "finishedAt": "2018-11-28T13:19:40Z", - "reason": "Error", - "startedAt": "2018-11-28T13:16:37Z" - } - }, - "name": "che", - "ready": true, - "restartCount": 20, - "state": { - "running": { - "startedAt": "2018-11-28T13:24:50Z" - } - } - } - ], - "hostIP": "192.168.64.34", - "initContainerStatuses": [ - { - "containerID": "docker://25d62bde8be7e481e8827924faef9275b1a9f275f37ca82ba7324aa113074971", - "image": "busybox:latest", - "imageID": "docker-pullable://busybox@sha256:2a03a6059f21e150ae84b0973863609494aad70f0a80eaeb64bddd8d92465812", - "lastState": {}, - "name": "fmp-volume-permission", - "ready": true, - "restartCount": 2, - "state": { - "terminated": { - "containerID": "docker://25d62bde8be7e481e8827924faef9275b1a9f275f37ca82ba7324aa113074971", - "exitCode": 0, - "finishedAt": "2018-11-28T11:51:51Z", - "reason": "Completed", - "startedAt": "2018-11-28T11:51:51Z" - } - } - } - ], - "phase": "Running", - "podIP": "172.17.0.7", - "qosClass": "Burstable", - "startTime": "2018-11-27T11:15:42Z" - } - } - ], - "kind": "List", - "metadata": { - "resourceVersion": "", - "selfLink": "" - } -} diff --git a/test/api/requests/devfile.invalid b/test/api/requests/devfile.invalid deleted file mode 100644 index ac635c17b..000000000 --- a/test/api/requests/devfile.invalid +++ /dev/null @@ -1,27 +0,0 @@ -version: 0.0.1 -name: chectl -projects: - - name: chectl - source: - type: git - location: 'git@github.com:che-incubator/chectl.git' -tools: - - alias: theia-ide - type: cheEditor - id: eclipse/che-theia/1.0.0 - - alias: exec-plugin - type: chePlugin - id: eclipse/che-machine-exec-plugin/0.0.1 -commands: - - name: build - actions: - - type: exec - tool: theia-ide - command: yarn - workdir: /projects/chectl - - name: test - actions: - - type: exec - tool: theia-ide - command: yarn test - workdir: /projects/chectl diff --git a/test/api/requests/devfile.valid b/test/api/requests/devfile.valid deleted file mode 100644 index 6eff6e54b..000000000 --- a/test/api/requests/devfile.valid +++ /dev/null @@ -1,28 +0,0 @@ -apiVersion: 1.0.0 -metadata: - name: chectl -projects: - - name: chectl - source: - type: git - location: 'git@github.com:che-incubator/chectl.git' -tools: - - alias: theia-ide - type: cheEditor - id: eclipse/che-theia/1.0.0 - - alias: exec-plugin - type: chePlugin - id: eclipse/che-machine-exec-plugin/0.0.1 -commands: - - name: build - actions: - - type: exec - tool: theia-ide - command: yarn - workdir: /projects/chectl - - name: test - actions: - - type: exec - tool: theia-ide - command: yarn test - workdir: /projects/chectl diff --git a/test/api/requests/workspaceconfig.valid b/test/api/requests/workspaceconfig.valid deleted file mode 100644 index 7a50db52b..000000000 --- a/test/api/requests/workspaceconfig.valid +++ /dev/null @@ -1,96 +0,0 @@ -{ - "environments": { - "default": { - "recipe": { - "contentType": "application/x-yaml", - "type": "kubernetes", - "content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n - \n image: mariolet/che-plugin-dev-tooling:jug\n name: dev\n resources:\n limits:\n memory: 512Mi\n" - }, - "machines": { - "ws/dev": { - "env": { - "": "" - }, - "installers": [], - "servers": {}, - "volumes": { - "projects": { - "path": "/projects" - } - }, - "attributes": { - "memoryLimitBytes": "536870912" - } - } - } - } - }, - "commands": [ - { - "commandLine": "cd /projects/spring-petclinic && kubectl apply -f app4jug.yaml", - "name": "Run Kube App", - "type": "che", - "attributes": { - "machineName": "ws/dev", - "goal": "Run" - } - }, - { - "commandLine": "cd /projects/spring-petclinic && ./mvnw package", - "name": "Build Java", - "type": "che", - "attributes": { - "machineName": "ws/dev", - "goal": "Build" - } - }, - { - "commandLine": "cd /projects/spring-petclinic && buildah bud -t petclinic .", - "name": "Build Container Image", - "type": "che", - "attributes": { - "machineName": "ws/dev", - "goal": "Build" - } - }, - { - "commandLine": "cd /projects/spring-petclinic && buildah push --tls-verify=false petclinic docker://$(kubectl get services -n kube-system -o jsonpath={.spec.clusterIP} registry)/mariolet/petclinic:latest", - "name": "Push Container Image", - "type": "che", - "attributes": { - "machineName": "ws/dev", - "goal": "Build" - } - }, - { - "commandLine": "echo ${CHE_OSO_CLUSTER//api/console}", - "name": "Get OpenShift Console URL", - "type": "custom", - "attributes": {} - } - ], - "projects": [ - { - "source": { - "location": "https://github.com/sleshchenko/spring-petclinic.git", - "type": "git", - "parameters": {} - }, - "links": [], - "description": "", - "problems": [], - "mixins": [], - "name": "spring-petclinic", - "path": "/spring-petclinic", - "attributes": {} - } - ], - "defaultEnv": "default", - "name": "inner-loop-buildah", - "attributes": { - "editor": "eclipse/che-theia/1.0.0", - "plugins": "eclipse/che-machine-exec-plugin/0.0.1", - "sidecar.eclipse/che-theia.memory_limit": "512Mi" - }, - "links": [] -} diff --git a/test/api/requests/workspaceconfig.valid2 b/test/api/requests/workspaceconfig.valid2 deleted file mode 100644 index 876fe7f83..000000000 --- a/test/api/requests/workspaceconfig.valid2 +++ /dev/null @@ -1,50 +0,0 @@ -{ - "defaultEnv": "default", - "environments": { - "default": { - "machines": { - "ws/dev": { - "attributes": { - "memoryLimitBytes": "536870912" - }, - "servers": {}, - "volumes": { - "projects": { - "path": "/projects" - } - }, - "installers": [], - "env": {} - } - }, - "recipe": { - "type": "kubernetes", - "content": "kind: List\nitems:\n - \n apiVersion: v1\n kind: Pod\n metadata:\n name: ws\n spec:\n containers:\n - \n image: wsskeleton/che-plugin-dev-tooling\n name: dev\n resources:\n limits:\n memory: 512Mi\n", - "contentType": "application/x-yaml" - } - } - }, - "projects": [ - { - "links": [], - "name": "Hands-On-Docker-for-Developers", - "attributes": {}, - "source": { - "location": "https://github.com/PacktPublishing/Hands-On-Docker-for-Developers.git", - "type": "git", - "parameters": {} - }, - "path": "/Hands-On-Docker-for-Developers", - "description": "", - "mixins": [], - "problems": [] - } - ], - "name": "docker-hands-on", - "attributes": { - "editor": "eclipse/che-theia/1.0.0", - "plugins": "eclipse/che-machine-exec-plugin/0.0.1" - }, - "commands": [], - "links": [] -}