allomov
10/28/2014 - 8:10 PM

README.md

# download Admin UI BOSH release:
git clone -b i18n https://github.com/allomov/admin-ui-boshrelease.git && cd admin-ui-boshrelease
git submodule init 
git submodule update

# create and deploy Admin UI BOSH release:
bosh create release --force
bosh upload release <path-to-release-manifest.yml>     # the last line from an output of the last command
bosh -n deploy
bosh run errand register_admin_ui

releases:
 - name: admin-ui-i18n
   version: latest

jobs:

  - instances: 1
     name: admin_ui
     release: admin-ui-i18n
     resource_pool: small
     template:
       - admin_ui
     networks:
     - name: default
       default:
       - dns
       - gateway

  - name: register_admin_ui
    template: register_admin_ui
    instances: 1
    resource_pool: small
    lifecycle: errand
    release: admin-ui-i18n
    networks:
      - name: default
        default:
        - dns
        - gateway

  - name: deregister_admin_ui
    template: deregister_admin_ui
    instances: 1
    resource_pool: small
    lifecycle: errand
    release: admin-ui-i18n
    networks:
      - name: default
        default:
        - dns
        - gateway

properties:
  admin_ui:
    cloud_controller_uri: http://api.prolisko.cloudfoundry.altoros.com
    cloud_controller_ssl_verify_none: false
    uri: admin.prolisko.cloudfoundry.altoros.com
    nats:
      port: 4222
      user: nats
      password: c5892f51c435
      address: 0.core.default.cf-1406792795.microbosh
    uaa:
      url: 
      admin_client_secret: 
      client:
        id: admin_ui
        secret: admin_ui_secret
      scopes:
        admin: 
          - admin_ui.admin
        user:
          - admin_ui.user
    ccdb: 
      scheme: postgres
      address: 0.data.default.cf-1406792795.microbosh
      port: 5524
      username: ccadmin
      password: c5892f51c435
      database: ccdb
    uaadb:
      scheme: postgres
      address: 0.data.default.cf-1406792795.microbosh
      port: 5524
      username: uaaadmin
      password: c5892f51c435
      database: uaadb

You will need to use repo allomov/admin-ui-boshrelease with i18n branch, that has ready to use blobs in blobs folder and updated src/admin_ui submodule for latest Admin UI version with i18n. Here is a script to upload and deploy release: gistfile.

The errand job registers in admin-ui in UAA and you'll be able to use your CF admin creds to login to AdminUI. This is the only one authentication method in the new AdminUI. You can find scripts that can register admin-ui in UAA in admin-ui README or errand job script:

Here is my changes to manifest of our CF that I needed to do to deploy Admin UI: admin-ui.yml

But if you compile manifests with spiff you can use this template: admin-ui-deployment.yml