move subdir from incubator up a level as it is promoted to its own repo (first non-incubator commit!)
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/18b073a9 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/18b073a9 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/18b073a9 Branch: refs/heads/master Commit: 18b073a95526c1842e6869916ac7a4d9960368c1 Parents: f173a0e Author: Alex Heneveld <[email protected]> Authored: Sat Jan 30 13:28:02 2016 +0000 Committer: Alex Heneveld <[email protected]> Committed: Sat Jan 30 13:28:02 2016 +0000 ---------------------------------------------------------------------- .gitignore | 1 + LICENSE | 15 - README.md | 10 + brooklyn-ui/.gitattributes | 6 - brooklyn-ui/.gitignore | 33 - brooklyn-ui/LICENSE | 440 - brooklyn-ui/NOTICE | 5 - brooklyn-ui/README.md | 10 - brooklyn-ui/pom.xml | 440 - brooklyn-ui/src/build/.gitattributes | 2 - brooklyn-ui/src/build/nodejs | 41 - brooklyn-ui/src/build/optimize-css.json | 12 - brooklyn-ui/src/build/optimize-js.json | 18 - .../src/build/requirejs-maven-plugin/r.js | 25256 ----------------- brooklyn-ui/src/main/license/README.md | 7 - brooklyn-ui/src/main/license/files/DISCLAIMER | 8 - brooklyn-ui/src/main/license/files/LICENSE | 440 - brooklyn-ui/src/main/license/files/NOTICE | 5 - .../src/main/license/source-inclusions.yaml | 42 - brooklyn-ui/src/main/webapp/WEB-INF/web.xml | 24 - brooklyn-ui/src/main/webapp/assets/css/base.css | 1488 - .../src/main/webapp/assets/css/bootstrap.css | 5001 ---- .../src/main/webapp/assets/css/brooklyn.css | 271 - .../webapp/assets/css/jquery.dataTables.css | 238 - .../src/main/webapp/assets/css/styles.css | 21 - .../src/main/webapp/assets/css/swagger.css | 1567 - .../src/main/webapp/assets/html/swagger-ui.html | 78 - .../main/webapp/assets/images/Sorting icons.psd | Bin 27490 -> 0 bytes .../assets/images/addApplication-plus-hover.png | Bin 1620 -> 0 bytes .../assets/images/addApplication-plus.png | Bin 1680 -> 0 bytes .../images/application-icon-add-hover.png | Bin 1402 -> 0 bytes .../assets/images/application-icon-add.png | Bin 1291 -> 0 bytes .../images/application-icon-refresh-hover.png | Bin 1263 -> 0 bytes .../assets/images/application-icon-refresh.png | Bin 1225 -> 0 bytes .../main/webapp/assets/images/back_disabled.png | Bin 1361 -> 0 bytes .../main/webapp/assets/images/back_enabled.png | Bin 1379 -> 0 bytes .../webapp/assets/images/back_enabled_hover.png | Bin 1375 -> 0 bytes .../images/brooklyn-header-background.png | Bin 2162 -> 0 bytes .../main/webapp/assets/images/brooklyn-logo.png | Bin 7055 -> 0 bytes .../src/main/webapp/assets/images/favicon.ico | Bin 894 -> 0 bytes .../webapp/assets/images/forward_disabled.png | Bin 1363 -> 0 bytes .../webapp/assets/images/forward_enabled.png | Bin 1380 -> 0 bytes .../assets/images/forward_enabled_hover.png | Bin 1379 -> 0 bytes .../assets/images/main-menu-tab-active.png | Bin 1051 -> 0 bytes .../assets/images/main-menu-tab-hover.png | Bin 985 -> 0 bytes .../main/webapp/assets/images/main-menu-tab.png | Bin 985 -> 0 bytes .../assets/images/nav-tabs-background.png | Bin 985 -> 0 bytes .../assets/images/roundedSummary-background.png | Bin 998 -> 0 bytes .../src/main/webapp/assets/images/sort_asc.png | Bin 1118 -> 0 bytes .../webapp/assets/images/sort_asc_disabled.png | Bin 1050 -> 0 bytes .../src/main/webapp/assets/images/sort_both.png | Bin 1136 -> 0 bytes .../src/main/webapp/assets/images/sort_desc.png | Bin 1127 -> 0 bytes .../webapp/assets/images/sort_desc_disabled.png | Bin 1045 -> 0 bytes .../src/main/webapp/assets/images/throbber.gif | Bin 9257 -> 0 bytes .../src/main/webapp/assets/img/bridge.png | Bin 154600 -> 0 bytes .../src/main/webapp/assets/img/brooklyn.png | Bin 14733 -> 0 bytes .../src/main/webapp/assets/img/document.png | Bin 485 -> 0 bytes brooklyn-ui/src/main/webapp/assets/img/fire.png | Bin 37127 -> 0 bytes .../webapp/assets/img/folder-horizontal.png | Bin 401 -> 0 bytes .../img/glyphicons-halflings-bright-green.png | Bin 26800 -> 0 bytes .../img/glyphicons-halflings-dark-green.png | Bin 27158 -> 0 bytes .../assets/img/glyphicons-halflings-green.png | Bin 27143 -> 0 bytes .../assets/img/glyphicons-halflings-white.png | Bin 8777 -> 0 bytes .../webapp/assets/img/glyphicons-halflings.png | Bin 13826 -> 0 bytes .../webapp/assets/img/icon-status-onfire.png | Bin 37127 -> 0 bytes .../assets/img/icon-status-running-onfire.png | Bin 56029 -> 0 bytes .../webapp/assets/img/icon-status-running.png | Bin 31290 -> 0 bytes .../webapp/assets/img/icon-status-starting.gif | Bin 23820 -> 0 bytes .../assets/img/icon-status-stopped-onfire.png | Bin 53515 -> 0 bytes .../webapp/assets/img/icon-status-stopped.png | Bin 31858 -> 0 bytes .../webapp/assets/img/icon-status-stopping.gif | Bin 23820 -> 0 bytes .../assets/img/magnifying-glass-right-icon.png | Bin 958 -> 0 bytes .../assets/img/magnifying-glass-right.png | Bin 29371 -> 0 bytes .../main/webapp/assets/img/magnifying-glass.gif | Bin 565 -> 0 bytes .../webapp/assets/img/toggle-small-expand.png | Bin 418 -> 0 bytes .../src/main/webapp/assets/img/toggle-small.png | Bin 394 -> 0 bytes brooklyn-ui/src/main/webapp/assets/js/config.js | 84 - .../src/main/webapp/assets/js/libs/URI.js | 133 - .../main/webapp/assets/js/libs/ZeroClipboard.js | 1015 - .../src/main/webapp/assets/js/libs/async.js | 46 - .../src/main/webapp/assets/js/libs/backbone.js | 1571 - .../src/main/webapp/assets/js/libs/bootstrap.js | 1821 -- .../assets/js/libs/handlebars-1.0.rc.1.js | 1928 -- .../webapp/assets/js/libs/jquery.ba-bbq.min.js | 18 - .../webapp/assets/js/libs/jquery.dataTables.js | 12098 -------- .../main/webapp/assets/js/libs/jquery.form.js | 1076 - .../src/main/webapp/assets/js/libs/jquery.js | 9404 ------ .../webapp/assets/js/libs/jquery.wiggle.min.js | 8 - .../src/main/webapp/assets/js/libs/js-yaml.js | 3666 --- .../src/main/webapp/assets/js/libs/moment.js | 1662 -- .../src/main/webapp/assets/js/libs/require.js | 35 - .../src/main/webapp/assets/js/libs/text.js | 367 - .../main/webapp/assets/js/libs/underscore.js | 1227 - .../src/main/webapp/assets/js/model/app-tree.js | 130 - .../main/webapp/assets/js/model/application.js | 151 - .../assets/js/model/catalog-application.js | 55 - .../assets/js/model/catalog-item-summary.js | 48 - .../webapp/assets/js/model/config-summary.js | 44 - .../webapp/assets/js/model/effector-param.js | 41 - .../webapp/assets/js/model/effector-summary.js | 57 - .../webapp/assets/js/model/entity-summary.js | 64 - .../src/main/webapp/assets/js/model/entity.js | 79 - .../src/main/webapp/assets/js/model/location.js | 92 - .../assets/js/model/policy-config-summary.js | 53 - .../webapp/assets/js/model/policy-summary.js | 55 - .../webapp/assets/js/model/sensor-summary.js | 44 - .../assets/js/model/server-extended-status.js | 102 - .../main/webapp/assets/js/model/task-summary.js | 81 - brooklyn-ui/src/main/webapp/assets/js/router.js | 240 - .../webapp/assets/js/util/brooklyn-utils.js | 226 - .../main/webapp/assets/js/util/brooklyn-view.js | 352 - .../src/main/webapp/assets/js/util/brooklyn.js | 86 - .../assets/js/util/dataTables.extensions.js | 56 - .../webapp/assets/js/util/jquery.slideto.js | 61 - .../webapp/assets/js/view/activity-details.js | 426 - .../webapp/assets/js/view/add-child-invoke.js | 61 - .../assets/js/view/application-add-wizard.js | 838 - .../assets/js/view/application-explorer.js | 205 - .../webapp/assets/js/view/application-tree.js | 367 - .../src/main/webapp/assets/js/view/catalog.js | 613 - .../webapp/assets/js/view/change-name-invoke.js | 57 - .../webapp/assets/js/view/effector-invoke.js | 171 - .../webapp/assets/js/view/entity-activities.js | 249 - .../webapp/assets/js/view/entity-advanced.js | 177 - .../main/webapp/assets/js/view/entity-config.js | 516 - .../webapp/assets/js/view/entity-details.js | 180 - .../webapp/assets/js/view/entity-effectors.js | 92 - .../webapp/assets/js/view/entity-policies.js | 244 - .../webapp/assets/js/view/entity-sensors.js | 539 - .../webapp/assets/js/view/entity-summary.js | 229 - .../main/webapp/assets/js/view/googlemaps.js | 178 - .../main/webapp/assets/js/view/ha-summary.js | 132 - .../src/main/webapp/assets/js/view/home.js | 245 - .../assets/js/view/policy-config-invoke.js | 77 - .../main/webapp/assets/js/view/policy-new.js | 82 - .../main/webapp/assets/js/view/script-groovy.js | 105 - .../src/main/webapp/assets/js/view/viewutils.js | 560 - .../main/webapp/assets/swagger-ui/css/print.css | 1195 - .../main/webapp/assets/swagger-ui/css/reset.css | 144 - .../webapp/assets/swagger-ui/css/screen.css | 1301 - .../main/webapp/assets/swagger-ui/css/style.css | 269 - .../webapp/assets/swagger-ui/css/typography.css | 45 - .../fonts/droid-sans-v6-latin-700.eot | Bin 22922 -> 0 bytes .../fonts/droid-sans-v6-latin-700.svg | 411 - .../fonts/droid-sans-v6-latin-700.ttf | Bin 40513 -> 0 bytes .../fonts/droid-sans-v6-latin-700.woff | Bin 25992 -> 0 bytes .../fonts/droid-sans-v6-latin-700.woff2 | Bin 11480 -> 0 bytes .../fonts/droid-sans-v6-latin-regular.eot | Bin 22008 -> 0 bytes .../fonts/droid-sans-v6-latin-regular.svg | 403 - .../fonts/droid-sans-v6-latin-regular.ttf | Bin 39069 -> 0 bytes .../fonts/droid-sans-v6-latin-regular.woff | Bin 24868 -> 0 bytes .../fonts/droid-sans-v6-latin-regular.woff2 | Bin 11304 -> 0 bytes .../assets/swagger-ui/images/explorer_icons.png | Bin 5763 -> 0 bytes .../assets/swagger-ui/images/pet_store_api.png | Bin 824 -> 0 bytes .../assets/swagger-ui/images/throbber.gif | Bin 9257 -> 0 bytes .../assets/swagger-ui/images/wordnik_api.png | Bin 980 -> 0 bytes .../assets/swagger-ui/lib/backbone-min.js | 34 - .../assets/swagger-ui/lib/handlebars-2.0.0.js | 20 - .../assets/swagger-ui/lib/jquery-1.8.0.min.js | 21 - .../assets/swagger-ui/lib/jquery.ba-bbq.min.js | 29 - .../assets/swagger-ui/lib/jquery.wiggle.min.js | 27 - .../main/webapp/assets/swagger-ui/lib/marked.js | 1285 - .../assets/swagger-ui/lib/swagger-ui.min.js | 37 - .../assets/swagger-ui/lib/underscore-min.js | 25 - .../assets/swagger-ui/lib/underscore-min.map | 1 - .../tpl/app-add-wizard/create-entity-entry.html | 64 - .../create-step-template-entry.html | 33 - .../assets/tpl/app-add-wizard/create.html | 101 - .../app-add-wizard/deploy-location-option.html | 23 - .../tpl/app-add-wizard/deploy-location-row.html | 26 - .../app-add-wizard/deploy-version-option.html | 23 - .../assets/tpl/app-add-wizard/deploy.html | 64 - .../tpl/app-add-wizard/edit-config-entry.html | 28 - .../assets/tpl/app-add-wizard/modal-wizard.html | 35 - .../app-add-wizard/required-config-entry.html | 47 - .../main/webapp/assets/tpl/apps/activities.html | 30 - .../assets/tpl/apps/activity-details.html | 141 - .../assets/tpl/apps/activity-full-details.html | 25 - .../tpl/apps/activity-row-details-main.html | 28 - .../assets/tpl/apps/activity-row-details.html | 39 - .../webapp/assets/tpl/apps/activity-table.html | 31 - .../webapp/assets/tpl/apps/add-child-modal.html | 35 - .../main/webapp/assets/tpl/apps/advanced.html | 75 - .../assets/tpl/apps/change-name-modal.html | 29 - .../webapp/assets/tpl/apps/config-name.html | 34 - .../src/main/webapp/assets/tpl/apps/config.html | 33 - .../main/webapp/assets/tpl/apps/details.html | 38 - .../webapp/assets/tpl/apps/effector-modal.html | 37 - .../webapp/assets/tpl/apps/effector-row.html | 27 - .../main/webapp/assets/tpl/apps/effector.html | 34 - .../assets/tpl/apps/entity-not-found.html | 24 - .../src/main/webapp/assets/tpl/apps/page.html | 38 - .../main/webapp/assets/tpl/apps/param-list.html | 30 - .../src/main/webapp/assets/tpl/apps/param.html | 42 - .../assets/tpl/apps/policy-config-row.html | 31 - .../main/webapp/assets/tpl/apps/policy-new.html | 37 - .../tpl/apps/policy-parameter-config.html | 30 - .../main/webapp/assets/tpl/apps/policy-row.html | 32 - .../src/main/webapp/assets/tpl/apps/policy.html | 57 - .../webapp/assets/tpl/apps/sensor-name.html | 34 - .../main/webapp/assets/tpl/apps/sensors.html | 33 - .../main/webapp/assets/tpl/apps/summary.html | 107 - .../main/webapp/assets/tpl/apps/tree-empty.html | 27 - .../main/webapp/assets/tpl/apps/tree-item.html | 83 - .../assets/tpl/catalog/add-catalog-entry.html | 34 - .../webapp/assets/tpl/catalog/add-location.html | 36 - .../webapp/assets/tpl/catalog/add-yaml.html | 29 - .../assets/tpl/catalog/details-entity.html | 178 - .../assets/tpl/catalog/details-generic.html | 45 - .../assets/tpl/catalog/details-location.html | 59 - .../webapp/assets/tpl/catalog/nav-entry.html | 19 - .../main/webapp/assets/tpl/catalog/page.html | 37 - .../src/main/webapp/assets/tpl/help/page.html | 77 - .../main/webapp/assets/tpl/home/app-entry.html | 23 - .../webapp/assets/tpl/home/applications.html | 84 - .../main/webapp/assets/tpl/home/ha-summary.html | 32 - .../webapp/assets/tpl/home/server-caution.html | 106 - .../main/webapp/assets/tpl/home/summaries.html | 38 - .../src/main/webapp/assets/tpl/labs/page.html | 195 - .../main/webapp/assets/tpl/lib/basic-modal.html | 29 - .../lib/config-key-type-value-input-pair.html | 23 - .../main/webapp/assets/tpl/script/groovy.html | 93 - .../main/webapp/assets/tpl/script/swagger.html | 30 - brooklyn-ui/src/main/webapp/favicon.ico | Bin 1150 -> 0 bytes brooklyn-ui/src/main/webapp/index.html | 77 - brooklyn-ui/src/test/javascript/config.txt | 72 - .../src/test/javascript/specs/home-spec.js | 106 - .../src/test/javascript/specs/library-spec.js | 50 - .../javascript/specs/model/app-tree-spec.js | 68 - .../javascript/specs/model/application-spec.js | 128 - .../specs/model/catalog-application-spec.js | 130 - .../javascript/specs/model/effector-spec.js | 60 - .../test/javascript/specs/model/entity-spec.js | 38 - .../specs/model/entity-summary-spec.js | 48 - .../javascript/specs/model/location-spec.js | 58 - .../specs/model/sensor-summary-spec.js | 41 - .../javascript/specs/model/task-summary-spec.js | 35 - .../src/test/javascript/specs/router-spec.js | 92 - .../test/javascript/specs/util/brooklyn-spec.js | 128 - .../specs/util/brooklyn-utils-spec.js | 151 - .../specs/view/application-add-wizard-spec.js | 215 - .../specs/view/application-explorer-spec.js | 80 - .../specs/view/application-tree-spec.js | 75 - .../specs/view/effector-invoke-spec.js | 82 - .../specs/view/entity-activities-spec.js | 34 - .../specs/view/entity-details-spec.js | 120 - .../specs/view/entity-effector-view-spec.js | 49 - .../specs/view/entity-sensors-spec.js | 43 - brooklyn-ui/src/test/license/DISCLAIMER | 8 - brooklyn-ui/src/test/license/LICENSE | 175 - brooklyn-ui/src/test/license/NOTICE | 5 - pom.xml | 440 + src/build/.gitattributes | 2 + src/build/nodejs | 41 + src/build/optimize-css.json | 12 + src/build/optimize-js.json | 18 + src/build/requirejs-maven-plugin/r.js | 25256 +++++++++++++++++ src/main/license/README.md | 7 + src/main/license/files/DISCLAIMER | 8 + src/main/license/files/LICENSE | 440 + src/main/license/files/NOTICE | 5 + src/main/license/source-inclusions.yaml | 42 + src/main/webapp/WEB-INF/web.xml | 24 + src/main/webapp/assets/css/base.css | 1488 + src/main/webapp/assets/css/bootstrap.css | 5001 ++++ src/main/webapp/assets/css/brooklyn.css | 271 + .../webapp/assets/css/jquery.dataTables.css | 238 + src/main/webapp/assets/css/styles.css | 21 + src/main/webapp/assets/css/swagger.css | 1567 + src/main/webapp/assets/html/swagger-ui.html | 78 + src/main/webapp/assets/images/Sorting icons.psd | Bin 0 -> 27490 bytes .../assets/images/addApplication-plus-hover.png | Bin 0 -> 1620 bytes .../assets/images/addApplication-plus.png | Bin 0 -> 1680 bytes .../images/application-icon-add-hover.png | Bin 0 -> 1402 bytes .../assets/images/application-icon-add.png | Bin 0 -> 1291 bytes .../images/application-icon-refresh-hover.png | Bin 0 -> 1263 bytes .../assets/images/application-icon-refresh.png | Bin 0 -> 1225 bytes src/main/webapp/assets/images/back_disabled.png | Bin 0 -> 1361 bytes src/main/webapp/assets/images/back_enabled.png | Bin 0 -> 1379 bytes .../webapp/assets/images/back_enabled_hover.png | Bin 0 -> 1375 bytes .../images/brooklyn-header-background.png | Bin 0 -> 2162 bytes src/main/webapp/assets/images/brooklyn-logo.png | Bin 0 -> 7055 bytes src/main/webapp/assets/images/favicon.ico | Bin 0 -> 894 bytes .../webapp/assets/images/forward_disabled.png | Bin 0 -> 1363 bytes .../webapp/assets/images/forward_enabled.png | Bin 0 -> 1380 bytes .../assets/images/forward_enabled_hover.png | Bin 0 -> 1379 bytes .../assets/images/main-menu-tab-active.png | Bin 0 -> 1051 bytes .../assets/images/main-menu-tab-hover.png | Bin 0 -> 985 bytes src/main/webapp/assets/images/main-menu-tab.png | Bin 0 -> 985 bytes .../assets/images/nav-tabs-background.png | Bin 0 -> 985 bytes .../assets/images/roundedSummary-background.png | Bin 0 -> 998 bytes src/main/webapp/assets/images/sort_asc.png | Bin 0 -> 1118 bytes .../webapp/assets/images/sort_asc_disabled.png | Bin 0 -> 1050 bytes src/main/webapp/assets/images/sort_both.png | Bin 0 -> 1136 bytes src/main/webapp/assets/images/sort_desc.png | Bin 0 -> 1127 bytes .../webapp/assets/images/sort_desc_disabled.png | Bin 0 -> 1045 bytes src/main/webapp/assets/images/throbber.gif | Bin 0 -> 9257 bytes src/main/webapp/assets/img/bridge.png | Bin 0 -> 154600 bytes src/main/webapp/assets/img/brooklyn.png | Bin 0 -> 14733 bytes src/main/webapp/assets/img/document.png | Bin 0 -> 485 bytes src/main/webapp/assets/img/fire.png | Bin 0 -> 37127 bytes .../webapp/assets/img/folder-horizontal.png | Bin 0 -> 401 bytes .../img/glyphicons-halflings-bright-green.png | Bin 0 -> 26800 bytes .../img/glyphicons-halflings-dark-green.png | Bin 0 -> 27158 bytes .../assets/img/glyphicons-halflings-green.png | Bin 0 -> 27143 bytes .../assets/img/glyphicons-halflings-white.png | Bin 0 -> 8777 bytes .../webapp/assets/img/glyphicons-halflings.png | Bin 0 -> 13826 bytes .../webapp/assets/img/icon-status-onfire.png | Bin 0 -> 37127 bytes .../assets/img/icon-status-running-onfire.png | Bin 0 -> 56029 bytes .../webapp/assets/img/icon-status-running.png | Bin 0 -> 31290 bytes .../webapp/assets/img/icon-status-starting.gif | Bin 0 -> 23820 bytes .../assets/img/icon-status-stopped-onfire.png | Bin 0 -> 53515 bytes .../webapp/assets/img/icon-status-stopped.png | Bin 0 -> 31858 bytes .../webapp/assets/img/icon-status-stopping.gif | Bin 0 -> 23820 bytes .../assets/img/magnifying-glass-right-icon.png | Bin 0 -> 958 bytes .../assets/img/magnifying-glass-right.png | Bin 0 -> 29371 bytes src/main/webapp/assets/img/magnifying-glass.gif | Bin 0 -> 565 bytes .../webapp/assets/img/toggle-small-expand.png | Bin 0 -> 418 bytes src/main/webapp/assets/img/toggle-small.png | Bin 0 -> 394 bytes src/main/webapp/assets/js/config.js | 84 + src/main/webapp/assets/js/libs/URI.js | 133 + src/main/webapp/assets/js/libs/ZeroClipboard.js | 1015 + src/main/webapp/assets/js/libs/async.js | 46 + src/main/webapp/assets/js/libs/backbone.js | 1571 + src/main/webapp/assets/js/libs/bootstrap.js | 1821 ++ .../assets/js/libs/handlebars-1.0.rc.1.js | 1928 ++ .../webapp/assets/js/libs/jquery.ba-bbq.min.js | 18 + .../webapp/assets/js/libs/jquery.dataTables.js | 12098 ++++++++ src/main/webapp/assets/js/libs/jquery.form.js | 1076 + src/main/webapp/assets/js/libs/jquery.js | 9404 ++++++ .../webapp/assets/js/libs/jquery.wiggle.min.js | 8 + src/main/webapp/assets/js/libs/js-yaml.js | 3666 +++ src/main/webapp/assets/js/libs/moment.js | 1662 ++ src/main/webapp/assets/js/libs/require.js | 35 + src/main/webapp/assets/js/libs/text.js | 367 + src/main/webapp/assets/js/libs/underscore.js | 1227 + src/main/webapp/assets/js/model/app-tree.js | 130 + src/main/webapp/assets/js/model/application.js | 151 + .../assets/js/model/catalog-application.js | 55 + .../assets/js/model/catalog-item-summary.js | 48 + .../webapp/assets/js/model/config-summary.js | 44 + .../webapp/assets/js/model/effector-param.js | 41 + .../webapp/assets/js/model/effector-summary.js | 57 + .../webapp/assets/js/model/entity-summary.js | 64 + src/main/webapp/assets/js/model/entity.js | 79 + src/main/webapp/assets/js/model/location.js | 92 + .../assets/js/model/policy-config-summary.js | 53 + .../webapp/assets/js/model/policy-summary.js | 55 + .../webapp/assets/js/model/sensor-summary.js | 44 + .../assets/js/model/server-extended-status.js | 102 + src/main/webapp/assets/js/model/task-summary.js | 81 + src/main/webapp/assets/js/router.js | 240 + .../webapp/assets/js/util/brooklyn-utils.js | 226 + src/main/webapp/assets/js/util/brooklyn-view.js | 352 + src/main/webapp/assets/js/util/brooklyn.js | 86 + .../assets/js/util/dataTables.extensions.js | 56 + .../webapp/assets/js/util/jquery.slideto.js | 61 + .../webapp/assets/js/view/activity-details.js | 426 + .../webapp/assets/js/view/add-child-invoke.js | 61 + .../assets/js/view/application-add-wizard.js | 838 + .../assets/js/view/application-explorer.js | 205 + .../webapp/assets/js/view/application-tree.js | 367 + src/main/webapp/assets/js/view/catalog.js | 613 + .../webapp/assets/js/view/change-name-invoke.js | 57 + .../webapp/assets/js/view/effector-invoke.js | 171 + .../webapp/assets/js/view/entity-activities.js | 249 + .../webapp/assets/js/view/entity-advanced.js | 177 + src/main/webapp/assets/js/view/entity-config.js | 516 + .../webapp/assets/js/view/entity-details.js | 180 + .../webapp/assets/js/view/entity-effectors.js | 92 + .../webapp/assets/js/view/entity-policies.js | 244 + .../webapp/assets/js/view/entity-sensors.js | 539 + .../webapp/assets/js/view/entity-summary.js | 229 + src/main/webapp/assets/js/view/googlemaps.js | 178 + src/main/webapp/assets/js/view/ha-summary.js | 132 + src/main/webapp/assets/js/view/home.js | 245 + .../assets/js/view/policy-config-invoke.js | 77 + src/main/webapp/assets/js/view/policy-new.js | 82 + src/main/webapp/assets/js/view/script-groovy.js | 105 + src/main/webapp/assets/js/view/viewutils.js | 560 + src/main/webapp/assets/swagger-ui/css/print.css | 1195 + src/main/webapp/assets/swagger-ui/css/reset.css | 144 + .../webapp/assets/swagger-ui/css/screen.css | 1301 + src/main/webapp/assets/swagger-ui/css/style.css | 269 + .../webapp/assets/swagger-ui/css/typography.css | 45 + .../fonts/droid-sans-v6-latin-700.eot | Bin 0 -> 22922 bytes .../fonts/droid-sans-v6-latin-700.svg | 411 + .../fonts/droid-sans-v6-latin-700.ttf | Bin 0 -> 40513 bytes .../fonts/droid-sans-v6-latin-700.woff | Bin 0 -> 25992 bytes .../fonts/droid-sans-v6-latin-700.woff2 | Bin 0 -> 11480 bytes .../fonts/droid-sans-v6-latin-regular.eot | Bin 0 -> 22008 bytes .../fonts/droid-sans-v6-latin-regular.svg | 403 + .../fonts/droid-sans-v6-latin-regular.ttf | Bin 0 -> 39069 bytes .../fonts/droid-sans-v6-latin-regular.woff | Bin 0 -> 24868 bytes .../fonts/droid-sans-v6-latin-regular.woff2 | Bin 0 -> 11304 bytes .../assets/swagger-ui/images/explorer_icons.png | Bin 0 -> 5763 bytes .../assets/swagger-ui/images/pet_store_api.png | Bin 0 -> 824 bytes .../assets/swagger-ui/images/throbber.gif | Bin 0 -> 9257 bytes .../assets/swagger-ui/images/wordnik_api.png | Bin 0 -> 980 bytes .../assets/swagger-ui/lib/backbone-min.js | 34 + .../assets/swagger-ui/lib/handlebars-2.0.0.js | 20 + .../assets/swagger-ui/lib/jquery-1.8.0.min.js | 21 + .../assets/swagger-ui/lib/jquery.ba-bbq.min.js | 29 + .../assets/swagger-ui/lib/jquery.wiggle.min.js | 27 + src/main/webapp/assets/swagger-ui/lib/marked.js | 1285 + .../assets/swagger-ui/lib/swagger-ui.min.js | 37 + .../assets/swagger-ui/lib/underscore-min.js | 25 + .../assets/swagger-ui/lib/underscore-min.map | 1 + .../tpl/app-add-wizard/create-entity-entry.html | 64 + .../create-step-template-entry.html | 33 + .../assets/tpl/app-add-wizard/create.html | 101 + .../app-add-wizard/deploy-location-option.html | 23 + .../tpl/app-add-wizard/deploy-location-row.html | 26 + .../app-add-wizard/deploy-version-option.html | 23 + .../assets/tpl/app-add-wizard/deploy.html | 64 + .../tpl/app-add-wizard/edit-config-entry.html | 28 + .../assets/tpl/app-add-wizard/modal-wizard.html | 35 + .../app-add-wizard/required-config-entry.html | 47 + src/main/webapp/assets/tpl/apps/activities.html | 30 + .../assets/tpl/apps/activity-details.html | 141 + .../assets/tpl/apps/activity-full-details.html | 25 + .../tpl/apps/activity-row-details-main.html | 28 + .../assets/tpl/apps/activity-row-details.html | 39 + .../webapp/assets/tpl/apps/activity-table.html | 31 + .../webapp/assets/tpl/apps/add-child-modal.html | 35 + src/main/webapp/assets/tpl/apps/advanced.html | 75 + .../assets/tpl/apps/change-name-modal.html | 29 + .../webapp/assets/tpl/apps/config-name.html | 34 + src/main/webapp/assets/tpl/apps/config.html | 33 + src/main/webapp/assets/tpl/apps/details.html | 38 + .../webapp/assets/tpl/apps/effector-modal.html | 37 + .../webapp/assets/tpl/apps/effector-row.html | 27 + src/main/webapp/assets/tpl/apps/effector.html | 34 + .../assets/tpl/apps/entity-not-found.html | 24 + src/main/webapp/assets/tpl/apps/page.html | 38 + src/main/webapp/assets/tpl/apps/param-list.html | 30 + src/main/webapp/assets/tpl/apps/param.html | 42 + .../assets/tpl/apps/policy-config-row.html | 31 + src/main/webapp/assets/tpl/apps/policy-new.html | 37 + .../tpl/apps/policy-parameter-config.html | 30 + src/main/webapp/assets/tpl/apps/policy-row.html | 32 + src/main/webapp/assets/tpl/apps/policy.html | 57 + .../webapp/assets/tpl/apps/sensor-name.html | 34 + src/main/webapp/assets/tpl/apps/sensors.html | 33 + src/main/webapp/assets/tpl/apps/summary.html | 107 + src/main/webapp/assets/tpl/apps/tree-empty.html | 27 + src/main/webapp/assets/tpl/apps/tree-item.html | 83 + .../assets/tpl/catalog/add-catalog-entry.html | 34 + .../webapp/assets/tpl/catalog/add-location.html | 36 + .../webapp/assets/tpl/catalog/add-yaml.html | 29 + .../assets/tpl/catalog/details-entity.html | 178 + .../assets/tpl/catalog/details-generic.html | 45 + .../assets/tpl/catalog/details-location.html | 59 + .../webapp/assets/tpl/catalog/nav-entry.html | 19 + src/main/webapp/assets/tpl/catalog/page.html | 37 + src/main/webapp/assets/tpl/help/page.html | 77 + src/main/webapp/assets/tpl/home/app-entry.html | 23 + .../webapp/assets/tpl/home/applications.html | 84 + src/main/webapp/assets/tpl/home/ha-summary.html | 32 + .../webapp/assets/tpl/home/server-caution.html | 106 + src/main/webapp/assets/tpl/home/summaries.html | 38 + src/main/webapp/assets/tpl/labs/page.html | 195 + src/main/webapp/assets/tpl/lib/basic-modal.html | 29 + .../lib/config-key-type-value-input-pair.html | 23 + src/main/webapp/assets/tpl/script/groovy.html | 93 + src/main/webapp/assets/tpl/script/swagger.html | 30 + src/main/webapp/favicon.ico | Bin 0 -> 1150 bytes src/main/webapp/index.html | 77 + src/test/javascript/config.txt | 72 + src/test/javascript/specs/home-spec.js | 106 + src/test/javascript/specs/library-spec.js | 50 + .../javascript/specs/model/app-tree-spec.js | 68 + .../javascript/specs/model/application-spec.js | 128 + .../specs/model/catalog-application-spec.js | 130 + .../javascript/specs/model/effector-spec.js | 60 + src/test/javascript/specs/model/entity-spec.js | 38 + .../specs/model/entity-summary-spec.js | 48 + .../javascript/specs/model/location-spec.js | 58 + .../specs/model/sensor-summary-spec.js | 41 + .../javascript/specs/model/task-summary-spec.js | 35 + src/test/javascript/specs/router-spec.js | 92 + src/test/javascript/specs/util/brooklyn-spec.js | 128 + .../specs/util/brooklyn-utils-spec.js | 151 + .../specs/view/application-add-wizard-spec.js | 215 + .../specs/view/application-explorer-spec.js | 80 + .../specs/view/application-tree-spec.js | 75 + .../specs/view/effector-invoke-spec.js | 82 + .../specs/view/entity-activities-spec.js | 34 + .../specs/view/entity-details-spec.js | 120 + .../specs/view/entity-effector-view-spec.js | 49 + .../specs/view/entity-sensors-spec.js | 43 + src/test/license/DISCLAIMER | 8 + src/test/license/LICENSE | 175 + src/test/license/NOTICE | 5 + 494 files changed, 89856 insertions(+), 90354 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/.gitignore ---------------------------------------------------------------------- diff --git a/.gitignore b/.gitignore index ed439f2..8fb7ef7 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ brooklyn*.log.* *brooklyn-persisted-state/ ignored +/build/ http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/LICENSE ---------------------------------------------------------------------- diff --git a/LICENSE b/LICENSE index 3d8f4e7..58c78f1 100644 --- a/LICENSE +++ b/LICENSE @@ -337,13 +337,6 @@ This project includes the software: Swagger UI Used under the following license: Apache License, version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) Copyright (c) SmartBear Software (2011-2015) -This project includes the software: typeahead.js - Available at: https://github.com/twitter/typeahead.js - Developed by: Twitter, Inc (http://twitter.com) - Version used: 0.10.5 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) Twitter, Inc. and other contributors (2013-2014) - This project includes the software: underscore.js Available at: http://underscorejs.org Developed by: DocumentCloud Inc. (http://www.documentcloud.org/) @@ -352,14 +345,6 @@ This project includes the software: underscore.js Used under the following license: The MIT License (http://opensource.org/licenses/MIT) Copyright (c) Jeremy Ashkenas, DocumentCloud Inc. (2009-2013) -This project includes the software: underscore.js:1.7.0 - Available at: http://underscorejs.org - Developed by: DocumentCloud Inc. (http://www.documentcloud.org/) - Inclusive of: underscore*.{js,map} - Version used: 1.7.0 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors (2009-2014) - This project includes the software: ZeroClipboard Available at: http://zeroclipboard.org/ Developed by: ZeroClipboard contributors (https://github.com/zeroclipboard) http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md new file mode 100644 index 0000000..057c206 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ + +# [](http://brooklyn.apache.org/) + +### Apache Brooklyn UI Sub-Project + +This repo contains the JS GUI for Apache Brooklyn. + +It is pure Javascript, but for legacy reasons it expects the REST endpoint at the same endpoint, +so currently the easiest way to run it is using the BrooklynJavascriptGuiLauncher java launcher +in `brooklyn-server`. http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/brooklyn-ui/.gitattributes ---------------------------------------------------------------------- diff --git a/brooklyn-ui/.gitattributes b/brooklyn-ui/.gitattributes deleted file mode 100644 index 7920d0e..0000000 --- a/brooklyn-ui/.gitattributes +++ /dev/null @@ -1,6 +0,0 @@ -#Don't auto-convert line endings for shell scripts on Windows (breaks the scripts) -* text=auto -*.sh text eol=lf -*.bat text eol=crlf -*.ps1 text eol=crlf -*.ini text eol=crlf http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/brooklyn-ui/.gitignore ---------------------------------------------------------------------- diff --git a/brooklyn-ui/.gitignore b/brooklyn-ui/.gitignore deleted file mode 100644 index 8fb7ef7..0000000 --- a/brooklyn-ui/.gitignore +++ /dev/null @@ -1,33 +0,0 @@ -\#*\# -*~ -*.bak -*.swp -*.swo -.DS_Store - -atlassian-ide-plugin.xml -*.class - -target/ -test-output/ - -.project -.classpath -.settings/ -.metadata/ - -.idea/ -*.iml - -nbactions.xml -nb-configuration.xml - -prodDb.* - -*.log -brooklyn*.log.* - -*brooklyn-persisted-state/ - -ignored -/build/ http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/brooklyn-ui/LICENSE ---------------------------------------------------------------------- diff --git a/brooklyn-ui/LICENSE b/brooklyn-ui/LICENSE deleted file mode 100644 index 58c78f1..0000000 --- a/brooklyn-ui/LICENSE +++ /dev/null @@ -1,440 +0,0 @@ - -This software is distributed under the Apache License, version 2.0. See (1) below. -This software is copyright (c) The Apache Software Foundation and contributors. - -Contents: - - (1) This software license: Apache License, version 2.0 - (2) Notices for bundled software - (3) Licenses for bundled software - - ---------------------------------------------------- - -(1) This software license: Apache License, version 2.0 - - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - ---------------------------------------------------- - -(2) Notices for bundled software - -This project includes the software: async.js - Available at: https://github.com/p15martin/google-maps-hello-world/blob/master/js/libs/async.js - Developed by: Miller Medeiros (https://github.com/millermedeiros/) - Version used: 0.1.1 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) Miller Medeiros (2011) - -This project includes the software: backbone.js - Available at: http://backbonejs.org - Developed by: DocumentCloud Inc. (http://www.documentcloud.org/) - Version used: 1.0.0 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) Jeremy Ashkenas, DocumentCloud Inc. (2010-2013) - -This project includes the software: bootstrap.js - Available at: http://twitter.github.com/bootstrap/javascript.html#transitions - Version used: 2.0.4 - Used under the following license: Apache License, version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - Copyright (c) Twitter, Inc. (2012) - -This project includes the software: handlebars.js - Available at: https://github.com/wycats/handlebars.js - Developed by: Yehuda Katz (https://github.com/wycats/) - Inclusive of: handlebars*.js - Version used: 1.0-rc1 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) Yehuda Katz (2012) - -This project includes the software: jQuery JavaScript Library - Available at: http://jquery.com/ - Developed by: The jQuery Foundation (http://jquery.org/) - Inclusive of: jquery.js - Version used: 1.7.2 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) John Resig (2005-2011) - Includes code fragments from sizzle.js: - Copyright (c) The Dojo Foundation - Available at http://sizzlejs.com - Used under the MIT license - -This project includes the software: jQuery BBQ: Back Button & Query Library - Available at: http://benalman.com/projects/jquery-bbq-plugin/ - Developed by: "Cowboy" Ben Alman (http://benalman.com/) - Inclusive of: jquery.ba-bbq*.js - Version used: 1.2.1 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) "Cowboy" Ben Alman (2010)" - -This project includes the software: DataTables Table plug-in for jQuery - Available at: http://www.datatables.net/ - Developed by: SpryMedia Ltd (http://sprymedia.co.uk/) - Inclusive of: jquery.dataTables.{js,css} - Version used: 1.9.4 - Used under the following license: The BSD 3-Clause (New BSD) License (http://opensource.org/licenses/BSD-3-Clause) - Copyright (c) Allan Jardine (2008-2012) - -This project includes the software: jQuery Form Plugin - Available at: https://github.com/malsup/form - Developed by: Mike Alsup (http://malsup.com/) - Inclusive of: jquery.form.js - Version used: 3.09 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) M. Alsup (2006-2013) - -This project includes the software: jQuery Wiggle - Available at: https://github.com/jordanthomas/jquery-wiggle - Inclusive of: jquery.wiggle.min.js - Version used: swagger-ui:1.0.1 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) WonderGroup and Jordan Thomas (2010) - Previously online at http://labs.wondergroup.com/demos/mini-ui/index.html. - The version included here is from the Swagger UI distribution. - -This project includes the software: js-uri - Available at: http://code.google.com/p/js-uri/ - Developed by: js-uri contributors (https://code.google.com/js-uri) - Inclusive of: URI.js - Version used: 0.1 - Used under the following license: The BSD 3-Clause (New BSD) License (http://opensource.org/licenses/BSD-3-Clause) - Copyright (c) js-uri contributors (2013) - -This project includes the software: js-yaml.js - Available at: https://github.com/nodeca/ - Developed by: Vitaly Puzrin (https://github.com/nodeca/) - Version used: 3.2.7 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) Vitaly Puzrin (2011-2015) - -This project includes the software: marked.js - Available at: https://github.com/chjj/marked - Developed by: Christopher Jeffrey (https://github.com/chjj) - Version used: 0.3.1 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) Christopher Jeffrey (2011-2014) - -This project includes the software: moment.js - Available at: http://momentjs.com - Developed by: Tim Wood (http://momentjs.com) - Version used: 2.1.0 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) Tim Wood, Iskren Chernev, Moment.js contributors (2011-2014) - -This project includes the software: RequireJS - Available at: http://requirejs.org/ - Developed by: The Dojo Foundation (http://dojofoundation.org/) - Inclusive of: require.js, text.js - Version used: 2.0.6 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) The Dojo Foundation (2010-2012) - -This project includes the software: RequireJS (r.js maven plugin) - Available at: http://github.com/jrburke/requirejs - Developed by: The Dojo Foundation (http://dojofoundation.org/) - Inclusive of: r.js - Version used: 2.1.6 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) The Dojo Foundation (2009-2013) - Includes code fragments for source-map and other functionality: - Copyright (c) The Mozilla Foundation and contributors (2011) - Used under the BSD 2-Clause license. - Includes code fragments for parse-js and other functionality: - Copyright (c) Mihai Bazon (2010, 2012) - Used under the BSD 2-Clause license. - Includes code fragments for uglifyjs/consolidator: - Copyright (c) Robert Gust-Bardon (2012) - Used under the BSD 2-Clause license. - Includes code fragments for the esprima parser: - Copyright (c): - Ariya Hidayat (2011, 2012) - Mathias Bynens (2012) - Joost-Wim Boekesteijn (2012) - Kris Kowal (2012) - Yusuke Suzuki (2012) - Arpad Borsos (2012) - Used under the BSD 2-Clause license. - -This project includes the software: Swagger UI - Available at: https://github.com/swagger-api/swagger-ui - Inclusive of: swagger*.{js,css,html} - Version used: 2.1.4 - Used under the following license: Apache License, version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) - Copyright (c) SmartBear Software (2011-2015) - -This project includes the software: underscore.js - Available at: http://underscorejs.org - Developed by: DocumentCloud Inc. (http://www.documentcloud.org/) - Inclusive of: underscore*.{js,map} - Version used: 1.4.4 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) Jeremy Ashkenas, DocumentCloud Inc. (2009-2013) - -This project includes the software: ZeroClipboard - Available at: http://zeroclipboard.org/ - Developed by: ZeroClipboard contributors (https://github.com/zeroclipboard) - Inclusive of: ZeroClipboard.* - Version used: 1.3.1 - Used under the following license: The MIT License (http://opensource.org/licenses/MIT) - Copyright (c) Jon Rohan, James M. Greene (2014) - - ---------------------------------------------------- - -(3) Licenses for bundled software - -Contents: - - The BSD 2-Clause License - The BSD 3-Clause License ("New BSD") - The MIT License ("MIT") - - -The BSD 2-Clause License - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -The BSD 3-Clause License ("New BSD") - - Redistribution and use in source and binary forms, with or without modification, - are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - 3. Neither the name of the copyright holder nor the names of its contributors - may be used to endorse or promote products derived from this software without - specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, - WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - POSSIBILITY OF SUCH DAMAGE. - - -The MIT License ("MIT") - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - - http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/brooklyn-ui/NOTICE ---------------------------------------------------------------------- diff --git a/brooklyn-ui/NOTICE b/brooklyn-ui/NOTICE deleted file mode 100644 index f790f13..0000000 --- a/brooklyn-ui/NOTICE +++ /dev/null @@ -1,5 +0,0 @@ -Apache Brooklyn -Copyright 2014-2015 The Apache Software Foundation - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/brooklyn-ui/README.md ---------------------------------------------------------------------- diff --git a/brooklyn-ui/README.md b/brooklyn-ui/README.md deleted file mode 100644 index 057c206..0000000 --- a/brooklyn-ui/README.md +++ /dev/null @@ -1,10 +0,0 @@ - -# [](http://brooklyn.apache.org/) - -### Apache Brooklyn UI Sub-Project - -This repo contains the JS GUI for Apache Brooklyn. - -It is pure Javascript, but for legacy reasons it expects the REST endpoint at the same endpoint, -so currently the easiest way to run it is using the BrooklynJavascriptGuiLauncher java launcher -in `brooklyn-server`. http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/brooklyn-ui/pom.xml ---------------------------------------------------------------------- diff --git a/brooklyn-ui/pom.xml b/brooklyn-ui/pom.xml deleted file mode 100644 index 3c5acf0..0000000 --- a/brooklyn-ui/pom.xml +++ /dev/null @@ -1,440 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache</groupId> - <artifactId>apache</artifactId> - <version>17</version> - <relativePath></relativePath> <!-- prevent loading of ../pom.xml as the "parent" --> - </parent> - - <groupId>org.apache.brooklyn</groupId> - <artifactId>brooklyn-jsgui</artifactId> - <version>0.9.0-SNAPSHOT</version> <!-- BROOKLYN_VERSION --> - <packaging>war</packaging> - - <name>Brooklyn REST JavaScript Web GUI</name> - - <description> - JavaScript+HTML GUI for interacting with Brooklyn, using the REST API - </description> - - <properties> - <project.build.webapp> - ${project.build.directory}/${project.build.finalName} - </project.build.webapp> - <nodejs.path>${project.basedir}/target/nodejs/node</nodejs.path> - <jasmine-maven-plugin.version>1.3.1.5</jasmine-maven-plugin.version> - <maven-dependency-plugin.version>2.8</maven-dependency-plugin.version> - <nodejs-maven-plugin.version>1.0.3</nodejs-maven-plugin.version> - <maven-war-plugin.version>2.4</maven-war-plugin.version> - <nodejs-maven-binaries.version>0.10.25</nodejs-maven-binaries.version> - <requirejs-maven-plugin.version>2.0.0</requirejs-maven-plugin.version> - <maven-replacer-plugin.version>1.5.2</maven-replacer-plugin.version> - <maven-resources-plugin.version>2.7</maven-resources-plugin.version> - </properties> - - <build> - <resources> - <resource> - <directory>${project.basedir}/src/test/resources/fixtures</directory> - <targetPath>${project.build.directory}/jasmine/fixtures</targetPath> - </resource> - </resources> - <!-- Insert special LICENSE/NOTICE into the <test-jar>/META-INF folder --> - <testResources> - <testResource> - <directory>${project.basedir}/src/test/resources</directory> - </testResource> - <testResource> - <targetPath>META-INF</targetPath> - <directory>${basedir}/src/test/license/files</directory> - </testResource> - </testResources> - <plugins> - <!-- - run js tests with: $ mvn clean process-test-resources jasmine:test - run tests in the browser with: $ mvn jasmine:bdd - --> - <plugin> - <artifactId>maven-resources-plugin</artifactId> - <version>${maven-resources-plugin.version}</version> - <executions> - <execution> - <id>copy-fixtures</id> - <phase>process-test-resources</phase> - <goals> - <goal>copy-resources</goal> - </goals> - <configuration> - <outputDirectory>${project.build.directory}/jasmine/fixtures</outputDirectory> - <resources> - <resource> - <!-- copy rest-api fixtures from brooklyn-server submodule repo --> - <directory>${project.basedir}/../brooklyn-server/rest/rest-api/src/test/resources/fixtures</directory> - </resource> - </resources> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>com.github.searls</groupId> - <artifactId>jasmine-maven-plugin</artifactId> - <version>${jasmine-maven-plugin.version}</version> - <executions> - <execution> - <goals> - <goal>test</goal> - </goals> - </execution> - </executions> - <configuration> - <!--Uses the require.js test spec--> - <specRunnerTemplate>REQUIRE_JS</specRunnerTemplate> - <preloadSources> - <source>js/libs/require.js</source> - </preloadSources> - - <!--Sources--> - <jsSrcDir>${project.basedir}/src/main/webapp/assets</jsSrcDir> - <jsTestSrcDir>${project.basedir}/src/test/javascript/specs</jsTestSrcDir> - <customRunnerConfiguration> - ${project.basedir}/src/test/javascript/config.txt - </customRunnerConfiguration> - <!-- Makes output terser --> - <format>progress</format> - <additionalContexts> - <!-- If context roots start with a / the resource will be available on the server at //root. --> - <!-- It is an error for context roots to end with a /. --> - <context> - <contextRoot>fixtures</contextRoot> - <directory>${project.build.directory}/jasmine/fixtures</directory> - </context> - </additionalContexts> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-war-plugin</artifactId> - <version>${maven-war-plugin.version}</version> - <configuration> - <useCache>true</useCache> <!-- to prevent replaced files being overwritten --> - <!-- Insert special LICENSE/NOTICE into the <war>/META-INF folder --> - <webResources> - <webResource> - <targetPath>META-INF</targetPath> - <directory>${basedir}/src/main/license/files</directory> - </webResource> - </webResources> - <archive> - <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> - </archive> - </configuration> - </plugin> - <!-- Disable the automatic LICENSE/NOTICE placement from the upstream pom, because we need to include - bundled dependencies. See "webResources" section above for where we include the new LICENSE/NOTICE --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-remote-resources-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>process</goal> - </goals> - <configuration> - <skip>true</skip> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <version>2.5.4</version> - <executions> - <execution> - <id>bundle-manifest</id> - <phase>process-classes</phase> - <goals> - <goal>manifest</goal> - </goals> - </execution> - </executions> - <configuration> - <supportedProjectTypes> - <supportedProjectType>war</supportedProjectType> - </supportedProjectTypes> - <instructions> - <Web-ContextPath>/</Web-ContextPath> - </instructions> - </configuration> - </plugin> - </plugins> - - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <configuration> - <excludes combine.children="append"> - <!-- - JavaScript code that is not copyright of Apache Foundation. It is included in NOTICE. - --> - <exclude>**/src/main/webapp/assets/js/libs/*</exclude> - <exclude>**/src/build/requirejs-maven-plugin/r.js</exclude> - - <!-- - Copy of swagger-ui from https://github.com/swagger-api/swagger-ui tag::v2.1.3 - --> - <exclude>**/src/main/webapp/assets/swagger-ui/**</exclude> - - <!-- - Trivial Json controlling the build, "without any degree of creativity". - Json does not support comments, therefore far easier to just omit the license header! - --> - <exclude>**//src/build/optimize-css.json</exclude> - <exclude>**//src/build/optimize-js.json</exclude> - </excludes> - </configuration> - </plugin> - <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> - <plugin> - <groupId>org.eclipse.m2e</groupId> - <artifactId>lifecycle-mapping</artifactId> - <version>1.0.0</version> - <configuration> - <lifecycleMappingMetadata> - <pluginExecutions> - <pluginExecution> - <pluginExecutionFilter> - <groupId> - com.github.skwakman.nodejs-maven-plugin - </groupId> - <artifactId> - nodejs-maven-plugin - </artifactId> - <versionRange> - [1.0.3,) - </versionRange> - <goals> - <goal>extract</goal> - </goals> - </pluginExecutionFilter> - <action> - <ignore></ignore> - </action> - </pluginExecution> - </pluginExecutions> - </lifecycleMappingMetadata> - </configuration> - </plugin> - </plugins> - </pluginManagement> - </build> - - <profiles> - <profile> - <id>nodejs-path-override</id> - <activation> - <os><family>linux</family></os> - </activation> - <properties> - <nodejs.path>${project.basedir}/src/build/nodejs</nodejs.path> - </properties> - <dependencies> - <dependency> - <groupId>com.github.skwakman.nodejs-maven-binaries</groupId> - <artifactId>nodejs-maven-binaries</artifactId> - <version>${nodejs-maven-binaries.version}</version> - <classifier>linux-x64</classifier> - <type>zip</type> - </dependency> - </dependencies> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <version>${maven-dependency-plugin.version}</version> - <executions> - <execution> - <id>unpack-nodejs64</id> - <phase>prepare-package</phase> - <goals> - <goal>unpack-dependencies</goal> - </goals> - <configuration> - <includeGroupIds>com.github.skwakman.nodejs-maven-binaries</includeGroupIds> - <includeArtifactIds>nodejs-maven-binaries</includeArtifactIds> - <outputDirectory> - ${project.basedir}/target/nodejs64/ - </outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>Optimize resources</id> - <activation> - <property> - <name>!skipOptimization</name> - </property> - </activation> - <build> - <plugins> - <!-- Installs node.js in target/. Means we get the benefits of node's speed - (compared to Rhino) without having to install it manually. --> - <plugin> - <groupId>com.github.skwakman.nodejs-maven-plugin</groupId> - <artifactId>nodejs-maven-plugin</artifactId> - <version>${nodejs-maven-plugin.version}</version> - <executions> - <execution> - <goals> - <goal>extract</goal> - </goals> - </execution> - </executions> - <configuration> - <!-- target directory for node binaries --> - <targetDirectory>${project.basedir}/target/nodejs/</targetDirectory> - </configuration> - </plugin> - - <!-- Including the exploded goal means sources are in place ready for the replacer plugin. --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-war-plugin</artifactId> - <version>${maven-war-plugin.version}</version> - <executions> - <execution> - <id>prepare-war</id> - <phase>prepare-package</phase> - <goals> - <goal>exploded</goal> - </goals> - </execution> - </executions> - </plugin> - - <!-- Runs the require.js optimizer with node to produce a single artifact. --> - <plugin> - <groupId>com.github.mcheely</groupId> - <artifactId>requirejs-maven-plugin</artifactId> - <version>${requirejs-maven-plugin.version}</version> - <executions> - <execution> - <id>optimize-js</id> - <phase>prepare-package</phase> - <goals> - <goal>optimize</goal> - </goals> - <configuration> - <configFile>${project.basedir}/src/build/optimize-js.json</configFile> - </configuration> - </execution> - <execution> - <id>optimize-css</id> - <phase>prepare-package</phase> - <goals> - <goal>optimize</goal> - </goals> - <configuration> - <configFile>${project.basedir}/src/build/optimize-css.json</configFile> - </configuration> - </execution> - </executions> - <configuration> - <nodeExecutable>${nodejs.path}</nodeExecutable> - <optimizerFile>${project.basedir}/src/build/requirejs-maven-plugin/r.js</optimizerFile> - <!-- Replaces Maven tokens in the build file with their values --> - <filterConfig>true</filterConfig> - </configuration> - </plugin> - - <!-- Modify index.html to point to the optimized resources generated above. --> - <plugin> - <groupId>com.google.code.maven-replacer-plugin</groupId> - <artifactId>replacer</artifactId> - <version>${maven-replacer-plugin.version}</version> - <executions> - <execution> - <id>modify-for-optimized</id> - <phase>prepare-package</phase> - <goals> - <goal>replace</goal> - </goals> - </execution> - </executions> - <configuration> - <file>${project.build.webapp}/index.html</file> - <replacements> - <replacement> - <token>assets/js/config.js</token> - <value>assets/js/gui.all.min.js</value> - </replacement> - <replacement> - <token>assets/css/styles.css</token> - <value>assets/css/styles.min.css</value> - </replacement> - <replacement> - <token>GIT_SHA_1</token> - <value>${buildNumber}</value> - </replacement> - </replacements> - </configuration> - </plugin> - - <!-- Compress the minified files. Jetty will serve the gzipped content instead. --> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <id>Compress resources</id> - <phase>prepare-package</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <target> - <gzip src="${project.build.webapp}/assets/css/styles.min.css" destfile="${project.build.webapp}/assets/css/styles.min.css.gz" /> - <gzip src="${project.build.webapp}/assets/css/brooklyn.css" destfile="${project.build.webapp}/assets/css/brooklyn.css.gz" /> - <gzip src="${project.build.webapp}/assets/js/gui.all.min.js" destfile="${project.build.webapp}/assets/js/gui.all.min.js.gz" /> - <gzip src="${project.build.webapp}/assets/js/libs/require.js" destfile="${project.build.webapp}/assets/js/libs/require.js.gz" /> - </target> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> - -</project> - http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/brooklyn-ui/src/build/.gitattributes ---------------------------------------------------------------------- diff --git a/brooklyn-ui/src/build/.gitattributes b/brooklyn-ui/src/build/.gitattributes deleted file mode 100644 index 83a693d..0000000 --- a/brooklyn-ui/src/build/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -#Don't auto-convert line endings for shell scripts on Windows (breaks the scripts) -nodejs text eol=lf http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/brooklyn-ui/src/build/nodejs ---------------------------------------------------------------------- diff --git a/brooklyn-ui/src/build/nodejs b/brooklyn-ui/src/build/nodejs deleted file mode 100755 index 2b00792..0000000 --- a/brooklyn-ui/src/build/nodejs +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -# nodejs-maven-plugin incorrectly detects the architecture on -# Linux x64 running 32 bit Java leading to the installation of -# invalid nodejs binary - 32 bit on 64 bit OS. This is a -# wrapper which makes a check for the architecture again and -# forces the usage of the 64 bit binary. The 64 bit nodejs -# is installed in advance in case we need it. -# -# target/nodejs64/node - the forcibly installed 64 bit binary -# target/nodejs/node - the binary installed by nodejs-maven-plugin -# could be 32 bit or 64 bit. -# - -MACHINE_TYPE=`uname -m` -if [ $MACHINE_TYPE = 'x86_64' ]; then - NODE_PATH=$( dirname "$0" )/../../target/nodejs64/node - chmod +x $NODE_PATH - echo Forcing 64 bit nodejs at $NODE_PATH -else - NODE_PATH=$( dirname "$0" )/../../target/nodejs/node -fi - -$NODE_PATH "$@" http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/brooklyn-ui/src/build/optimize-css.json ---------------------------------------------------------------------- diff --git a/brooklyn-ui/src/build/optimize-css.json b/brooklyn-ui/src/build/optimize-css.json deleted file mode 100644 index d27d7ac..0000000 --- a/brooklyn-ui/src/build/optimize-css.json +++ /dev/null @@ -1,12 +0,0 @@ -({ - cssIn: "${project.build.webapp}/assets/css/styles.css", - out: "${project.build.webapp}/assets/css/styles.min.css", - - // CSS optimization options are: - // - "standard": @import inlining, comment removal and line returns. - // - "standard.keepLines": like "standard" but keeps line returns. - // - "standard.keepComments": keeps the file comments, but removes line returns. - // - "standard.keepComments.keepLines": keeps the file comments and line returns. - // - "none": skip CSS optimizations. - optimizeCss: "standard" -}) http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/18b073a9/brooklyn-ui/src/build/optimize-js.json ---------------------------------------------------------------------- diff --git a/brooklyn-ui/src/build/optimize-js.json b/brooklyn-ui/src/build/optimize-js.json deleted file mode 100644 index 60855d9..0000000 --- a/brooklyn-ui/src/build/optimize-js.json +++ /dev/null @@ -1,18 +0,0 @@ -({ - // The entry point to the application. Brooklyn's is in config.js. - name: "config", - baseUrl: "${project.build.webapp}/assets/js", - mainConfigFile: "${project.build.webapp}/assets/js/config.js", - paths: { - // Include paths to external resources (e.g. on a CDN) here. - - // Optimiser looks for js/requireLib.js by default. - "requireLib": "libs/require" - }, - - // Place the optimised file in target/<war>/assets. - out: "${project.build.webapp}/assets/js/gui.all.min.js", - - // Set to "none" to skip minification - optimize: "uglify" -})
