Build Spring Cloud Data Flow

Build: #2417 was successful Rebuilt by Ilayaperumal Gopinathan

Stages & jobs

  1. Default Stage

  2. Build Docker Images and upload

Build result summary

Details

Completed
Duration
11 minutes
Labels
None
Revision
8660e411962f7079185000601f3d34a6118c7e9e 8660e411962f7079185000601f3d34a6118c7e9e
Total tests
780
Successful since
#2415 ()
Number of retries
2

Tests

Code commits

Author Commit Message Commit date
Mark Pollack Mark Pollack 8660e411962f7079185000601f3d34a6118c7e9e 8660e411962f7079185000601f3d34a6118c7e9e Add k8s and CF TaskLaunchers into a single server implementation
- Renamed spring-cloud-dataflow-server-local to spring-cloud-dataflow-server
- Two new maven modules that define platform releated Beans
- Disabled CF security until update to boot 2.1 + security is completed
- Default version of local task deployer is created only if no other task deployers defined
- Add k8s yml files from scdf-server-kubernetes repo

Note

- TaskExecutionControllerTests is failing from the maven build - not in IDE, don't know why
- Used a 'local' profile logback-scdf-local.xml to avoid local file logging on cloud platforms

Limitations

- Can only configure a single deployer per platform and it needs to be named 'default'

Tested on CF using the following manifest, did not test on K8s.  I believe one can't use the format

to specify the accounts, to used SPRING_APPLICATION_JSON

```
applications:
- name: mlp-dataflow-server
  memory: 1G
  disk_quota: 2G
  buildpack: java_buildpack_offline
  timeout: 180
  path: ./spring-cloud-dataflow-server-2.0.0.BUILD-SNAPSHOT.jar
  services:
    - mysql
  env:
    SPRING_APPLICATION_NAME: data-flow-server
    SPRING_APPLICATION_JSON: '{ "maven": { "remote-repositories": { "repo1": { "url": "https://repo.spring.io/libs-snapshot" } } }, "spring": { "cloud": { "dataflow": { "task": { "platform": { "cloudfoundry": { "accounts": { "default": { "connection": { "url": "https://api.sys.huron.cf-app.com", "org": "mpollack", "space": "test", "domain": "app.huron.cf-app.com", "username": "***", "password": "****", "skipSslValidation": true }, "deployment": { "memory": "2048m", "disk": "2048m", "services": "mysql", "deleteRoutes": false } } } } } } } } } }'
    SPRING_CLOUD_DEPLOYER_CLOUDFOUNDRY_TASK_API_TIMEOUT: 300
    SPRING_CLOUD_DEPLOYER_CLOUDFOUNDRY_TASK_SERVICES: mysql
    TRUST_CERTS: api.sys.huron.cf-app.com
    SPRING_CLOUD_SKIPPER_CLIENT_SERVER_URI: http://localhost:7577/api
    SPRING_CLOUD_DATAFLOW_APPLICATIONPROPERTIES_STREAM_TRUST_CERTS: api.sys.huron.cf-app.com
    SPRING_CLOUD_DATAFLOW_APPLICATIONPROPERTIES_TASK_TRUST_CERTS: api.sys.huron.cf-app.com
    SPRING_CLOUD_DEPLOYER_CLOUDFOUNDRY_STREAM_ENABLE_RANDOM_APP_NAME_PREFIX: false
    SPRING_CLOUD_DATAFLOW_FEATURES_STREAMS_ENABLED: false
    SPRING_CLOUD_DATAFLOW_FEATURES_ANALYTICS_ENABLED: false
```

Fixes #2627

Update CF implementation to use security