diff --git a/.gitignore b/.gitignore index d16904b57..6373607d8 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ target .springbeans .metadata .project +.idea # Windows image file caches Thumbs.db @@ -50,8 +51,17 @@ classpath-data.json # Eclipse IDE *.pydevproject +# Intellij +*.iml + # Maven maven.properties # Test Files *.tmp + +# Documentation +docs/themes/** +docs/public/** +docs/content/rest-api/*.html +.gitmodules \ No newline at end of file diff --git a/docs/README.md b/docs/README.md index dd4a1f1b0..66bb970ea 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,23 +1,25 @@ # Eclipse hawkBit Documentation +The hawkBit documentation is built with [Hugo](https://www.gohugo.io/) using the [Material](http://github.com/digitalcraftsman/hugo-material-docs) +theme. Compiling the documentation is not included within the regular Maven build. + +## Prerequisites +1. **Install Hugo**: see [installing Hugo](https://gohugo.io/getting-started/installing/) documentation on how to install Hugo. +2. **Install hawkBit**: run `mvn install` in the parent directory to generate the latest REST docs for hawkBit. -The hawkBit documentation is based on [Jekyll](http://jekyllrb.com/). Jekyll is a Ruby gem and thus requires a Ruby runtime to be executed. Compiling the documentation is not included within the regular Maven build. ## Build and Serve documentation +The following Maven targets are available in order to build and serve the documentation: -### Unix / Mac +* `mvn install`: _i._ Copies the generated REST docs to `content/rest-api/` and _ii._ downloads the required Hugo theme +* `mvn site`: Serve the documentation on [localhost:1313/hawkbit/](localhost:1313/hawkbit/) +* `mvn clean`: Delete generated artifacts (REST docs, Hugo theme) -On a unix or mac you don't need to extra install Jekyll. The Maven build is downloading the ruby runtime and the necessary ruby-gems via the Maven rubygems-proxy repository. The Ruby runtime is downloaded into the `target` folder and executed during the build. +_Note: Currently, **only** Unix/macOS is supported! For Windows, use the hugo commands in CMD._ -To serve the current documentation you only need to call `mvn install gem:exec@jekyll-serve` (within the `docs` folder). It automatically monitors the filesystem and every local changes are generated on-demand on the local server [http://127.0.0.1:4000/hawkbit/](http://127.0.0.1:4000/hawkbit/). -### Windows +## Generate /public folder +In order to generate the `/public` folder, which can be put on a web-server, run the following command: -On a Windows operating system you'll need to install Jekyll manually. If you don't have installed Jekyll on your machine you can use the [PortableJekyll](https://github.com/madhur/PortableJekyll) project. Just clone the Github repository and start the `setpath.cmd` which setups the necessary path entries into the CMD (don't forget to copy them into the environment path variable to have the path set for every command prompt). - -The Maven build on windows just executes the `Jekyll` process using the maven-exec plugin. This allows to use Maven to build and serve the documentation on a windows machine as well. - -To serve the current documentation you only need to call `mvn exec:exec@jekyll-serve`. It automatically monitors the filesystem and every local changes are generated on-demand on the local server [http://127.0.0.1:4000/hawkbit/](http://127.0.0.1:4000/hawkbit/). - -## Test API docs integration - -In order to verify the hawkbit-rest-docs integration you have to run the serve command above and when running call `mvn install`in parallel to include the generated rest docs into the serve run. +```bash +$ hugo +``` \ No newline at end of file diff --git a/docs/cleanup.sh b/docs/cleanup.sh new file mode 100644 index 000000000..0c6758769 --- /dev/null +++ b/docs/cleanup.sh @@ -0,0 +1,25 @@ +# +# Copyright (c) 2018 Bosch Software Innovations GmbH and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# + +# This script is used to clean up the previously generated or downloaded files. + +#!/bin/bash + + +echo "[INFO] Remove Hugo Theme" +rm -rf themes resources public +echo "[INFO] ... done" + +echo "[INFO] " + +echo "[INFO] Remove generated REST docs" +rm -f content/rest-api/*.html +echo "[INFO] ... done" + + diff --git a/docs/config.toml b/docs/config.toml new file mode 100755 index 000000000..5696770fb --- /dev/null +++ b/docs/config.toml @@ -0,0 +1,107 @@ +# +# Copyright (c) 2018 Bosch Software Innovations GmbH and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# + +baseurl = "https://www.eclipse.org/hawkbit/" +languageCode = "en-us" +title = "Eclipse hawkBit" +theme = "hugo-material-docs" +metadataformat = "toml" +canonifyurls = false + +[params] + # General information + author = "The Eclipse hawkBit Project" + description = "IoT. Update. Device." + copyright = "The Eclipse hawkBit Project" + logo = "images/hawkbit_icon.png" + favicon = "images/favicon.ico" + + # Repository + provider = "GitHub" + repo_url = "https://github.com/eclipse/hawkbit" + + permalink = "#" + + # Custom assets + custom_css = ["css/hawkbit.css","//www.eclipse.org/eclipse.org-common/themes/solstice/public/stylesheets/vendor/cookieconsent/cookieconsent.min.css"] + custom_js = [] + + # Syntax highlighting theme + highlight_css = "" + +[params.palette] + primary = "deep-purple" + accent = "light-green" + +[params.font] + text = "Ubuntu" + code = "Ubuntu Mono" + + +[social] + github = "eclipse/hawkbit" + gitter = "eclipse/hawkbit" + docker = "hawkbit" + + +[[menu.main]] + name = "What is hawkBit" + url = "/whatishawkbit/" + weight = 10 + +[[menu.main]] + name = "Getting started" + url = "/gettingstarted/" + weight = 20 + +[[menu.main]] + name = "Guides" + url = "/guides/" + weight = 30 + +[[menu.main]] + name = "Features" + url = "/features/" + weight = 40 + +[[menu.main]] + name = "Concepts" + url = "/concepts/" + weight = 50 + +[[menu.main]] + name = "Architecture" + url = "/architecture/" + weight = 60 + +[[menu.main]] + name = "Management UI" + url = "/ui/" + weight = 70 + +[[menu.main]] + name = "APIs" + url = "/apis/" + weight = 80 + +[[menu.main]] + name = "Community" + url = "/community/" + weight = 90 + +[[menu.main]] + name = "Release Notes" + url = "/release-notes/" + weight = 100 + +[blackfriday] + smartypants = true + fractions = true + smartDashes = true + plainIDAnchors = true diff --git a/docs/src/main/resources/documentation/interfaces/ddi-api.md b/docs/content/apis/ddi_api.md similarity index 69% rename from docs/src/main/resources/documentation/interfaces/ddi-api.md rename to docs/content/apis/ddi_api.md index 22a978a80..c0ecd520f 100644 --- a/docs/src/main/resources/documentation/interfaces/ddi-api.md +++ b/docs/content/apis/ddi_api.md @@ -1,33 +1,33 @@ --- -layout: documentation -title: DDI-API +title: Direct Device Integration API +parent: APIs +weight: 82 --- -{% include base.html %} - This API is based on HTTP standards and based on a polling mechanism. -The _hawkbit_ [update server](https://github.com/eclipse/hawkbit) provides REST resources which are consumed by the device to retrieve software update tasks. +The hawkBit [update server](https://github.com/eclipse/hawkbit) provides REST resources which are consumed by the device to retrieve software update tasks. -Note: in DDI the target is identified using a **controllerId**. Controller is used as a term for the actual service/client on the device. That allows users to have in some cases even multiple clients on the same target for different tasks, e.g. Firmware update and App management. +{{% note %}} +In DDI the target is identified using a **controllerId**. Controller is used as a term for the actual service/client on the device. That allows users to have in some cases even multiple clients on the same target for different tasks, e.g. Firmware update and App management. +{{% /note %}} -# State Machine Mapping +## State Machine Mapping -For historical reasons the DDI has a different state machine and status messages than the [Target State Machine](../architecture/targetstate.html) of the _hawkBit_ update server. +For historical reasons the DDI has a different state machine and status messages than the [Target State Machine](../../concepts/targetstate/) of the hawkBit update server. -This is kept in order to ensure that _DDI_ stays compatible for devices out there in the field. A future version "2" of _DDI_ might change that. _DDI_ also defines more states than the update server, e.g. multiple DDI states are currently mapped by the _DDI_ implementation to _RUNNING_ state. It is possible that in the future _hawkBit_ will fully leverage these additional states. +This is kept in order to ensure that _DDI_ stays compatible for devices out there in the field. A future version "2" of _DDI_ might change that. _DDI_ also defines more states than the update server, e.g. multiple DDI states are currently mapped by the _DDI_ implementation to _RUNNING_ state. It is possible that in the future hawkBit will fully leverage these additional states. The _DDI_ API allows the device to provide the following feedback messages: DDI `status.execution` type | handling by update server | Mapped ActionStatus type --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- -CANCELED | This is send by the target as confirmation of a cancelation request by the update server. | CANCELED -REJECTED | This is send by the target in case an update of a cancelation is rejected, i.e. cannot be fulfilled at this point in time. Note: the target should send a CLOSED->ERROR if it believes it will not be able to proceed the action at all. | WARNING +CANCELED | This is send by the target as confirmation of a cancellation request by the update server. | CANCELED +REJECTED | This is send by the target in case an update of a cancellation is rejected, i.e. cannot be fulfilled at this point in time. Note: the target should send a CLOSED->ERROR if it believes it will not be able to proceed the action at all. | WARNING CLOSED | Target completes the action either with `status.result.finished` SUCCESS or FAILURE as result. Note: DDI defines also a status NONE which will not be interpreted by the update server and handled like SUCCESS. | ERROR (DDI FAILURE) or FINISHED (DDI SUCCESS or NONE) PROCEEDING | This can be used by the target to inform that it is working on the action. | RUNNING SCHEDULED | This can be used by the target to inform that it scheduled on the action. | RUNNING RESUMED | This can be used by the target to inform that it continued to work on the action. | RUNNING -# Resource Overview - \ No newline at end of file + \ No newline at end of file diff --git a/docs/src/main/resources/documentation/interfaces/dmf-api.md b/docs/content/apis/dmf_api.md similarity index 73% rename from docs/src/main/resources/documentation/interfaces/dmf-api.md rename to docs/content/apis/dmf_api.md index b61ca21cb..dfbb9de40 100644 --- a/docs/src/main/resources/documentation/interfaces/dmf-api.md +++ b/docs/content/apis/dmf_api.md @@ -1,11 +1,11 @@ --- -layout: documentation -title: DMF-API +title: Device Management Federation API +parent: API +weight: 83 --- -{% include base.html %} - -Currently bodies of messages are based on JSON. The DMF API provides java classes which allows that the message body can be deserialized at runtime into a java object. Also java classes can be used to serialize java objects into JSON bodies to send a message to _hawkBit_. +Currently bodies of messages are based on JSON. The DMF API provides java classes which allows that the message body can be deserialized at runtime into a java object. Also java classes can be used to serialize java objects into JSON bodies to send a message to hawkBit. + ## Basics @@ -22,9 +22,9 @@ Queues can also be bound to multiple exchanges. **Exchanges** are just publish messages. The user decides who can produce on an exchange and who can create bindings on that exchange for delivery to a specific queue. -_hawkBit_ will create all necessary queues, exchanges and bindings for the user, making it easy to get started. +hawkBit will create all necessary queues, exchanges and bindings for the user, making it easy to get started. The exchange name for outgoing messages is **dmf.exchange**. -The queue name for incoming messages is **sp_direct_queue**. Unless a ``reply_to`` header is set, _hawkBit_ will reply on the **sp.direct.exchange** which is bound to the **sp_direct_queue**. +The queue name for incoming messages is **sp_direct_queue**. Unless a ``reply_to`` header is set, hawkBit will reply on the **sp.direct.exchange** which is bound to the **sp_direct_queue**. The user can set a ``reply_to`` header (see chapter below), to change the default sender exchange. @@ -32,7 +32,7 @@ The following chapter describes the message body, header and properties. Note: the DMF protocol was intended to be open for other non update use cases by design (e.g. [Eclipse Hono](https://github.com/eclipse/hono). As a result, DMF uses the term **thing** and not **target** but they are actually synonyms in this case. -## Messages sent to _hawkBit_ +## Messages sent to hawkBit All messages have to be sent to the exchange **dmf.exchange**. ### Message to register a thing @@ -52,8 +52,8 @@ All messages have to be sent to the exchange **dmf.exchange**. **Example Header** -| Headers | MessageProperties | -|---------------------------------------|---------------------------------| +| Headers | MessageProperties +|---------------------------------------|--------------------------------- | type=THING\_CREATED
tenant=tenant123
thingId=abc
sender=Lwm2m | content\_type=application/json
reply_to (optional) =sp.connector.replyTo @@ -74,8 +74,8 @@ All messages have to be sent to the exchange **dmf.exchange**. **Example Header and Payload** -| Headers | MessageProperties | -|---------------------------------------|---------------------------------| +| Headers | MessageProperties +|---------------------------------------|--------------------------------- | type=EVENT
tenant=tenant123
thingId=abc
topic=UPDATE\_ATTRIBUTES | content\_type=application/json
Payload Template @@ -89,7 +89,7 @@ Payload Template } ``` -### Message to send an action status event to _hawkBit_ +### Message to send an action status event to hawkBit The Java representation is ActionUpdateStatus: @@ -107,39 +107,39 @@ Payload Template ```json { -"actionId": long, -"softwareModuleId": long, -"actionStatus":"String", -"message":["String"] + "actionId": long, + "softwareModuleId": long, + "actionStatus":"String", + "message":["String"] } ``` Possible actionStatus -| Header | Description | -|-----------------|------------------------------------| -| DOWNLOAD | Device is downloading | -| RETRIEVED | Device management service has retrieved something | -| RUNNING | Update is running | -| FINISHED | Update process finished successful | -| ERROR | Error during update process | -| WARNING | Warning during update process | -| CANCELED | Cancel update process successful | -| CANCEL_REJECTED | Cancel update process has been rejected | +| Header | Description +|-----------------|------------------------------------ +| DOWNLOAD | Device is downloading +| RETRIEVED | Device management service has retrieved something +| RUNNING | Update is running +| FINISHED | Update process finished successful +| ERROR | Error during update process +| WARNING | Warning during update process +| CANCELED | Cancel update process successful +| CANCEL_REJECTED | Cancel update process has been rejected **Example Header and Payload** -| Headers | MessageProperties | -|---------------------------------------|---------------------------------| +| Headers | MessageProperties +|---------------------------------------|--------------------------------- | type=EVENT
tenant=tenant123
topic=UPDATE\_ACTION\_STATUS | content_type=application/json ```json { -"actionId":137, -"softwareModuleId":17, -"actionStatus":"DOWNLOAD", -"message":["The download has started"] + "actionId":137, + "softwareModuleId":17, + "actionStatus":"DOWNLOAD", + "message":["The download has started"] } ``` @@ -160,19 +160,19 @@ Payload Template ```json { -"actionId": long + "actionId": long } ``` **Example Header and payload** -| Headers | MessageProperties | -|---------------------------------------|---------------------------------| +| Headers | MessageProperties +|---------------------------------------|--------------------------------- | type=EVENT
tenant=tenant123
thingId=abc
topic=CANCEL\_DOWNLOAD | content_type=application/json ```json { -"actionId":137 + "actionId":137 } ``` @@ -180,37 +180,37 @@ After this message has been sent, an action status event with either actionStatu **Example Header and Payload when cancellation is successful** -| Headers | MessageProperties | -|---------------------------------------|---------------------------------| +| Headers | MessageProperties +|---------------------------------------|--------------------------------- | type=EVENT
tenant=tenant123
topic=UPDATE\_ACTION\_STATUS | content_type=application/json ```json { -"actionId":137, -"softwareModuleId":17, -"actionStatus":"CANCELED", -"message":["The update was canceled."] + "actionId":137, + "softwareModuleId":17, + "actionStatus":"CANCELED", + "message":["The update was canceled."] } ``` **Example Header and Payload when cancellation was rejected** -| Headers | MessageProperties | -|---------------------------------------|---------------------------------| +| Headers | MessageProperties +|---------------------------------------|--------------------------------- | type=EVENT
tenant=tenant123
topic=UPDATE\_ACTION\_STATUS | content_type=application/json ```json { -"actionId":137, -"softwareModuleId":17, -"actionStatus":"CANCEL_REJECTED", -"message":["The cancellation was not possible since the target sent an unexpected response."] + "actionId":137, + "softwareModuleId":17, + "actionStatus":"CANCEL_REJECTED", + "message":["The cancellation was not possible since the target sent an unexpected response."] } ``` -## Messages sent by _hawkBit_ -All messages from _hawkBit_ will be sent to the **sp_direct_queue** or the one specified in the ``reply_to`` property. +## Messages sent by hawkBit +All messages from hawkBit will be sent to the **sp_direct_queue** or the one specified in the ``reply_to`` property. -### Message sent by _hawkBit_ to initialize an update task +### Message sent by hawkBit to initialize an update task | Header | Description | Type | Mandatory @@ -232,69 +232,70 @@ Payload Template ```json { -"actionId": long, -"targetSecurityToken": "String", -"softwareModules":[ - { - "moduleId": long, - "moduleType":"String", - "moduleVersion":"String", - "artifacts":[ - { - "filename":"String", - "urls":{ - "HTTP":"String", - "HTTPS":"String" - }, - "hashes":{ - "md5":"String", - "sha1":"String" - }, - "size":long - }], - "metadata":[ - { - "key":"String", - "value":"String" - } - ] - }] + "actionId": long, + "targetSecurityToken": "String", + "softwareModules":[ + { + "moduleId": long, + "moduleType":"String", + "moduleVersion":"String", + "artifacts":[ + { + "filename":"String", + "urls":{ + "HTTP":"String", + "HTTPS":"String" + }, + "hashes":{ + "md5":"String", + "sha1":"String" + }, + "size":long + }], + "metadata":[ + { + "key":"String", + "value":"String" + } + ] + }] } ``` **Example Header and Payload** -| Headers | MessageProperties | -|---------------------------------------|---------------------------------| +| Headers | MessageProperties +|---------------------------------------|--------------------------------- | type=EVENT
tenant=tenant123
thingId=abc
topic=DOWNLOAD\_AND\_INSTALL | content_type=application/json + ```json -"actionId":137, -"targetSecurityToken":"bH7XXAprK1ChnLfKSdtlsp7NOlPnZAYY", -"softwareModules":[ - { - "moduleId":7, - "moduleType":"firmware", - "moduleVersion":"7.7.7", - "artifacts":[ - { - "filename":"artifact.zip", - "urls":{ - "HTTP":"http://download-from-url.com", - "HTTPS":"https://download-from-url.com" - }, - "hashes":{ - "md5":"md5hash", - "sha1":"sha1hash" - }, - "size":512 - }], - "metadata":[ - { - "key":"installationType", - "value":"5784K#" - } - ] +{ + "actionId":137, + "targetSecurityToken":"bH7XXAprK1ChnLfKSdtlsp7NOlPnZAYY", + "softwareModules":[{ + "moduleId":7, + "moduleType":"firmware", + "moduleVersion":"7.7.7", + "artifacts":[ + { + "filename":"artifact.zip", + "urls":{ + "HTTP":"http://download-from-url.com", + "HTTPS":"https://download-from-url.com" + }, + "hashes":{ + "md5":"md5hash", + "sha1":"sha1hash" + }, + "size":512 + }], + "metadata":[ + { + "key":"installationType", + "value":"5784K#" + } + ] }] } ``` \ No newline at end of file diff --git a/docs/src/main/resources/documentation/interfaces/management-api.md b/docs/content/apis/management_api.md similarity index 53% rename from docs/src/main/resources/documentation/interfaces/management-api.md rename to docs/content/apis/management_api.md index 19a908232..7062eaa6d 100644 --- a/docs/src/main/resources/documentation/interfaces/management-api.md +++ b/docs/content/apis/management_api.md @@ -1,21 +1,19 @@ ---- -layout: documentation -title: Management-API +--- +title: Management API +parent: API +weight: 81 --- -{% include base.html %} +The Management API is a RESTful API that enables to perform Create/Read/Update/Delete operations for provisioning targets (i.e. devices) and repository content (i.e. software). + -# Management API - -## Overview - -The Management API is a RESTful API that enables to perform Create/Read/Update/Delete operations for provisioning targets (i.e. devices) and repository content (i.e. software). Based on the Management API you can manage and monitor software update operations via HTTP/HTTPS. The _Management API_ supports JSON payload with hypermedia as well as filtering, sorting and paging. Furthermore the Management API provides permission based access control and standard roles as well as custom role creation. +Based on the Management API you can manage and monitor software update operations via HTTP/HTTPS. The _Management API_ supports JSON payload with hypermedia as well as filtering, sorting and paging. Furthermore the Management API provides permission based access control and standard roles as well as custom role creation. The API is protected and needs authentication and authorization based on the security concept. ## API Version -_hawkBit_ provides an consistent Management API interface that guarantees backwards compatibility for future releases by version control. +hawkBit provides an consistent Management API interface that guarantees backwards compatibility for future releases by version control. The current version of the Management API is `version 1 (v1)` with the URI http://localhost:8080/rest/v1/ @@ -30,16 +28,16 @@ Supported HTTP-methods are: Available Management APIs resources are: -- [Targets](managementapi/targets.html) -- [Distribution sets](managementapi/distributionsets.html) -- [Distribution set types](managementapi/distributionsettypes.html) -- [Software modules](managementapi/softwaremodules.html) -- [Software module types](managementapi/softwaremoduletypes.html) -- [Target tag](managementapi/targettag.html) -- [Distribution set tag](managementapi/distributionsettag.html) -- [Rollouts](managementapi/rollouts.html) -- [Target filters](managementapi/targetfilters.html) -- [System configuration](managementapi/tenant.html) +- [Targets](/hawkbit/apis/mgmt/targets/) +- [Distribution sets](/hawkbit/apis/mgmt/distributionsets/) +- [Distribution set types](/hawkbit/apis/mgmt/distributionsettypes/) +- [Software modules](/hawkbit/apis/mgmt/softwaremodules/) +- [Software module types](/hawkbit/apis/mgmt/softwaremoduletypes/) +- [Target tag](/hawkbit/apis/mgmt/targettag/) +- [Distribution set tag](/hawkbit/apis/mgmt/distributionsettag/) +- [Rollouts](/hawkbit/apis/mgmt/rollouts/) +- [Target filters](/hawkbit/apis/mgmt/targetfilters/) +- [System configuration](/hawkbit/apis/mgmt/tenant/) ## Headers @@ -49,7 +47,7 @@ For all requests an `Authorization` header has to be set. * Username: `Tenant\username` * Password: `password` -Also have a look to the [Security](../security/security.html) chapter. +Also have a look to the [Security](../../concepts/authentication/) chapter. In addition, for POST and PUT requests the `Content-Type` header has to be set. Accepted content-types are. @@ -63,7 +61,7 @@ Besides the relevant data (name, description, createdBy etc.) of a resource enti A _Distribution Set_ entity may have for example URIs to artifacts, _Software Modules_, _Software Module Types_ and metadata. -{% highlight json %} +```json "_links": { "artifacts": { "href": "http://localhost:8080/rest/v1/softwaremodules/83/artifacts" @@ -77,4 +75,4 @@ A _Distribution Set_ entity may have for example URIs to artifacts, _Software Mo "metadata": { "href": "http://localhost:8080/rest/v1/softwaremodules/83/metadata?offset=0&limit=50" } -{% endhighlight %} \ No newline at end of file +``` \ No newline at end of file diff --git a/docs/content/apis/mgmt/_index.md b/docs/content/apis/mgmt/_index.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/content/apis/mgmt/distributionsets.md b/docs/content/apis/mgmt/distributionsets.md new file mode 100644 index 000000000..80a19c65e --- /dev/null +++ b/docs/content/apis/mgmt/distributionsets.md @@ -0,0 +1,7 @@ +--- +title: Distribution Sets API +parent: Management API +weight: -101 +--- + + \ No newline at end of file diff --git a/docs/content/apis/mgmt/distributionsettag.md b/docs/content/apis/mgmt/distributionsettag.md new file mode 100644 index 000000000..6ca62043c --- /dev/null +++ b/docs/content/apis/mgmt/distributionsettag.md @@ -0,0 +1,7 @@ +--- +title: Distribution Set Tag API +parent: Management API +weight: -105 +--- + + \ No newline at end of file diff --git a/docs/content/apis/mgmt/distributionsettypes.md b/docs/content/apis/mgmt/distributionsettypes.md new file mode 100644 index 000000000..a0848fc70 --- /dev/null +++ b/docs/content/apis/mgmt/distributionsettypes.md @@ -0,0 +1,7 @@ +--- +title: Distribution Set Types API +parent: Management API +weight: -102 +--- + + \ No newline at end of file diff --git a/docs/content/apis/mgmt/rollouts.md b/docs/content/apis/mgmt/rollouts.md new file mode 100644 index 000000000..ceb219c64 --- /dev/null +++ b/docs/content/apis/mgmt/rollouts.md @@ -0,0 +1,7 @@ +--- +title: Rollouts API +parent: Management API +weight: -106 +--- + + \ No newline at end of file diff --git a/docs/content/apis/mgmt/softwaremodules.md b/docs/content/apis/mgmt/softwaremodules.md new file mode 100644 index 000000000..290003295 --- /dev/null +++ b/docs/content/apis/mgmt/softwaremodules.md @@ -0,0 +1,7 @@ +--- +title: Software Modules API +parent: Management API +weight: -103 +--- + + \ No newline at end of file diff --git a/docs/content/apis/mgmt/softwaremoduletypes.md b/docs/content/apis/mgmt/softwaremoduletypes.md new file mode 100644 index 000000000..986d75121 --- /dev/null +++ b/docs/content/apis/mgmt/softwaremoduletypes.md @@ -0,0 +1,7 @@ +--- +title: Software Module Types API +parent: Management API +weight: -100 +--- + + \ No newline at end of file diff --git a/docs/content/apis/mgmt/targetfilters.md b/docs/content/apis/mgmt/targetfilters.md new file mode 100644 index 000000000..5997669af --- /dev/null +++ b/docs/content/apis/mgmt/targetfilters.md @@ -0,0 +1,7 @@ +--- +title: Target Filters API +parent: Management API +weight: -107 +--- + + \ No newline at end of file diff --git a/docs/content/apis/mgmt/targets.md b/docs/content/apis/mgmt/targets.md new file mode 100644 index 000000000..7bca0eea3 --- /dev/null +++ b/docs/content/apis/mgmt/targets.md @@ -0,0 +1,7 @@ +--- +title: Targets API +parent: Management API +weight: -100 +--- + + \ No newline at end of file diff --git a/docs/content/apis/mgmt/targettag.md b/docs/content/apis/mgmt/targettag.md new file mode 100644 index 000000000..921ff9010 --- /dev/null +++ b/docs/content/apis/mgmt/targettag.md @@ -0,0 +1,7 @@ +--- +title: Target Tag API +parent: Management API +weight: -104 +--- + + \ No newline at end of file diff --git a/docs/content/apis/mgmt/tenant.md b/docs/content/apis/mgmt/tenant.md new file mode 100644 index 000000000..84d880161 --- /dev/null +++ b/docs/content/apis/mgmt/tenant.md @@ -0,0 +1,7 @@ +--- +title: System Configuration API +parent: Management API +weight: -108 +--- + + \ No newline at end of file diff --git a/docs/content/architecture.md b/docs/content/architecture.md new file mode 100644 index 000000000..d5478d46e --- /dev/null +++ b/docs/content/architecture.md @@ -0,0 +1,7 @@ +--- +title: Architecture +weight: 60 +--- + +Overview of hawkBit modules and used 3rd party technology: +![](../images/architecture/architecture.png) \ No newline at end of file diff --git a/docs/content/community.md b/docs/content/community.md new file mode 100755 index 000000000..18fd59174 --- /dev/null +++ b/docs/content/community.md @@ -0,0 +1,35 @@ +--- +title: Community +weight: 90 +--- + +## Presentations + +Here you can find links to arbitrary material covering Eclipse hawkBit which has been presented at events, conferences and meet-ups. + +- 09/23/2015 - Eclipse IoT Working Group meeting - [slides](https://docs.bosch-iot-rollouts.com/slides/hawkBitProposal20150923.html) +- 04/11/2015 - EclipseCon Europe 2015 - [slides](https://docs.bosch-iot-rollouts.com/slides/eclipseCon2015.html) +- 03/09/2016 - EclipseCon North America 2016 - [slides](https://docs.bosch-iot-rollouts.com/slides/eclipseConNA2016.html) +- 05/16/2016 - Eclipse Virtual IoT Meetup - [video](https://www.youtube.com/watch?v=g-dhKMaaanE) - [slides](https://docs.bosch-iot-rollouts.com/slides/virtualIoTMeetup2016.html) +- 03/20/2017 - Eclipse IoT Day SanJose, CA - [video](https://www.youtube.com/watch?v=x5OfBgnYW44) - [slides](https://docs.bosch-iot-rollouts.com/slides/iotDaySanJose2017.pdf) +- 09/12/2017 - Eclipse IoT Day ThingMonk 2017 - [video](https://www.youtube.com/watch?v=7hK-kiQjKGA) +- 01/10/2018 - Eclipse Virtual IoT Meetup - [video](https://www.youtube.com/watch?v=8vcLXs9lc-4) - [slides](https://docs.bosch-iot-rollouts.com/slides/hawkBitIntroduction.html) + +## Articles + +- 10/27/2015 - Why software provisioning goes open source - [article](http://blog.bosch-si.com/categories/technology/2015/10/software-provisioning-goes-open-source-find/) +- 05/25/2016 - jaxenter: Eclipse hawkBit - [english](https://jaxenter.com/eclipse-hawkbit-126445.html) - [german](https://jaxenter.de/eclipse-hawkbit-46372) +- 09/27/2016 - Eclipse Newsletter - 'IoT is the new black' - [article](http://www.eclipse.org/community/eclipse_newsletter/2016/september/article2.php) + + +## Chat +Questions? Problems? Searching for a quick response from the team behind hawkBit and from the hawkBit community, join the [Gitter Chat](https://gitter.im/eclipse/hawkbit). + +## Mailing List +A great way to stay up to date with hawkBit activity is to subscribe to the Mailing list provided by Eclipse. Sign up for the mailing list [here](https://dev.eclipse.org/mailman/listinfo/hawkbit-dev). + +## Issue Tracker +Issues and bugs related to hawkBit are tracked with the Github Issue tracking system. If you find any issues, please report them [here](https://github.com/eclipse/hawkbit/issues). + +## Contributing +An overview of the contribution process is [here](https://wiki.eclipse.org/Development_Resources/Contributing_via_Git). Checkout the [Contribution Guidelines](https://github.com/eclipse/hawkbit/blob/master/CONTRIBUTING.md) on the Eclipse hawkBit GitHub Repository. \ No newline at end of file diff --git a/docs/content/concepts/authentication.md b/docs/content/concepts/authentication.md new file mode 100644 index 000000000..d9d8d756c --- /dev/null +++ b/docs/content/concepts/authentication.md @@ -0,0 +1,73 @@ +--- +title: Authentication +parent: Concepts +weight: 51 +--- + +A hawkBit update server can be accessed in four different ways: + +- _Direct Device Integration (DDI) API_ by **targets**. +- _Management API_ by 3rd party **applications**. +- _Device Management Federation (DMF) API_ by 3rd party **applications** through AMQP. +- _Management UI_ by **users**. + + + +## DDI API Authentication Modes + +### Security Token + +hawkBit supports multiple ways to authenticate a target against the server. The different authentication modes can be individual enabled and disabled within hawkBit. Both on system level (with Spring Boot properties) as per individual tenant. + +#### Target Security Token Authentication +There is a 32 alphanumeric character security-token for each created target within IoT hawkBit. This token can be used to authenticate the target at hawkBit through the HTTP-Authorization header with the custom scheme _TargetToken_. + +``` +GET /SPDEMO/controller/v1/0e945f95-9117-4500-9b0a-9c6d72fa6c07 HTTP/1.1 +Host: your.hawkBit.server +Authorization: TargetToken bH7XXAprK1ChnLfKSdtlsp7NOlPnZAYY +``` + +The target security token is provided in [DMF API](../../apis/dmf_api/) as part of the update message in order to allow DMF clients to leverage the feature or can it be manually retrieved per target by [Management API](../../apis/management_api/) or in the [Management UI](../../ui) in the target details. + +Note: needs to be enabled in your hawkBit installation **and** in the tenant configuration. That allows both the operator as well as the individual customer (if run in a multi-tenant setup) to enable this access method. See [DdiSecurityProperties](https://github.com/eclipse/hawkbit/blob/master/hawkbit-security-core/src/main/java/org/eclipse/hawkbit/security/DdiSecurityProperties.java) for system wide enablement. + +The additional activation for the individual tenant: + +![Enable Target Token](../../images/security/targetToken.png) + +#### Gateway Security Token Authentication +Often the targets are connected through a gateway which manages the targets directly and as a result are indirectly connected to the hawkBit update server. + +To authenticate this gateway and allow it to manage all target instances under its tenant there is a _GatewayToken_ to authenticate this gateway through the HTTP-Authorization header with a custom scheme _GatewayToken_. This is of course also handy during development or for testing purposes. However, we generally recommend to use this token with care as it allows to act _in the name of_ any device. + +``` +GET /SPDEMO/controller/v1/0e945f95-9117-4500-9b0a-9c6d72fa6c07 HTTP/1.1 +Host: your.hawkBit.server +Authorization: GatewayToken 3nkswAZhX81oDtktq0FF9Pn0Tc0UGXPW +``` + +Note: needs to be enabled in your hawkBit installation **and** in the tenant configuration. That allows both the operator as well as the individual customer (if run in a multi-tenant setup) to enable this access method. See [DdiSecurityProperties](https://github.com/eclipse/hawkbit/blob/master/hawkbit-security-core/src/main/java/org/eclipse/hawkbit/security/DdiSecurityProperties.java) for system wide enablement. + +The additional activation for the individual tenant: + +![Enable Gateway Token](../../images/security/gatewayToken.png) + +#### Anonymous access +Here we offer general anonymous access for all targets (see [DdiSecurityProperties](https://github.com/eclipse/hawkbit/blob/master/hawkbit-security-core/src/main/java/org/eclipse/hawkbit/security/DdiSecurityProperties.java)) which we consider not really sufficient for a production system but it might come in handy to get a project started in the beginning. + +However, anonymous download on the other side might be interesting even in production for scenarios where the artifact itself is already encrypted. + +The activation for the individual tenant: + +![Enable Anonymous Download](../../images/security/anonymousDownload.png) + +## DMF API +Authentication is provided by _RabbitMQ_ [vhost and user credentials](https://www.rabbitmq.com/access-control.html) that is used for the integration. + +## Management API +- Basic Auth + +## Management UI +- Login Dialog + diff --git a/docs/content/concepts/authorization.md b/docs/content/concepts/authorization.md new file mode 100644 index 000000000..ad75f9cd0 --- /dev/null +++ b/docs/content/concepts/authorization.md @@ -0,0 +1,62 @@ +--- +title: Authorization +parent: Concepts +weight: 52 +--- + +Authorization is handled separately for _Direct Device Integration (DDI) API_ and _Device Management Federation (DMF) API_ (where successful authentication includes full authorization) and _Management API_ and _UI_ which is based on Spring security [authorities](https://github.com/eclipse/hawkbit/blob/master/hawkbit-security-core/src/main/java/org/eclipse/hawkbit/im/authentication/SpPermission.java). + + +However, keep in mind that hawkBit does not offer an off the shelf authentication provider to leverage these permissions and the underlying multi user/tenant capabilities of hawkBit. Check out [Spring security documentation](http://projects.spring.io/spring-security/) for further information. In hawkBit [SecurityAutoConfiguration](https://github.com/eclipse/hawkbit/blob/master/hawkbit-autoconfigure/src/main/java/org/eclipse/hawkbit/autoconfigure/security/SecurityAutoConfiguration.java) is a good starting point for integration. + +The default implementation is single user/tenant with basic auth and the logged in user is provided with all permissions. + +## DDI API +An authenticated target is permitted to: +- retrieve commands from the server +- provide feedback to the the server +- download artifacts that are assigned to it + +A target might be permitted to download artifacts without authentication (if enabled, see above). Only the download can be permitted to disable the authentication. This can be used in scenarios where the artifacts itself are e.g. signed and secured. + +## Management API and UI + +### Delivered Permissions +- READ_/UPDATE_/CREATE_/DELETE_TARGETS for: + - Target entities including metadata (that includes also the installed and assigned distribution sets) + - Target tags + - Target actions + - Target registration rules + - Bulk operations + - Target filters + +- READ_/UPDATE_/CREATE_/DELETE_REPOSITORY for: + - Distribution sets + - Software Modules + - Artifacts + - DS tags + +- READ_TARGET_SECURITY_TOKEN + - Permission to read the target security token. The security token is security concerned and should be protected. + +- DOWNLOAD_REPOSITORY_ARTIFACT + - Permission to download artifacts of an software module (Note: READ_REPOSITORY allows only to read the metadata). + +- TENANT_CONFIGURATION + - Permission to administrate the tenant settings. + +- ROLLOUT_MANAGEMENT + - Permission to provision targets through rollouts. + +### Permission Matrix for example uses cases that need more than one permission + +Use Case | Needed permissions +-------------------------------------------------------------------------- | -------------------------------------------------- +Search _targets_ by installed or assigned _distribution set_ | READ_TARGET, READ_REPOSITORY +Assign _DS_ to a _target_ | READ_REPOSITORY, UPDATE_TARGET +Assign DS to target through a _Rollout_, i.e. _Rollout_ creation and start | READ_REPOSITORY, UPDATE_TARGET, ROLLOUT_MANAGEMENT +Read _Rollout_ status including its _deployment groups_ | ROLLOUT_MANAGEMENT +Checks _targets_ inside _Rollout deployment group_ | READ_TARGET, ROLLOUT_MANAGEMENT + +## Device Management Federation API +The provided _RabbitMQ_ [vhost and user](https://www.rabbitmq.com/access-control.html) should be provided with the necessary permissions to send messages to hawkBit through the exchange and receive messages from it through the specified queue. diff --git a/docs/src/main/resources/documentation/architecture/datamodel.md b/docs/content/concepts/datamodel.md similarity index 86% rename from docs/src/main/resources/documentation/architecture/datamodel.md rename to docs/content/concepts/datamodel.md index 06873a788..0fc84f5ab 100644 --- a/docs/src/main/resources/documentation/architecture/datamodel.md +++ b/docs/content/concepts/datamodel.md @@ -1,21 +1,21 @@ --- -layout: documentation title: Data Model +parent: Concepts +weight: 53 --- -{% include base.html %} -# Data Model The hawkBit data model was designed to have enough flexibility to define complex software structures (e.g. operating system, runtimes, apps, different kind of artifacts) on one side and simplicity compared to the capabilities of a full blown configuration management on the other. + It does define a hierarchy of software that starts with a distribution, which can have (sub-)modules and these may have multiple artifacts. However, it does not consider any kind of dependency definitions between modules or artifacts. As a result dependency checks if necessary have to be done outside hawkBit, i.e. on the device itself or before the entity creation in hawkBit by the origin. -Provisioning Target Definition +## Provisioning Target Definition A Provisioning Target is a neutral definition that may be an actual real device (e.g. gateway, embedded sensor) or a virtual device (e.g. vehicle, smart home). The definition in hawkBit might reflect the transactional behavior if necessary on the device side. A vehicle might be updated device by device or as a whole. As a result one way of defining a vehicle in hawkBit could be to have one all inclusive Software Module or one module per (sub-) device. -Software Structure Definition +## Software Structure Definition The structure defines the model of the supported software by the provisioning target @@ -32,16 +32,18 @@ Artifact: binaries for a software module. Note: the decision which artifacts hav e.g. Full package, signatures, binary deltas -Entity Relationships +## Entity Relationships The public defined entities and their relation which are reflected by the Management API. -Deleting and Archiving Software Modules +## Deleting and Archiving Software Modules When a user deletes a Software Module, the update server cannot simply remove all the corresponding data. Because when the Software Module is already assigned to a Distribution Set or was assigned to a Target in the past, the hawkBit server has to make sure that remains a clean and full update history for every target. The history contains all information (e.g. name, version) of the software, which was assigned to a specific Target. Obviously storing the binary data of the artifacts is not necessary for the history purpose. The delete process which is performed, when there are historical connections to targets is called SoftDelete. This process marks the Software Module as deleted and removes the artifact, but it won't delete the meta data, which describes the SoftwareModule and the associated Artifacts. SoftwareModules, which are marked as delete won't be visible for the user, when he is requesting all SoftwareModules. Just in case there are no connections to Distribution Sets and targets the server will perform a HardDelete. This process deletes all stored data, including all meta information. -Note: in case of of a SoftDelete the unique constraints are still in place, i.e. you cannot create an entity with the same name/key. This constraint might be removed in future versions because of the impact on the user experience (i.e. he does not see the soft deleted module but cannot create a new one). \ No newline at end of file +{{% note %}} +In case of of a SoftDelete the unique constraints are still in place, i.e. you cannot create an entity with the same name/key. This constraint might be removed in future versions because of the impact on the user experience (i.e. he does not see the soft deleted module but cannot create a new one). +{{% /note %}} \ No newline at end of file diff --git a/docs/src/main/resources/documentation/architecture/rollout-management.md b/docs/content/concepts/rollout-management.md similarity index 84% rename from docs/src/main/resources/documentation/architecture/rollout-management.md rename to docs/content/concepts/rollout-management.md index d55fa493f..6a84ec30e 100644 --- a/docs/src/main/resources/documentation/architecture/rollout-management.md +++ b/docs/content/concepts/rollout-management.md @@ -1,14 +1,14 @@ --- -layout: documentation title: Rollout Management +parent: Concepts +weight: 54 --- -{% include base.html %} - Software update operations in large scale IoT scenarios with hundreds of thousands of devices require special handling. + That includes: -- _Technical Scalability_ by means of horizontal scale of the _hawkBit_ server cluster in the cloud. +- _Technical Scalability_ by means of horizontal scale of the hawkBit server cluster in the cloud. - _Global_ artifact _content delivery_ capacities. - _Functional Scalability_ by means of: - Secure handling of large volumes of devices at rollout creation time. @@ -17,7 +17,7 @@ That includes: - Reporting capabilities for a complete understanding of the rollout progress at each point in time. -Eclipse _hawkBit_ sees these capabilities under the term Rollout Management. +Eclipse hawkBit sees these capabilities under the term Rollout Management. The following capabilities are currently supported by the _Rollout Management_: - Create, update and start of rollouts. @@ -43,7 +43,7 @@ The cascading execution of the deployment groups is based on two thresholds that ## Rollout state machine ### State Machine on Rollout -![](../images/rolloutstatediagram.png){:width="100%" .image-center} +![](../../images/rolloutstatediagram.png) ### State Machine on Rollout Deployment Group -![](../images/rolloutgroupstatediagram.png){:width="100%" .image-center} +![](../../images/rolloutgroupstatediagram.png) diff --git a/docs/src/main/resources/documentation/architecture/targetstate.md b/docs/content/concepts/targetstate.md similarity index 87% rename from docs/src/main/resources/documentation/architecture/targetstate.md rename to docs/content/concepts/targetstate.md index f1f348e12..9962c592c 100644 --- a/docs/src/main/resources/documentation/architecture/targetstate.md +++ b/docs/content/concepts/targetstate.md @@ -1,15 +1,13 @@ --- -layout: documentation title: Target State Machine +parent: Concepts +weight: 55 --- -{% include base.html %} - -# Target States - A target has a current state which reflects the provisioning status of the device at this point in time. State changes are driven either by the update server by means of starting an update or by the controller on the provisioning target that gives feedback to the update server, e.g. "I am here", "I am working on a provisioning", "I have finished a provisioning". + -# Defined states +## Defined states State | Description ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- @@ -19,5 +17,5 @@ PENDING | Installation of assigned _Distribution Set_ is not yet confirmed. ERROR | Installation of assigned _Distribution Set_ has failed. REGISTERED | Target registered at the update server but no _Distribution Set_ assigned. Is the initial starting point for plug-and-play devices. -# Transitions -![](../images/architecture/targetStatusStates.png){:width="100%"} +## Transitions +![](../../images/architecture/targetStatusStates.png) diff --git a/docs/src/main/resources/documentation/overview/features.md b/docs/content/features.md similarity index 92% rename from docs/src/main/resources/documentation/overview/features.md rename to docs/content/features.md index 0cd3e3f93..eea58763d 100644 --- a/docs/src/main/resources/documentation/overview/features.md +++ b/docs/content/features.md @@ -1,22 +1,19 @@ --- -layout: documentation title: Features +weight: 40 --- -{% include base.html %} -# Feature overview - -### Device and software repository +## Device and software repository - Repository that holds the provisioning targets and assignable software distributions. - That includes a full software update history for every device. - Support for pre-commission devices in the repository and plug and play, i.e. device is created if it is authenticated for the first time. -### Update Management +## Update Management - Directly deploy a defined software distribution to a device (by Management UI or API). - Update handling is independent of the device type, integration approach or connectivity. -### Management UI/Console +## Management UI - Create/Read/Update/Delete operations for provisioning targets (i.e. devices) and repository content (i.e. software). - Manage and monitor software update operations. - Optimized for professional users, e.g. administrators, developers and 2nd/3rd level support staff. @@ -28,7 +25,7 @@ title: Features - All information on one page. - Optional integration with Bosch IoT Permissions service for full multi user support with fine granular permission based authorization. -### Artifact Content Delivery +## Artifact Content Delivery - Partial downloads supported. - Download resume supported (RFC7233). - Content management by RESTful API and UI (see above). @@ -36,13 +33,14 @@ title: Features - Delta artifact hosting supported. - Artifact signature hosting supported. -### Rollout/Campaign Management +## Rollout/Campaign Management - Secure handling of large volumes of devices at rollout creation time. - Flexible deployment group definition as part of a rollout. - Monitoring of the rollout progress. - Emergency rollout shutdown in case of update failures. ## Interfaces + ### Management API - RESTful API - Create/Read/Update/Delete operations for provisioning targets (i.e. devices) and repository content (i.e. software). diff --git a/docs/content/gettingstarted.md b/docs/content/gettingstarted.md new file mode 100755 index 000000000..1a4404e46 --- /dev/null +++ b/docs/content/gettingstarted.md @@ -0,0 +1,57 @@ +--- +title: Getting Started +weight: 20 +--- + +## From Docker Image + +### Update server only + +```sh +$ docker run -d -p 8080:8080 hawkbit/hawkbit-update-server +``` + +### Updates server + MySql + RabbitMq + +```sh +$ git clone https://github.com/eclipse/hawkbit.git +$ cd hawkbit/hawkbit-runtime/hawkbit-update-server/docker +$ docker-compose up -d +``` + +## From Sources + +### Clone and build hawkBit +```sh +$ git clone https://github.com/eclipse/hawkbit.git +$ cd hawkbit +$ mvn clean install +``` + +### Start hawkBit +[update server](https://github.com/eclipse/hawkbit/tree/master/hawkbit-runtime/hawkbit-update-server) + +```sh +$ java -jar ./hawkbit-runtime/hawkbit-update-server/target/hawkbit-update-server-#version#-SNAPSHOT.jar +``` + +### Build hawkBit examples + +```sh +$ git clone https://github.com/eclipse/hawkbit-examples.git +$ cd hawkbit-examples +$ mvn clean install +``` + +### Start hawkBit device simulator +[Device Simulator](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-device-simulator) +```sh +$ java -jar ./hawkbit-device-simulator/target/hawkbit-device-simulator-#version#.jar +``` + +### Generate Getting Started data +[Example Management API Client](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-example-mgmt-simulator) + +```sh +$ java -jar ./hawkbit-example-mgmt-simulator/target/hawkbit-example-mgmt-simulator-#version#.jar +``` \ No newline at end of file diff --git a/docs/src/main/resources/documentation/guide/clustering.md b/docs/content/guides/clustering.md similarity index 61% rename from docs/src/main/resources/documentation/guide/clustering.md rename to docs/content/guides/clustering.md index 380772378..16da2c811 100644 --- a/docs/src/main/resources/documentation/guide/clustering.md +++ b/docs/content/guides/clustering.md @@ -1,50 +1,48 @@ --- -layout: documentation title: Clustering +parent: Guides +weight: 33 --- -{% include base.html %} +hawkBit is able to run in a cluster with some constraints. This guide provides insights in the basic concepts and how to setup your own cluster. You can find additional information in the [hawkBit runtimes's README](https://github.com/eclipse/hawkbit/blob/master/hawkbit-runtime/hawkbit-update-server/README.md). + -# Cluster +## Big picture -_hawkBit_ is able to run in a cluster with some constraints. This guide provides insights in the basic concepts and how to setup your own cluster. You can find additional information in the [hawkbit runtimes's README](https://github.com/eclipse/hawkbit/blob/master/hawkbit-runtime/hawkbit-update-server/README.md). +![](../../images/overall_cluster.png) -# Big picture - -![](../images/overall_cluster.png){:width="100%"} - -# Events +## Events Event communication between nodes is based on [Spring Cloud Bus](https://cloud.spring.io/spring-cloud-bus/) and [Spring Cloud Stream](http://docs.spring.io/spring-cloud-stream/docs/current/reference/htmlsingle/). There are different [binder implementations](http://docs.spring.io/spring-cloud-stream/docs/current/reference/htmlsingle/#_binders) available. The _hawkbit Update Server_ uses RabbitMQ binder. Every node gets his own queue to receive cluster events, the default payload is JSON. If an event is thrown locally at one node, it will be automatically delivered to all other available nodes via the Spring Cloud Bus's topic exchange: -![](../images/eventing-within-cluster.png){:width="100%"} +![](../../images/eventing-within-cluster.png) Via the ServiceMatcher you can check whether an event happened locally at one node or on a different node. `serviceMatcher.isFromSelf(event)` -# Caching +## Caching Every node is maintaining its own caches independent from other nodes. So there is no globally shared/synchronized cache instance within the cluster. In order to keep nodes in sync a TTL (time to live) can be set for all caches to ensure that after some time the cache is refreshed from the database. To enable the TTL just set the property "hawkbit.cache.global.ttl" (value in milliseconds). Of course you can implement a shared cache, e.g. Redis. See [CacheAutoConfiguration](https://github.com/eclipse/hawkbit/blob/master/hawkbit-autoconfigure/src/main/java/org/eclipse/hawkbit/autoconfigure/cache/CacheAutoConfiguration.java) -# Schedulers +## Schedulers Every node has multiple schedulers which run after a defined period of time. All schedulers always run on every node. This has to be kept in mind e.g. if the scheduler executes critical code which has to be executed only once. -# Known constraints +## Known constraints -## UI sessions -As of today _hawkBit_ isn't storing user sessions in a shared, clusterwide cache. Session is only bound to the node where the login took place. If this node is going down for whatever reason, the session is lost and the user is forced to login again. +### UI sessions +As of today hawkBit is not storing user sessions in a shared, cluster wide cache. Session is only bound to the node where the login took place. If this node is going down for whatever reason, the session is lost and the user is forced to login again. In case that's not an option, you can help yourself by introducing a shared session cache based on e.g. Redis. -Furthermore _hawkBit_ isn't supporting session stickiness out of the box either. However most of the well known load balancers out there can solve this issue. +Furthermore hawkBit is not supporting session stickiness out of the box either. However most of the well known load balancer out there can solve this issue. -## Caching of download IDs +### Caching of download IDs The downloadId is generated and stored in the DownloadIdCache. It is used for downloading an artifact. -In _hawkbit_ exists an interface called "[DownloadIdCache](https://github.com/eclipse/hawkbit/blob/master/hawkbit-core/src/main/java/org/eclipse/hawkbit/cache/DownloadIdCache.java)" and one implementation of it: "DefaultDownloadIdCache". This default implementation can't be used within a cluster. Its containing data is only available inside one node and can't be shared with other nodes. E.g. the downloadId which is stored in this cache after authentication on node A can only be used for downloading the artifact by node A. +In hawkBit exists an interface called "[DownloadIdCache](https://github.com/eclipse/hawkbit/blob/master/hawkbit-core/src/main/java/org/eclipse/hawkbit/cache/DownloadIdCache.java)" and one implementation of it: "DefaultDownloadIdCache". This default implementation can't be used within a cluster. Its containing data is only available inside one node and can't be shared with other nodes. E.g. the downloadId which is stored in this cache after authentication on node A can only be used for downloading the artifact by node A. In a cluster-capable environment this fact can lead to issues as it could happen, that the downloadId is stored on node A and node B would like to download the artifact by means of the downloadId which is not available on node B. To solve this issue you can use a cluster-shared cache e.g. Redis or create a new cluster-aware implementation of the interface "DownloadIdCache". -## Denial-of-Service (DoS) filter -_hawkbit_ owns the feature of guarding itself from DoS attacks, a [DoS filter](https://github.com/eclipse/hawkbit/blob/master/hawkbit-security-core/src/main/java/org/eclipse/hawkbit/security/DosFilter.java). It reduces the maximum number of requests per seconds which can be configured for read and write requests. +### Denial-of-Service (DoS) filter +hawkBit owns the feature of guarding itself from DoS attacks, a [DoS filter](https://github.com/eclipse/hawkbit/blob/master/hawkbit-security-core/src/main/java/org/eclipse/hawkbit/security/DosFilter.java). It reduces the maximum number of requests per seconds which can be configured for read and write requests. This mechanism is only working for every node separately, i.e. in a cluster environment the worst-case behaviour would be that the maximum number of requests per seconds will be increased to its product if every request is handled by a different node. The same constraint exists with the validator to check if a user tried too many logins within a defined period of time. diff --git a/docs/src/main/resources/documentation/guide/customtheme.md b/docs/content/guides/customtheme.md similarity index 83% rename from docs/src/main/resources/documentation/guide/customtheme.md rename to docs/content/guides/customtheme.md index 172db179c..7b0caad51 100644 --- a/docs/src/main/resources/documentation/guide/customtheme.md +++ b/docs/content/guides/customtheme.md @@ -1,21 +1,19 @@ --- -layout: documentation -title: Clustering +title: Custom Theme +parent: Guides +weight: 34 --- -{% include base.html %} +This guide provides details about using and creating themes that control the visual look of Eclipse hawkBit Management UI. Theme customization is done using Sass, which is an extension of CSS (Cascading Style Sheets). + -# Custom Theme +The mechanism described below is the rather simple case by customizing the theme by means of configuring a set of variables as defined by the hawkBit default theme. A full customization be means of copying the hawkBit theme and customize it completely is not described here but of course possible. -This guide provides details about using and creating themes that control the visual look of Eclipse _hawkBit_ Management UI. Theme customization is done using Sass, which is an extension of CSS (Cascading Style Sheets). - -The mechanism described below is the rather simple case by customizing the theme by means of configuring a set of variables as defined by the _hawkBit_ default theme. A full customization be means of copying the _hawkBit_ theme and customize it completely is not described here but of course possible. - -# Example App +## Example App An example application with customized theme can be found [here](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-custom-theme-example). -# Overview +## Overview Vaadin separates the appearance of the user interface from its logic using themes. Themes can include Sass or CSS style sheets, custom HTML layouts, and any necessary graphics. Theme resources can also be accessed from application code as ThemeResource objects. Custom themes are placed under the src/main/resources/VAADIN/themes/ folder of the application. @@ -26,15 +24,15 @@ If a new custom theme has to be created, it should always be placed under the sr Every custom theme should always refer the base theme and customization can be done by the use of variables mentioned in the XXXXvariable.scss. For details of the creation of the custom theme please refer the next section. -# Procedure to create a theme +## Procedure to create a theme - Create a new folder **"XXXtheme"** (significant to the new theme) under src/main/resources/VAADIN/themes/ folder. - Create a folder named as **"customstyles"**. - Create a **XXXvariables.scss** file under **customstyles** folder, putting all the variables inside the same file. For more details about the variables we recommend to take a look at the [hawkBit defaults](https://github.com/eclipse/hawkbit/blob/master/hawkbit-ui/src/main/resources/VAADIN/themes/hawkbit/customstyles/hawkbitvariables.scss). - Create **styles.scss** file under the **"XXXtheme"** folder. - Any images should be placed under the sub folder **"images"** folder. -- Within the **_styles.scss_** file, import **XXXvariables.scss** and the base theme (hawkbit theme as mentioned in previous chapter **Overview** . Please find below the syntax: +- Within the **_styles.scss_** file, import **XXXvariables.scss** and the base theme (hawkBit theme as mentioned in previous chapter **Overview** . Please find below the syntax: - ``` + ```css @import "../hawkbit/customstyles/hawkbitvariables"; @import "customstyles/examplevariables"; @import "../hawkbit/hawkbittheme"; @@ -48,5 +46,5 @@ Every custom theme should always refer the base theme and customization can be d - Finally the structure should be as in the [example app](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-custom-theme-example/src/main/resources/VAADIN). -# Procedure to add a custom footer +## Procedure to add a custom footer - Any footer can be added by creating "footer.html" in **src/main/resources --> VAADIN -- themes --> {XXXtheme} --> layouts** folder. An example can be found [here](https://github.com/eclipse/hawkbit/blob/master/hawkbit-ui/src/main/resources/VAADIN/themes/hawkbit/layouts/footer.html). \ No newline at end of file diff --git a/docs/src/main/resources/documentation/guide/feignclient.md b/docs/content/guides/feignclient.md similarity index 74% rename from docs/src/main/resources/documentation/guide/feignclient.md rename to docs/content/guides/feignclient.md index e8ead5074..865946f4e 100644 --- a/docs/src/main/resources/documentation/guide/feignclient.md +++ b/docs/content/guides/feignclient.md @@ -1,21 +1,23 @@ --- -layout: documentation -title: Clustering +title: Feign Client +parent: Guides +weight: 32 --- -{% include base.html %} +In this guide we describe how to create a [Feign](https://github.com/Netflix/feign) Rest Client based on a [Spring Boot](http://projects.spring.io/spring-boot/) Application. + -# Create Feign REST Client -In this guide we describe how to create a [Feign](https://github.com/Netflix/feign) Rest Client based on a [Spring Boot](http://projects.spring.io/spring-boot/) Application. hawkBit provides REST interfaces for [Management API](https://github.com/eclipse/hawkbit/tree/master/hawkbit-ddi-api) and [DDI API] (https://github.com/eclipse/hawkbit/tree/master/hawkbit-ddi-api). Using this interfaces you can create a feign client with the help of the [feign inheritance support] (http://projects.spring.io/spring-cloud/spring-cloud.html#spring-cloud-feign-inheritance). +## Create Feign REST Client +hawkBit provides REST interfaces for [Management API](https://github.com/eclipse/hawkbit/tree/master/hawkbit-ddi-api) and [DDI API](https://github.com/eclipse/hawkbit/tree/master/hawkbit-ddi-api). Using this interfaces you can create a feign client with the help of the [feign inheritance support](http://projects.spring.io/spring-cloud/spring-cloud.html#spring-cloud-feign-inheritance). Our [example](https://github.com/eclipse/hawkbit-examples) modules demonstrate how to create [Feign](https://github.com/Netflix/feign) client resources. Here you can find the [Management API client resources](hhttps://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-example-mgmt-feign-client) and the [DDI client resources](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-example-ddi-feign-client). A small [simulator application](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-example-mgmt-simulator) demonstrates how you can interact with the hawkBit via the [Management API ](http://www.eclipse.org/hawkbit/documentation/interfaces/management-api.html). -### Example Managment API simulator +## Example Management API simulator -In the follow code section, you can a see a feign client resource example. The interface extend the orgin api inteface to declare the `@FeignClient`. The `@FeignClient`declares that a REST client with that interface should be created. +In the follow code section, you can a see a feign client resource example. The interface extend the origin api interface to declare the `@FeignClient`. The `@FeignClient`declares that a REST client with that interface should be created. -``` +```Java @FeignClient(url = "${hawkbit.url:localhost:8080}/" + MgmtRestConstants.TARGET_V1_REQUEST_MAPPING) public interface MgmtTargetClientResource extends MgmtTargetRestApi { } @@ -23,7 +25,7 @@ public interface MgmtTargetClientResource extends MgmtTargetRestApi { This interface can be autowired and use as a normal java interface: -``` +```Java public class CreateStartedRolloutExample { @Autowired @@ -40,7 +42,7 @@ public class CreateStartedRolloutExample { At [hawkbit-example-core-feign-client](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-example-core-feign-client) is a spring configuration to auto configure some beans, which can be reused for a own feign client. -``` +```Java @Configuration @ConditionalOnClass(Feign.class) @Import(FeignClientsConfiguration.class) diff --git a/docs/src/main/resources/documentation/guide/runhawkbit.md b/docs/content/guides/runhawkbit.md similarity index 70% rename from docs/src/main/resources/documentation/guide/runhawkbit.md rename to docs/content/guides/runhawkbit.md index 948b56f81..ba58a5df6 100644 --- a/docs/src/main/resources/documentation/guide/runhawkbit.md +++ b/docs/content/guides/runhawkbit.md @@ -1,19 +1,18 @@ --- -layout: documentation title: Run hawkBit +parent: Guides +weight: 31 --- -{% include base.html %} +In this guide we describe how to run a full featured hawkBit setup based on a production ready infrastructure. It is based on the hawkBit example modules and update server. + -# Run hawkBit -In this guide we describe how to run a full featured hawkBit setup based on a production ready infrastructure. It is based on the _hawkBit_ example modules and update server. +{{% note %}} +The update server can in fact be run stand alone. However, only with an embedded H2, no Device Management Federation API and no artifact storage. +{{% /note %}} -Note: the update server can in fact be run [stand alone](https://github.com/eclipse/hawkbit/tree/master/hawkbit-runtime/hawkbit-update-server). However, only with an embedded H2, no [Device Management Federation API](../interfaces/dmf-api.html) and no artifact storage. - -This guide will focus on a complete setup that includes all _hawkBit_ features. - -# System Architecture +## System Architecture This guide describes a target architecture that is more like one that you will expect in a production system. - hawkBit [Update Server](https://github.com/eclipse/hawkbit/tree/master/hawkbit-runtime/hawkbit-update-server). @@ -23,62 +22,58 @@ This guide describes a target architecture that is more like one that you will e - [hawkBit Device Simulator](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-device-simulator). - [hawkBit Management API example client](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-mgmt-api-client). -# Prerequisites +## Prerequisites - You have a working [hawkBit core build](https://github.com/eclipse/hawkbit). - You have a working [hawkBit examples build](https://github.com/eclipse/hawkbit-examples). -# Steps - ## Adapt hawkBit Update Server and Device Simulator to your environment. -As mentioned you can create your own application with _hawkBit_ inside or adapt the existing example app. The second option will be shown here. +As mentioned you can create your own application with hawkBit inside or adapt the existing example app. The second option will be shown here. ### Set MariaDB dependency to compile in the [update server POM](https://github.com/eclipse/hawkbit/blob/master/hawkbit-runtime/hawkbit-update-server/pom.xml) -{% highlight plaintext %} +```xml org.mariadb.jdbc mariadb-java-client compile -{% endhighlight %} - +``` ### Configure MariaDB/MySQL connection settings. For this you can either edit the existing *application.properties* or create a [new profile](http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-external-config-profile-specific-properties). -{% highlight plaintext %} +``` spring.jpa.database=MYSQL spring.datasource.url=jdbc:mysql://localhost:3306/YOUR_SCHEMA spring.datasource.username=YOUR_USER spring.datasource.password=YOUR_PWD spring.datasource.driverClassName=org.mariadb.jdbc.Driver -{% endhighlight %} +``` ### Configure RabbitMQ connection settings for update server and device simulator (optional). We provide already defaults that should work with a standard Rabbit installation. Otherwise configure the following in the `application.properties` of the two services: -{% highlight plaintext %} +``` spring.rabbitmq.username=guest spring.rabbitmq.password=guest spring.rabbitmq.virtualHost=/ spring.rabbitmq.host=localhost spring.rabbitmq.port=5672 -{% endhighlight %} +``` ### Adapt hostname of example scenario [creation script](https://github.com/eclipse/hawkbit-examples/blob/master/hawkbit-example-mgmt-simulator/src/main/resources/application.properties) Should only be necessary if your system does not run on localhost or uses a different port than the example app. Adapt `application.properties` in this case: -{% highlight plaintext %} +``` hawkbit.url=localhost:8080 -{% endhighlight %} - +``` or provide the parameter on command line: -{% highlight plaintext %} +``` hawkbit-example-mgmt-simulator-##VERSION##.jar --hawkbit.url=YOUR_HOST:PORT -{% endhighlight %} +``` ## Compile & Run @@ -88,14 +83,14 @@ see [update server](https://github.com/eclipse/hawkbit/tree/master/hawkbit-runti ### Compile & Run example scenario [creation script](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-example-mgmt-simulator) (optional). -This has to be done before the device simulator is started. _hawkBit_ creates the mandatory tenant metadata with first login into either _Management UI_ or API (which is done by this client). +This has to be done before the device simulator is started. hawkBit creates the mandatory tenant metadata with first login into either _Management UI_ or API (which is done by this client). -However, this is not done by _DMF_ which is in fact used by the device simulator, i.e. without calling _Management API_ first _hawkBit_ would drop all _DMF_ messages as the tenant is unknown. +However, this is not done by _DMF_ which is in fact used by the device simulator, i.e. without calling _Management API_ first hawkBit would drop all _DMF_ messages as the tenant is unknown. ### Compile & Run device simulator (optional). see [device simulator](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-device-simulator) -## Enjoy hawkBit with a real database, artifact storage and all [interfaces](../interfaces/interfaces.html) available. +# Enjoy hawkBit with a real database, artifact storage and all [interfaces](../../apis/) available. -![](../images/gettingStartedResult.png){:width="100%"} +![](../../images/hawkbit_ui.png) diff --git a/docs/src/main/resources/news/2018-07-26-first-release.md b/docs/content/news/2018-07-26-first-release.md similarity index 93% rename from docs/src/main/resources/news/2018-07-26-first-release.md rename to docs/content/news/2018-07-26-first-release.md index 91b79daf2..767a5cccc 100644 --- a/docs/src/main/resources/news/2018-07-26-first-release.md +++ b/docs/content/news/2018-07-26-first-release.md @@ -1,15 +1,8 @@ --- -layout: news -title: First release -date: 2018-07-26 08:00:00 -section: news -author: -name: Jeroen Laverman -id: laverman +title: Eclipse hawkBit 0.2.0 - First Release +weight: -200 --- -# Eclipse hawkBit 0.2.0 - First Release - hawkBit is a domain-independent back-end framework for rolling out software updates to constrained edge devices as well as more powerful controllers and gateways connected to IP based networking infrastructure. It is part of the Eclipse IoT since 2015 and with version _0.2.0_ a first release is available. @@ -35,7 +28,7 @@ The features are accessible via the following interfaces: * Direct Device Integration (DDI) API * Device Management Federation (DMF) API -![hawkBit Overview](../img/hawkBit_overview.jpeg){:width="60%" .image-center} +![hawkBit Overview](../../images/hawkBit_overview.jpeg) ## What's new? @@ -55,7 +48,7 @@ multiple (or all `CTRL` + `A`) items can be selected and removed at once using t faster and more intuitive, it also saves a lot of display real estate which can now be used to focus on what is important. We hope you like this change as much as we do! _(Requires: hawkBit > 0.2.2)_ -![Screenshot of improved UI](../img/hawkbit_ui.png){:width="60%" .image-center} +![Screenshot of improved UI](../../images/hawkbit_ui.png) ### MS SQL Server @@ -85,7 +78,9 @@ To start the hawkBit Update Server image, open a terminal and run: ``` $ docker run -d -p 8080:8080 hawkbit/hawkbit-update-server ``` -> _Note: This requires a running [Docker deamon](https://docs.docker.com/install/) on your system._ +{{% note %}} +_Note: This requires a running [Docker deamon](https://docs.docker.com/install/) on your system._ +{{% /note %}} Now, browse to [http://localhost:8080](http://localhost:8080) and log-in with `admin:admin`. There you go! diff --git a/docs/content/news/_index.md b/docs/content/news/_index.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/content/release-notes.md b/docs/content/release-notes.md new file mode 100755 index 000000000..56b152f0b --- /dev/null +++ b/docs/content/release-notes.md @@ -0,0 +1,32 @@ +--- +title: Release Notes +weight: 100 +--- + +## 0.2.1 + +**Release Date:** Friday, July 6, 2018
+[Tag](https://github.com/eclipse/hawkbit/releases/tag/0.2.1) / +[Release](https://github.com/eclipse/hawkbit/milestone/9?closed=1) + + +## 0.2.0 + +First Eclipse hawkBit release including: + +* **Core features:** + * Device and Software Repository + * Update Management Management UI/Console + * Artifact Content Delivery + * Rollout/Campaign Management + +* **Interfaces:** + * Management API + * Direct Device Integration (DDI) API + * Device Management Federation (DMF) API + +**Release Date:** Friday, June 15, 2018
+[Tag](https://github.com/eclipse/hawkbit/releases/tag/0.2.0) / +[Release](https://github.com/eclipse/hawkbit/milestone/1?closed=1) / +[Eclipse](https://projects.eclipse.org/projects/iot.hawkbit/releases/0.2.0) + \ No newline at end of file diff --git a/docs/content/rest-api/_index.md b/docs/content/rest-api/_index.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/src/main/resources/documentation/interfaces/management-ui.md b/docs/content/ui.md similarity index 83% rename from docs/src/main/resources/documentation/interfaces/management-ui.md rename to docs/content/ui.md index 69f07e15d..ec9e374cc 100644 --- a/docs/src/main/resources/documentation/interfaces/management-ui.md +++ b/docs/content/ui.md @@ -1,11 +1,9 @@ --- -layout: documentation -title: Management-UI +title: Management UI +weight: 70 --- -{% include base.html %} - -The _hawkBit_ Management UI provides several views for the different use cases: +The hawkBit Management UI provides several views for the different use cases: - _Deployment Management_ view for target administration and manual deployment. - _Distribution Management_ view software repository metadata management. @@ -13,13 +11,13 @@ The _hawkBit_ Management UI provides several views for the different use cases: - _Target Filter Management_ view to manage target filters that can be used both in Deployment and Rollout Management views. - _Rollout Management_ for large scale rollout orchestration. -# Deployment Management +## Deployment Management -## Purpose +### Purpose Target status overview, target management and manual deployments. -## Feature explained +### Feature explained - Target Status: check status of all targets. - Target list allows filters based on: - Assigned/installed _DistributionSet_ (drag and drop a set on the filter icon on the top of the list) @@ -47,42 +45,41 @@ Controller_id_1,targetName1 Controller_id_2,targetName2 ``` -![Deployment Management view](../images/ui/deployment_mgmt.png){:width="100%"} +![Deployment Management view](../images/ui/deployment_mgmt.png) -# Distribution Management +## Distribution Management -## Purpose +### Purpose Distribution Set view to manage software repository metadata, i.e. Distribution Sets, their Software Modules and the respective types. -## Features explained +### Features explained - Browse, create, delete and update Distribution Sets. - Browse, create, delete and update Distribution Set Types. - Browse, create, delete and update Software Modules. - Browse, create, delete and update Software Module Types. - Assign Software Modules to Distribution Sets. -![Distribution Management view](../images/ui/distribution_mgmt.png){:width="100%"} +![Distribution Management view](../images/ui/distribution_mgmt.png) -# Artifact Management +## Artifact Management -## Purpose +### Purpose Software artifact management, both metadata (i.e. Software Modules) and artifacts themselves. -## Features explained -Allows to: +### Features explained - Browse, create, delete and update Software Modules. - Browse, create, delete and update Software Module Types. - Upload and delete software artifacts for a module. -![Artifact Management view](../images/ui/artifact_mgmt.png){:width="100%"} +![Artifact Management view](../images/ui/artifact_mgmt.png) -# Rollout Management +## Rollout Management -## Purpose +### Purpose Software rollout in large scale, rollout status overview and rollout management. -## Features explained +### Features explained - Create, update, copy and delete of rollouts. - Start, pause and resume of rollouts. - Progress monitoring for the entire rollout and the individual groups. @@ -94,24 +91,25 @@ Software rollout in large scale, rollout status overview and rollout management. - _Trigger threshold_ to define the percentage of installation to be completed , to trigger the start of next group - _Error threshold_ defines the percentage of error tolerance of a group before calling for a emergency shutdown of a rollout -![Rollout Management view](../images/ui/rollout_mgmt.png){:width="100%"} +![Rollout Management view](../images/ui/rollout_mgmt.png) -![Rollout Management view](../images/ui/rollout_groups.png){:width="100%"} +![Rollout Management view](../images/ui/rollout_groups.png) -## Note -- Deletion of targets which are in a rollout, changes the rollout statistics. +{{% note %}} +Deletion of targets which are in a rollout, changes the rollout statistics. +{{% /note %}} -# Target Filter Management +## Target Filter Management -## Purpose +### Purpose Custom target filter overview and filter management. -## Features explained +### Features explained - Custom target filter allows user to filter targets by defining custom query. - Displays custom target filter list and user can search any particular filter. - Create, update and delete features are supported for target filters. -## How to Filter +### How to Filter The basic syntax to filter is: `fieldvalue fieldvalue <...>` - `field`: is the name of the resource field. - `value`: is the value of the target field @@ -126,18 +124,18 @@ The basic syntax to filter is: `fieldvalue - Use `=IN=` for 'in' parameter.(Example: name=IN=(target1,target2). - Use `*` for wildcard matches. -## Examples +### Examples Custom query | Description ------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- updatestatus==error | Gives all targets in ‘error’ state. -controllerId!=192.168.2.42 | Gives all targets that don't have the controllerId 192.168.2.42. +controllerId!=192.168.2.42 | Gives all targets that do not have the controllerId 192.168.2.42. name==\*CCU\* | Gives all targets which contain the term ‘CCU’ in there name. name==\*CCU\* or description==\*CCU\* | Gives all targets that either have the term ‘CCU’ in their name or their description. name==\*SHC\* and description==\*SHC\* | Gives all targets that have the term SHC in their name and their description. name==CCU* and updatestatus==pending | Gives all targets with their name starting with ‘CCU’ and which are in ‘pending’ state. (assignedds.name==‘ECU-DS’ and description==test) or updatestatus!=error | Gives all targets which are either assigned to ‘ECU-DS’ and have description equals to ‘test’ or which are not in error status. -(updatestatus!=In\_sync or updatestatus!=error) and name==\*SHC1\* | Gives all targets that don't have the updatestatus In\_sync or error and that contains the term SHC1 in their name. +(updatestatus!=In\_sync or updatestatus!=error) and name==\*SHC1\* | Gives all targets that do not have the update status In\_sync or error and that contains the term SHC1 in their name. (updatestatus!=error or updatestatus!=pending) and (name==\*CCU\* or description==\*CCU\*) | Gives all targets that either have the term ‘CCU’ in their name or their description and that either have the _update status_ not in state error or pending. -![Target Filter Management view](../images/ui/target_filter.png){:width="100%"} +![Target Filter Management view](../images/ui/target_filter.png) diff --git a/docs/src/main/resources/documentation/overview/introduction.md b/docs/content/whatishawkbit.md old mode 100644 new mode 100755 similarity index 83% rename from docs/src/main/resources/documentation/overview/introduction.md rename to docs/content/whatishawkbit.md index ab720f1d2..9fd1f9b5a --- a/docs/src/main/resources/documentation/overview/introduction.md +++ b/docs/content/whatishawkbit.md @@ -1,27 +1,19 @@ --- -layout: documentation -title: Introduction +title: What is hawkBit? +weight: 10 --- +Eclipse hawkBit™ is an domain-independent back-end framework for rolling out software updates to constrained edge devices as well as more powerful controllers and gateways connected to IP based networking infrastructure. -{% include base.html %} +![](../images/hawkbit_logo.png) -## Overview - -![](../images/hawkbit_logo.png?){:width="300px" .image-left} -
-
-
-hawkBit is an domain independent back-end framework for rolling out software updates to constrained edge devices as well as more powerful controllers and gateways connected to IP based networking infrastructure. -
- -## Motivation for Software Updates in IoT -Having software update capabilities ensures a secure IoT by means that it gives IoT projects a fighting chance against pandoras box that they opened the moment their devices got connected. From that moment on devices are at the forefront of IT security threats many embedded software developers historically never had to face. Shipping for instance a Linux powered device connected to the Internet without any security updates ever applied during its lifetime is kind of a suicidal act these days. +## Why Software Updates in IoT? +Having software update capabilities ensures a secure IoT by means that it gives IoT projects a fighting chance against pandora's box that they opened the moment their devices got connected. From that moment on devices are at the forefront of IT security threats many embedded software developers historically never had to face. Shipping for instance a Linux powered device connected to the Internet without any security updates ever applied during its lifetime is kind of a suicidal act these days. A more charming argument for software update is that it enables agile development for hardware and hardware near development. Concepts like a minimum viable product can be applied for devices as not all features need to be ready at manufacturing time. Changes on the cloud side of the IoT project can be applied to the devices at runtime as well. Sometimes Software Update is a business model on its own as it makes devices much more attractive to the customer if they are updateable, i.e. they do not only buy a product because of its current feature set but make also a bet on its future capabilities. In addition new revenue streams may arise from the fact that feature extensions can potentially be monetized (e.g. Apps) without the need to design, manufacture and ship a new device (revision). -## Motivation for hawkBit +## Why hawkBit? **Updating software** (components) on constrained edge devices as well as more powerful controllers and gateways is as mentioned before a **common requirement** in most IoT scenarios. @@ -36,12 +28,13 @@ Existing **device management systems** usually **lack** the capability to **effi At the same time the wide functional scope of a full fledged **device management system introduces unnecessary (and unwanted) complexity** to many IoT projects. This is particularly true for IoT solutions working with constrained devices where requirements regarding generic device management are often very limited only but a secure & reliable software update process is still mandatory. As a result we have the need for a domain independent solution + * that works for the majority of IoT projects * that goes beyond the pure update and handles more complex **roll out strategies** needed by large scale IoT projects. * that at the same time is **focused on software updates** in the IoT space * and that is able to work on its own for simple scenarios while having the capability to integrate with existing device management systems and protocols. -# Requirements to a _cloud ready_ IoT Software Update system +## Cloud Ready * **Technical Scalability**: connect millions of devices and ship terabytes of software on a global scale. * **Functional Scalability**: rollouts with hundreds of thousands of individual devices in it. diff --git a/docs/install-theme.sh b/docs/install-theme.sh new file mode 100644 index 000000000..f59387f62 --- /dev/null +++ b/docs/install-theme.sh @@ -0,0 +1,36 @@ +# +# Copyright (c) 2018 Bosch Software Innovations GmbH and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# + +# This script checks if 'hugo' is installed. Afterwards, the Hugo theme is downloaded. + +#!/bin/bash + + +hugo version +if [ $? != 0 ] +then + echo "[ERROR] Please install Hugo first before proceeding." + exit 1 +fi + +echo "[INFO] " +echo "[INFO] Install Hugo Theme" +HUGO_THEMES=themes/hugo-material-docs + +if [ ! -d ${HUGO_THEMES} ] +then + git submodule add --force https://github.com/digitalcraftsman/hugo-material-docs.git ${HUGO_THEMES} + echo "[INFO] ... done" +else + echo "[INFO] ... theme already installed in: ${HUGO_THEMES}" +fi + +echo "[INFO] " +echo "[INFO] Launch the documentation locally by running 'mvn site' (or 'hugo server' in the docs directory)," +echo "[INFO] and browse to 'http://localhost:1313/hawkbit/'. " \ No newline at end of file diff --git a/docs/layouts/404.html b/docs/layouts/404.html new file mode 100755 index 000000000..e69de29bb diff --git a/docs/layouts/_default/list.html b/docs/layouts/_default/list.html new file mode 100755 index 000000000..7dfa867bc --- /dev/null +++ b/docs/layouts/_default/list.html @@ -0,0 +1,50 @@ +{{ partial "head" . }} + + +
+
+
+ + + + + +
+ {{ partial "header" . }} +
+ +
+
+ {{ partial "drawer" . }} +
+ +
+
+

Pages in {{ .Title }}

+ + {{ range .Data.Pages }} + +

{{ .Title }}

+
+ +
+ {{ printf "%s" .Summary | markdownify }}
[...] + +
+ {{ end }} + + {{ partial "copyright.html" . }} +
+
+ +
+
+
+
+
+
+
+
+
+ +{{ partial "footer_js" . }} \ No newline at end of file diff --git a/docs/layouts/_default/single.html b/docs/layouts/_default/single.html new file mode 100755 index 000000000..1bd39f226 --- /dev/null +++ b/docs/layouts/_default/single.html @@ -0,0 +1,49 @@ +{{ partial "head" . }} + +{{ if (eq (trim .Site.Params.provider " " | lower) "github") | and (isset .Site.Params "repo_url") }} + {{ $repo_id := replace .Site.Params.repo_url "https://github.com/" ""}} + {{ .Scratch.Set "repo_id" $repo_id }} +{{ end }} + +
+
+
+ + + + + +
+ {{ partial "header" . }} +
+ +
+
+ {{ partial "drawer" . }} +
+ +
+
+

{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}

+ + {{ .Content }} + + {{ partial "copyright.html" . }} + +
+ {{ partial "footer" . }} +
+
+
+ +
+
+
+
+
+
+
+
+
+ +{{ partial "footer_js" . }} diff --git a/docs/layouts/index.html b/docs/layouts/index.html new file mode 100755 index 000000000..5f32f511b --- /dev/null +++ b/docs/layouts/index.html @@ -0,0 +1,101 @@ +{{ partial "head" . }} + +{{ if (eq (trim .Site.Params.provider " " | lower) "github") | and (isset .Site.Params "repo_url") }} + {{ $repo_id := replace .Site.Params.repo_url "https://github.com/" ""}} + {{ .Scratch.Set "repo_id" $repo_id }} +{{ end }} + +
+
+
+ + + + + +
+ {{ partial "header" . }} +
+ +
+
+ {{ partial "drawer" . }} +
+ +
+
+ +
IoT. Update. Device.
+ +
+

+ Eclipse hawkBit™ is a domain independent back-end framework for rolling out software updates + to constrained + edge devices as well as more powerful controllers and gateways connected to IP based networking + infrastructure. +

+ +

Interfaces

+

+ hawkBit offers a direct device integration via HTTP or a device management federation API + which allows to connect devices with different protocol adapter. Users can make use of the graphical + user interface + and other service can interact with hawkBit through the RESTful management API. +

+ +

Rollout

+
+
+

+ hawkBit supports an easy and flexible rollout management which allows you to update a large + amount of devices in separated groups. +

+
    +
  • Cascading start of the deployment groups based on installation status of the previous + group. +
  • +
  • Emergency shutdown of the rollout in case a group exceeds the defined error threshold. +
  • +
  • Rollout progress monitoring for the entire rollout and the individual groups.
  • +
+
+ +
+
+
+ +
+
+ +

Package Model

+
+
+
+ +
+ +
+

+ A software update does not always contain only a single file. The hawkBit meta model allows + you to configure your files in virtual software and distribution packages. +

+
+
+
+ + {{ partial "copyright.html" . }} + +
+
+ +
+
+
+
+
+
+
+
+
+ +{{ partial "footer_js" . }} diff --git a/docs/layouts/partials/copyright.html b/docs/layouts/partials/copyright.html new file mode 100755 index 000000000..fafdda334 --- /dev/null +++ b/docs/layouts/partials/copyright.html @@ -0,0 +1,33 @@ + diff --git a/docs/layouts/partials/drawer.html b/docs/layouts/partials/drawer.html new file mode 100755 index 000000000..a34ac33d8 --- /dev/null +++ b/docs/layouts/partials/drawer.html @@ -0,0 +1,75 @@ + diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html new file mode 100755 index 000000000..c0017542f --- /dev/null +++ b/docs/layouts/partials/footer.html @@ -0,0 +1,74 @@ +{{ if .IsPage }} +{{ if .Prev | or .Next }} + +{{ end }} +{{ end }} + +{{ if .IsHome }} +{{ if gt (len .Site.Pages) 2 }} + +{{ end }} +{{ end }} diff --git a/docs/layouts/partials/footer_js.html b/docs/layouts/partials/footer_js.html new file mode 100755 index 000000000..3a7df4270 --- /dev/null +++ b/docs/layouts/partials/footer_js.html @@ -0,0 +1,60 @@ + + + + {{ range .Site.Params.custom_js }} + + {{ end }} + + + + + + + diff --git a/docs/layouts/partials/head.html b/docs/layouts/partials/head.html new file mode 100755 index 000000000..8e513d9c8 --- /dev/null +++ b/docs/layouts/partials/head.html @@ -0,0 +1,81 @@ + + + + + + + + + + + + {{ .Title }}{{ if not .IsHome }} - {{ .Site.Title }}{{ end }} + {{ .Hugo.Generator }} + + {{ with .Site.Params.description }} + + {{ end }} + + {{ with .Site.Params.author }} + + {{ end }} + + + {{ with .Site.Title }}{{ end }} + {{ with .Site.Params.logo }}{{ end }} + {{ with .Site.Title }}{{ end }} + + + + + + + + + + + + + + {{/* set default values if no custom ones are defined */}} + {{ $text := or .Site.Params.font.text "Roboto" }} + {{ $code := or .Site.Params.font.code "Roboto Mono" }} + + + + {{ range .Site.Params.custom_css }} + + {{ end }} + + + + {{ with .RSSLink }} + + + {{ end }} + + + + diff --git a/docs/layouts/partials/header.html b/docs/layouts/partials/header.html new file mode 100755 index 000000000..ac3214b2b --- /dev/null +++ b/docs/layouts/partials/header.html @@ -0,0 +1,57 @@ + \ No newline at end of file diff --git a/docs/layouts/partials/nav_link.html b/docs/layouts/partials/nav_link.html new file mode 100755 index 000000000..2bdd8d0c4 --- /dev/null +++ b/docs/layouts/partials/nav_link.html @@ -0,0 +1,13 @@ +{{ $currentMenuEntry := .Scratch.Get "currentMenuEntry" }} +{{ $isCurrent := eq .Permalink ($currentMenuEntry.URL | absURL | printf "%s") }} + + + + {{ $currentMenuEntry.Pre }} + {{ $currentMenuEntry.Name }} + + +{{ if $isCurrent }} +
    +
+{{ end }} \ No newline at end of file diff --git a/docs/layouts/shortcodes/note.html b/docs/layouts/shortcodes/note.html new file mode 100755 index 000000000..73b276a7f --- /dev/null +++ b/docs/layouts/shortcodes/note.html @@ -0,0 +1,4 @@ +
+

{{ .Get "title" }}

+

{{ printf "%s" .Inner | markdownify }}

+
\ No newline at end of file diff --git a/docs/layouts/shortcodes/warning.html b/docs/layouts/shortcodes/warning.html new file mode 100755 index 000000000..16f397835 --- /dev/null +++ b/docs/layouts/shortcodes/warning.html @@ -0,0 +1,4 @@ +
+

{{ .Get "title" }}

+

{{ printf "%s" .Inner | markdownify }}

+
\ No newline at end of file diff --git a/docs/pom.xml b/docs/pom.xml index 8c25e5e93..0a5c7f1da 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -1,6 +1,6 @@ - - - jekyll-unix - - true - - - - rubygems-proxy - Rubygems Proxy - http://rubygems-proxy.torquebox.org/releases - default - - true - - - false - never - - - - - - - de.saumya.mojo - gem-maven-plugin - 1.1.5 - - - generate-documentation - - exec - - generate-resources - - ${project.build.directory}/rubygems/bin/jekyll - build --trace --source ${project.basedir}/src/main/resources --destination ${project.build.outputDirectory} --config ${project.basedir}/src/main/resources/${jekyll.config} - - - - - jekyll-serve - - exec - - - ${project.build.directory}/rubygems/bin/jekyll - serve --trace --source ${project.basedir}/src/main/resources --destination ${project.build.outputDirectory} --config ${project.basedir}/src/main/resources/${jekyll.config} - - none - - - - true - 9.0.5.0 - true - false - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack-api-docs - generate-resources - - unpack - - - - - org.eclipse.hawkbit - hawkbit-rest-docs - ${project.version} - jar - true - ${basedir}/target/classes/documentation/ - ** - - - - - - - - - - - - rubygems - jekyll - gem - true - - - - - - - jekyll-windows - - - windows - - - - - - org.codehaus.mojo - exec-maven-plugin - - - generate-documentation - - exec - - generate-resources - - Jekyll - - build - --trace - --source - ${project.basedir}/src/main/resources - --destination - ${project.build.outputDirectory} - --config - ${project.basedir}/src/main/resources/${jekyll.config} - - - - - - jekyll-serve - - exec - - - Jekyll - - serve - --trace - --source - ${project.basedir}/src/main/resources - --destination - ${project.build.outputDirectory} - --config - ${project.basedir}/src/main/resources/${jekyll.config} - - - none - - - - true - 9.0.5.0 - true - false - - - - - - - - maven-assembly-plugin - - - src/main/resources/assembly.xml - - + org.apache.maven.plugins + maven-dependency-plugin - make-assembly - package + unpack-api-docs + prepare-package - single + unpack + + + + org.eclipse.hawkbit + hawkbit-rest-docs + ${project.version} + jar + true + ${basedir}/content/ + **/*.html + + + + + + + + org.codehaus.mojo + exec-maven-plugin + ${exec-maven-plugin.version} + + + install-hugo-theme + + exec + + install + + /bin/bash + ${project.basedir} + + install-theme.sh + + + + + serve + + exec + + site + + hugo + ${project.basedir} + + server + + + + + cleanup + + exec + + clean + + /bin/bash + ${project.basedir} + + cleanup.sh + + - - - - rubygems - jekyll - 3.1.2 - gem - - - rubygems - liquid - gem - 3.0.6 - - - rubygems - kramdown - gem - 1.10.0 - - - rubygems - mercenary - gem - 0.3.5 - - - rubygems - safe_yaml - gem - 1.0.4 - - - rubygems - colorator - gem - 0.1 - - - rubygems - rouge - gem - 1.10.1 - - - rubygems - jekyll-sass-converter - gem - 1.4.0 - - - rubygems - sass - gem - 3.4.22 - - - rubygems - jekyll-watch - gem - 1.3.1 - - - rubygems - listen - gem - 3.0.6 - - - rubygems - rb-fsevent - gem - 0.9.7 - - - rubygems - rb-inotify - gem - 0.9.7 - - - rubygems - ffi - gem - 1.9.10 - - - rubygems - celluloid-essentials - 0.20.5 - gem - - - rubygems - celluloid-supervision - gem - 0.20.5 - - - rubygems - yajl-ruby - gem - 1.2.1 - - - rubygems - bundler - gem - 1.11.2 - - - \ No newline at end of file diff --git a/docs/src/main/resources/AhawkBit.md b/docs/src/main/resources/AhawkBit.md deleted file mode 100644 index 35e9eb37e..000000000 --- a/docs/src/main/resources/AhawkBit.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: default -date : "2015-06-22T11:08:19+08:00" -title : "What is Eclipse hawkBit" -series : "homepagetop" -sequence: "1" -order : "1" -imagename : "hawkbit transparency.png" -animatestyle: "slideInRight" -style: "thumb5" -fadeduration: "4" ---- - -hawkBit is a domain independent back-end framework for rolling out software updates to constrained edge devices as well as more powerful controllers and gateways connected to IP based networking infrastructure. \ No newline at end of file diff --git a/docs/src/main/resources/Binterfaces.md b/docs/src/main/resources/Binterfaces.md deleted file mode 100644 index 8f8209e8f..000000000 --- a/docs/src/main/resources/Binterfaces.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: default -title : "Interfaces" -series : "homepagetop" -sequence: "2" -order : 2 -imagename : "hawkBit_overview.jpeg" -style: "thumb1" -animatestyle: "fadeIn" -fadestyle: "fadeIn" -fadeduration: "4" ---- - -hawkBit offers a direct device integration via HTTP or an device management federation API which allows you to connect devices with different protocol adapter. Users can make use of the graphical user interface and other service can interact with hawkBit through the RESTful management API. diff --git a/docs/src/main/resources/CRollout.md b/docs/src/main/resources/CRollout.md deleted file mode 100644 index d163e084f..000000000 --- a/docs/src/main/resources/CRollout.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -layout: default -title : "Rollout" -series : "homepagetop" -sequence: "5" -order : 3 -imagename : "rollout.png" -style: "thumb1" -animatestyle: "fadeIn" -fadestyle: "fadeIn" -fadeduration: "4" ---- -hawkBit supports an easy and flexible rollout management which allows you to update a large amount of devices in separated groups. - -- Cascading start of the deployment groups based on installation status of the previous group. -- Emergency shutdown of the rollout in case a group exceeds the defined error threshold. -- Rollout progress monitoring for the entire rollout and the individual groups. \ No newline at end of file diff --git a/docs/src/main/resources/DPackageModel.md b/docs/src/main/resources/DPackageModel.md deleted file mode 100644 index 3d2e34378..000000000 --- a/docs/src/main/resources/DPackageModel.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: default -title : "Package Model" -series : "homepagetop" -sequence: "7" -order : 4 -imagename : "packagemodel.png" -style: "thumb1" -animatestyle: "fadeIn" -fadestyle: "fadeIn" -fadeduration: "4" ---- - -A software update does not always contain only a single file. The hawkBit meta model allows you to configure your files in virtual software and distribution packages. \ No newline at end of file diff --git a/docs/src/main/resources/_data/doclinks.yml b/docs/src/main/resources/_data/doclinks.yml deleted file mode 100644 index b104b4a8e..000000000 --- a/docs/src/main/resources/_data/doclinks.yml +++ /dev/null @@ -1,53 +0,0 @@ -- title: "Introduction" - href: "" - sub: - - title: "Overview" - href: "/documentation/overview/introduction.html" - - title: "Features" - href: "/documentation/overview/features.html" - - title: "Getting Started" - href: "/documentation/overview/getting-started.html" - -- title: "Concepts" - href: "" - sub: - - title: "Architecture" - href: "/documentation/architecture/architecture.html" - - title: "Data model" - href: "/documentation/architecture/datamodel.html" - - title: "Target States" - href: "/documentation/architecture/targetstate.html" - - title: "Rollout Management" - href: "/documentation/architecture/rollout-management.html" - -- title: "Interfaces" - href: "" - sub: - - title: "Overview" - href: "/documentation/interfaces/interfaces.html" - - title: "Management UI" - href: "/documentation/interfaces/management-ui.html" - - title: "Management API" - href: "/documentation/interfaces/management-api.html" - - title: "DDI API" - href: "/documentation/interfaces/ddi-api.html" - - title: "DMF API" - href: "/documentation/interfaces/dmf-api.html" - -- title: "Security" - href: "" - sub: - - title: "Overview" - href: "/documentation/security/security.html" - -- title: "Guides" - href: "" - sub: - - title: "Build and Run hawkBit" - href: "/documentation/guide/runhawkbit.html" - - title: "Clustering" - href: "/documentation/guide/clustering.html" - - title: "Theme Customization" - href: "/documentation/guide/customtheme.html" - - title: "Create Feign Client" - href: "/documentation/guide/feignclient.html" diff --git a/docs/src/main/resources/_data/menus.yml b/docs/src/main/resources/_data/menus.yml deleted file mode 100644 index bd11d3dc8..000000000 --- a/docs/src/main/resources/_data/menus.yml +++ /dev/null @@ -1,2 +0,0 @@ -- name: Documentation - url: documentation/overview/introduction.html \ No newline at end of file diff --git a/docs/src/main/resources/_includes/base.html b/docs/src/main/resources/_includes/base.html deleted file mode 100644 index a84dca6cb..000000000 --- a/docs/src/main/resources/_includes/base.html +++ /dev/null @@ -1,13 +0,0 @@ - - -{% assign base = '.' %} -{% assign depth = page.url | split: '/' | size | minus: 1 %} -{% if page.permalink != null %} - {% assign depth = depth | plus: 1 %} -{% endif %} -{% if depth == 1 %}{% assign base = '.' %} -{% elsif depth == 2 %}{% assign base = '..' %} -{% elsif depth == 3 %}{% assign base = '../..' %} -{% elsif depth == 4 %}{% assign base = '../../..' %} -{% elsif depth == 5 %}{% assign base = '../../../..' %} -{% elsif depth == 6 %}{% assign base = '../../../../..' %}{% endif %} \ No newline at end of file diff --git a/docs/src/main/resources/_includes/footer.html b/docs/src/main/resources/_includes/footer.html deleted file mode 100644 index 893744e14..000000000 --- a/docs/src/main/resources/_includes/footer.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - \ No newline at end of file diff --git a/docs/src/main/resources/_includes/header.html b/docs/src/main/resources/_includes/header.html deleted file mode 100644 index 8ee0dd949..000000000 --- a/docs/src/main/resources/_includes/header.html +++ /dev/null @@ -1,34 +0,0 @@ - - -{% include base.html %} - - diff --git a/docs/src/main/resources/_includes/headhomepagesection.html b/docs/src/main/resources/_includes/headhomepagesection.html deleted file mode 100644 index 000f3b183..000000000 --- a/docs/src/main/resources/_includes/headhomepagesection.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - {% include base.html %} - Eclipse hawkBit - IoT Software Update - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/src/main/resources/_includes/headsection.html b/docs/src/main/resources/_includes/headsection.html deleted file mode 100644 index ed1930327..000000000 --- a/docs/src/main/resources/_includes/headsection.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - {% include base.html %} - Eclipse hawkBit - IoT Software Update - - - - - - - - - - - - - - - - - - diff --git a/docs/src/main/resources/_includes/homepagebottom.html b/docs/src/main/resources/_includes/homepagebottom.html deleted file mode 100644 index ec3feb228..000000000 --- a/docs/src/main/resources/_includes/homepagebottom.html +++ /dev/null @@ -1,54 +0,0 @@ -
-

Community

-{% for main in site.pages %} -{% if main.series == 'homepagebottom' %} -
-
-
- -
- -
-
{{ main.content }}
-
-
-
-{% endif %} - -{% if main.series == 'homepageAddProjects' %} -
-
- - - - - -
- - -
-

- -
-
-
-{% endif %} -{% endfor %} - -
diff --git a/docs/src/main/resources/_includes/homepagecontributors.html b/docs/src/main/resources/_includes/homepagecontributors.html deleted file mode 100644 index e9041ea80..000000000 --- a/docs/src/main/resources/_includes/homepagecontributors.html +++ /dev/null @@ -1,18 +0,0 @@ -
-

Existing Contributors

-
-{% for main in site.pages reversed %} -{% if main.series == 'homepagecontributors' %} -
-
- -
-
- -
-
- {% endif %} - -{% endfor %} -
- diff --git a/docs/src/main/resources/_includes/homepageheader.html b/docs/src/main/resources/_includes/homepageheader.html deleted file mode 100644 index 58a005a1d..000000000 --- a/docs/src/main/resources/_includes/homepageheader.html +++ /dev/null @@ -1,36 +0,0 @@ - - -{% include base.html %} - - - diff --git a/docs/src/main/resources/_includes/homepagemiddle.html b/docs/src/main/resources/_includes/homepagemiddle.html deleted file mode 100644 index f0287abd0..000000000 --- a/docs/src/main/resources/_includes/homepagemiddle.html +++ /dev/null @@ -1,36 +0,0 @@ - - -
- -{% for main in site.pages %} - -
- -
-
-

Devices

-

Easy to connect devices to either the direct device protocol using HTTP or integrate with any protocol your device is talking and build an device to hawkBit-DMF adapter.

- -
-
-

User Interface

-

The user interface allows to manage and monitor your software update process for either a small group of devices till monitor a large software rollout.

- -
-
-

Cloud Ready

-

hawkBit is based on the spring-boot project and allows you to adapt and deploy it to any cloud-platform

- - -
- -
- -
- - - - {% endfor %} - -
-
\ No newline at end of file diff --git a/docs/src/main/resources/_includes/homepagetop.html b/docs/src/main/resources/_includes/homepagetop.html deleted file mode 100644 index 005f5e5b0..000000000 --- a/docs/src/main/resources/_includes/homepagetop.html +++ /dev/null @@ -1,44 +0,0 @@ - -{% for main in site.pages %} - {% if main.series == 'homepagetop' %} - {% capture thecycle %}{% cycle 'odd', 'even' %}{% endcapture %} -
- {% if thecycle == 'odd' %} - - - {% if main.videourl %} -
- - - - -
- - {% endif %} - - {% else %} - - {% if main.videourl %} -
- - - -
- {% endif %} - {% endif %} - {% if main.fadeduration %} -
- {% else %} -
- - {% endif %} -

{{ main.title}}

-

{{ main.content }}

-
-
-
- {% endif %} - -{% endfor %} diff --git a/docs/src/main/resources/_includes/submenu.html b/docs/src/main/resources/_includes/submenu.html deleted file mode 100644 index 70cdb80e5..000000000 --- a/docs/src/main/resources/_includes/submenu.html +++ /dev/null @@ -1,21 +0,0 @@ -{% include base.html %} -{% for menu in include.level %} - {% if menu.sub != null %} -
  • - {{ menu.title }} - -
  • - {% else %} -
  • - {% if menu.href contains 'https://' or menu.href contains 'http://' %} - {{ menu.title }} - {% else %} - {{ menu.title }} - {% endif %} - -
  • - {% endif %} -{% endfor %} diff --git a/docs/src/main/resources/_layouts/blog.html b/docs/src/main/resources/_layouts/blog.html deleted file mode 100644 index 23d2c1145..000000000 --- a/docs/src/main/resources/_layouts/blog.html +++ /dev/null @@ -1,78 +0,0 @@ ---- -layout: default ---- -{% include base.html %} -
    -
    -
    - - -
    -
    - - -

    {{page.title}}

    - -
    - {{ content }} - - {% if page.videourl %} - - - {% endif %} - - -
    - - -{% if paginator.total_pages > 1 %} - -{% endif %} -
    diff --git a/docs/src/main/resources/_layouts/blog_summary.html b/docs/src/main/resources/_layouts/blog_summary.html deleted file mode 100644 index 9962d26d4..000000000 --- a/docs/src/main/resources/_layouts/blog_summary.html +++ /dev/null @@ -1,113 +0,0 @@ ---- -layout: default ---- -{% include base.html %} -
    -
    - - -
    - -
    - -
    - -{% for blog in site.pages reversed %} - {% if blog.section == 'blog' %} - -

    {{blog.title}}

    - -
    - {% if blog.content contains '' %} - {{ blog.content | split:'' | first }} - Read More... - {% else %} - {{ blog.content }} - {% endif %} -
    - {% endif %} - {% endfor %} - - -
    -
    - -
    -

    Blogs Overview

    - -
    - - -
    - - -
    -
    - - -{% if paginator.total_pages > 1 %} - - -{% endif %} \ No newline at end of file diff --git a/docs/src/main/resources/_layouts/default.html b/docs/src/main/resources/_layouts/default.html deleted file mode 100644 index bfaddf974..000000000 --- a/docs/src/main/resources/_layouts/default.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - {% include headsection.html %} - - - {% include header.html %} - {{ content }} - {% include footer.html %} - - - - diff --git a/docs/src/main/resources/_layouts/documentation.html b/docs/src/main/resources/_layouts/documentation.html deleted file mode 100644 index a15440a42..000000000 --- a/docs/src/main/resources/_layouts/documentation.html +++ /dev/null @@ -1,33 +0,0 @@ - - - {% include headsection.html %} - - {% include header.html %} -
    - - - -
    -
    -
    -
    -
    -
    - {{ content }} -
    -
    -
    -
    -
    -
    -
    - {% include footer.html %} - - - diff --git a/docs/src/main/resources/_layouts/downloads.html b/docs/src/main/resources/_layouts/downloads.html deleted file mode 100644 index 24cc3cb6e..000000000 --- a/docs/src/main/resources/_layouts/downloads.html +++ /dev/null @@ -1,82 +0,0 @@ ---- -layout: default ---- -{% include base.html %} - -
    -
    -
    - -
    -
    - - {% for download in site.pages %} - {% if download.section == 'downloadsA' %} - - - - -
    -
    - -
    - - - - - - - - - - - -
    -hawkBit -Download hawkBit through these sources -
    -
    -
    -
    - - - - - - - - - - - - - -
    -
    -
    - -
    - -
    -
    -

    Source code

    -

    The source code for Eclipse hawkBit is available on Github

    -
    -
    -{% endif %} -{% endfor %} -
    \ No newline at end of file diff --git a/docs/src/main/resources/_layouts/homepage.html b/docs/src/main/resources/_layouts/homepage.html deleted file mode 100644 index c695c6ecf..000000000 --- a/docs/src/main/resources/_layouts/homepage.html +++ /dev/null @@ -1,27 +0,0 @@ - - - {% include headhomepagesection.html %} - - - {% include homepageheader.html %} - -
    -
    -
    -

    IoT. Update. Device.

    -
    -
    -
    - - -
    - {% include homepagetop.html %} - {% include homepagemiddle.html %} - {% include homepagebottom.html %} - -
    - - - {% include footer.html %} - - diff --git a/docs/src/main/resources/_layouts/news.html b/docs/src/main/resources/_layouts/news.html deleted file mode 100644 index a86a26c4b..000000000 --- a/docs/src/main/resources/_layouts/news.html +++ /dev/null @@ -1,31 +0,0 @@ ---- -layout: default ---- -{% include base.html %} - -
    -
    -
    - -
    -
    - - - -

    {{page.title}}

    - - -
    - {{ content }} -
    -
    diff --git a/docs/src/main/resources/_layouts/news_summary.html b/docs/src/main/resources/_layouts/news_summary.html deleted file mode 100644 index 97e933d01..000000000 --- a/docs/src/main/resources/_layouts/news_summary.html +++ /dev/null @@ -1,65 +0,0 @@ ---- -layout: default ---- -{% include base.html %} - -
    -
    -
    - -
    -
    -
    -
    - {% for news in site.pages reversed %} - {% if news.section == 'news' %} - -

    {{news.title}}

    - - -
    - {% if news.content contains '' %} - {{ news.content | split:'' | first }} - Read More... - {% else %} - {{ news.content }} - {% endif %} -
    - {% endif %} - {% endfor %} -
    -
    -
    -

    News Overview

    - -
    - - - -
    -
    - -
    diff --git a/docs/src/main/resources/_layouts/overview.html b/docs/src/main/resources/_layouts/overview.html deleted file mode 100644 index dabd8bca9..000000000 --- a/docs/src/main/resources/_layouts/overview.html +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: default ---- -{% include base.html %} -
    -
    -
    - -
    -
    - -

    {{page.title}}

    -
    - {{ content }} -
    -
    diff --git a/docs/src/main/resources/assembly.xml b/docs/src/main/resources/assembly.xml deleted file mode 100644 index a8891e5de..000000000 --- a/docs/src/main/resources/assembly.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - site - / - - zip - - - - ${project.build.outputDirectory} - / - - - \ No newline at end of file diff --git a/docs/src/main/resources/blog/index.md b/docs/src/main/resources/blog/index.md deleted file mode 100644 index 2ff4b2ede..000000000 --- a/docs/src/main/resources/blog/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -layout: blog_summary -permalink: /blog/ ---- \ No newline at end of file diff --git a/docs/src/main/resources/css/animate.css b/docs/src/main/resources/css/animate.css deleted file mode 100644 index 60f0c962c..000000000 --- a/docs/src/main/resources/css/animate.css +++ /dev/null @@ -1,2744 +0,0 @@ -@charset "UTF-8"; - - -/*! -Animate.css - http://daneden.me/animate -Licensed under the MIT license - -Copyright (c) 2013 Daniel Eden - -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. -*/ - -.animated { - -webkit-animation-duration: 1s; - animation-duration: 1s; - -webkit-animation-fill-mode: both; - animation-fill-mode: both; -} - -.animated.hinge { - -webkit-animation-duration: 2s; - animation-duration: 2s; -} - -@-webkit-keyframes bounce { - 0%, 20%, 50%, 80%, 100% { - -webkit-transform: translateY(0); - transform: translateY(0); - } - - 40% { - -webkit-transform: translateY(-30px); - transform: translateY(-30px); - } - - 60% { - -webkit-transform: translateY(-15px); - transform: translateY(-15px); - } -} - -@keyframes bounce { - 0%, 20%, 50%, 80%, 100% { - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } - - 40% { - -webkit-transform: translateY(-30px); - -ms-transform: translateY(-30px); - transform: translateY(-30px); - } - - 60% { - -webkit-transform: translateY(-15px); - -ms-transform: translateY(-15px); - transform: translateY(-15px); - } -} - -.bounce { - -webkit-animation-name: bounce; - animation-name: bounce; -} - -@-webkit-keyframes flash { - 0%, 50%, 100% { - opacity: 1; - } - - 25%, 75% { - opacity: 0; - } -} - -@keyframes flash { - 0%, 50%, 100% { - opacity: 1; - } - - 25%, 75% { - opacity: 0; - } -} - -.flash { - -webkit-animation-name: flash; - animation-name: flash; -} - -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@-webkit-keyframes pulse { - 0% { - -webkit-transform: scale(1); - transform: scale(1); - } - - 50% { - -webkit-transform: scale(1.1); - transform: scale(1.1); - } - - 100% { - -webkit-transform: scale(1); - transform: scale(1); - } -} - -@keyframes pulse { - 0% { - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - - 50% { - -webkit-transform: scale(1.1); - -ms-transform: scale(1.1); - transform: scale(1.1); - } - - 100% { - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } -} - -.pulse { - -webkit-animation-name: pulse; - animation-name: pulse; -} - -@-webkit-keyframes shake { - 0%, 100% { - -webkit-transform: translateX(0); - transform: translateX(0); - } - - 10%, 30%, 50%, 70%, 90% { - -webkit-transform: translateX(-10px); - transform: translateX(-10px); - } - - 20%, 40%, 60%, 80% { - -webkit-transform: translateX(10px); - transform: translateX(10px); - } -} - -@keyframes shake { - 0%, 100% { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 10%, 30%, 50%, 70%, 90% { - -webkit-transform: translateX(-10px); - -ms-transform: translateX(-10px); - transform: translateX(-10px); - } - - 20%, 40%, 60%, 80% { - -webkit-transform: translateX(10px); - -ms-transform: translateX(10px); - transform: translateX(10px); - } -} - -.shake { - -webkit-animation-name: shake; - animation-name: shake; -} - -@-webkit-keyframes swing { - 20% { - -webkit-transform: rotate(15deg); - transform: rotate(15deg); - } - - 40% { - -webkit-transform: rotate(-10deg); - transform: rotate(-10deg); - } - - 60% { - -webkit-transform: rotate(5deg); - transform: rotate(5deg); - } - - 80% { - -webkit-transform: rotate(-5deg); - transform: rotate(-5deg); - } - - 100% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } -} - -@keyframes swing { - 20% { - -webkit-transform: rotate(15deg); - -ms-transform: rotate(15deg); - transform: rotate(15deg); - } - - 40% { - -webkit-transform: rotate(-10deg); - -ms-transform: rotate(-10deg); - transform: rotate(-10deg); - } - - 60% { - -webkit-transform: rotate(5deg); - -ms-transform: rotate(5deg); - transform: rotate(5deg); - } - - 80% { - -webkit-transform: rotate(-5deg); - -ms-transform: rotate(-5deg); - transform: rotate(-5deg); - } - - 100% { - -webkit-transform: rotate(0deg); - -ms-transform: rotate(0deg); - transform: rotate(0deg); - } -} - -.swing { - -webkit-transform-origin: top center; - -ms-transform-origin: top center; - transform-origin: top center; - -webkit-animation-name: swing; - animation-name: swing; -} - -@-webkit-keyframes tada { - 0% { - -webkit-transform: scale(1); - transform: scale(1); - } - - 10%, 20% { - -webkit-transform: scale(0.9) rotate(-3deg); - transform: scale(0.9) rotate(-3deg); - } - - 30%, 50%, 70%, 90% { - -webkit-transform: scale(1.1) rotate(3deg); - transform: scale(1.1) rotate(3deg); - } - - 40%, 60%, 80% { - -webkit-transform: scale(1.1) rotate(-3deg); - transform: scale(1.1) rotate(-3deg); - } - - 100% { - -webkit-transform: scale(1) rotate(0); - transform: scale(1) rotate(0); - } -} - -@keyframes tada { - 0% { - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - - 10%, 20% { - -webkit-transform: scale(0.9) rotate(-3deg); - -ms-transform: scale(0.9) rotate(-3deg); - transform: scale(0.9) rotate(-3deg); - } - - 30%, 50%, 70%, 90% { - -webkit-transform: scale(1.1) rotate(3deg); - -ms-transform: scale(1.1) rotate(3deg); - transform: scale(1.1) rotate(3deg); - } - - 40%, 60%, 80% { - -webkit-transform: scale(1.1) rotate(-3deg); - -ms-transform: scale(1.1) rotate(-3deg); - transform: scale(1.1) rotate(-3deg); - } - - 100% { - -webkit-transform: scale(1) rotate(0); - -ms-transform: scale(1) rotate(0); - transform: scale(1) rotate(0); - } -} - -.tada { - -webkit-animation-name: tada; - animation-name: tada; -} - -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@-webkit-keyframes wobble { - 0% { - -webkit-transform: translateX(0%); - transform: translateX(0%); - } - - 15% { - -webkit-transform: translateX(-25%) rotate(-5deg); - transform: translateX(-25%) rotate(-5deg); - } - - 30% { - -webkit-transform: translateX(20%) rotate(3deg); - transform: translateX(20%) rotate(3deg); - } - - 45% { - -webkit-transform: translateX(-15%) rotate(-3deg); - transform: translateX(-15%) rotate(-3deg); - } - - 60% { - -webkit-transform: translateX(10%) rotate(2deg); - transform: translateX(10%) rotate(2deg); - } - - 75% { - -webkit-transform: translateX(-5%) rotate(-1deg); - transform: translateX(-5%) rotate(-1deg); - } - - 100% { - -webkit-transform: translateX(0%); - transform: translateX(0%); - } -} - -@keyframes wobble { - 0% { - -webkit-transform: translateX(0%); - -ms-transform: translateX(0%); - transform: translateX(0%); - } - - 15% { - -webkit-transform: translateX(-25%) rotate(-5deg); - -ms-transform: translateX(-25%) rotate(-5deg); - transform: translateX(-25%) rotate(-5deg); - } - - 30% { - -webkit-transform: translateX(20%) rotate(3deg); - -ms-transform: translateX(20%) rotate(3deg); - transform: translateX(20%) rotate(3deg); - } - - 45% { - -webkit-transform: translateX(-15%) rotate(-3deg); - -ms-transform: translateX(-15%) rotate(-3deg); - transform: translateX(-15%) rotate(-3deg); - } - - 60% { - -webkit-transform: translateX(10%) rotate(2deg); - -ms-transform: translateX(10%) rotate(2deg); - transform: translateX(10%) rotate(2deg); - } - - 75% { - -webkit-transform: translateX(-5%) rotate(-1deg); - -ms-transform: translateX(-5%) rotate(-1deg); - transform: translateX(-5%) rotate(-1deg); - } - - 100% { - -webkit-transform: translateX(0%); - -ms-transform: translateX(0%); - transform: translateX(0%); - } -} - -.wobble { - -webkit-animation-name: wobble; - animation-name: wobble; -} - -@-webkit-keyframes bounceIn { - 0% { - opacity: 0; - -webkit-transform: scale(.3); - transform: scale(.3); - } - - 50% { - opacity: 1; - -webkit-transform: scale(1.05); - transform: scale(1.05); - } - - 70% { - -webkit-transform: scale(.9); - transform: scale(.9); - } - - 100% { - -webkit-transform: scale(1); - transform: scale(1); - } -} - -@keyframes bounceIn { - 0% { - opacity: 0; - -webkit-transform: scale(.3); - -ms-transform: scale(.3); - transform: scale(.3); - } - - 50% { - opacity: 1; - -webkit-transform: scale(1.05); - -ms-transform: scale(1.05); - transform: scale(1.05); - } - - 70% { - -webkit-transform: scale(.9); - -ms-transform: scale(.9); - transform: scale(.9); - } - - 100% { - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } -} - -.bounceIn { - -webkit-animation-name: bounceIn; - animation-name: bounceIn; -} - -@-webkit-keyframes bounceInDown { - 0% { - opacity: 0; - -webkit-transform: translateY(-2000px); - transform: translateY(-2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateY(30px); - transform: translateY(30px); - } - - 80% { - -webkit-transform: translateY(-10px); - transform: translateY(-10px); - } - - 100% { - -webkit-transform: translateY(0); - transform: translateY(0); - } -} - -@keyframes bounceInDown { - 0% { - opacity: 0; - -webkit-transform: translateY(-2000px); - -ms-transform: translateY(-2000px); - transform: translateY(-2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateY(30px); - -ms-transform: translateY(30px); - transform: translateY(30px); - } - - 80% { - -webkit-transform: translateY(-10px); - -ms-transform: translateY(-10px); - transform: translateY(-10px); - } - - 100% { - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } -} - -.bounceInDown { - -webkit-animation-name: bounceInDown; - animation-name: bounceInDown; -} - -@-webkit-keyframes bounceInLeft { - 0% { - opacity: 0; - -webkit-transform: translateX(-2000px); - transform: translateX(-2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateX(30px); - transform: translateX(30px); - } - - 80% { - -webkit-transform: translateX(-10px); - transform: translateX(-10px); - } - - 100% { - -webkit-transform: translateX(0); - transform: translateX(0); - } -} - -@keyframes bounceInLeft { - 0% { - opacity: 0; - -webkit-transform: translateX(-2000px); - -ms-transform: translateX(-2000px); - transform: translateX(-2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateX(30px); - -ms-transform: translateX(30px); - transform: translateX(30px); - } - - 80% { - -webkit-transform: translateX(-10px); - -ms-transform: translateX(-10px); - transform: translateX(-10px); - } - - 100% { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } -} - -.bounceInLeft { - -webkit-animation-name: bounceInLeft; - animation-name: bounceInLeft; -} - -@-webkit-keyframes bounceInRight { - 0% { - opacity: 0; - -webkit-transform: translateX(2000px); - transform: translateX(2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateX(-30px); - transform: translateX(-30px); - } - - 80% { - -webkit-transform: translateX(10px); - transform: translateX(10px); - } - - 100% { - -webkit-transform: translateX(0); - transform: translateX(0); - } -} - -@keyframes bounceInRight { - 0% { - opacity: 0; - -webkit-transform: translateX(2000px); - -ms-transform: translateX(2000px); - transform: translateX(2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateX(-30px); - -ms-transform: translateX(-30px); - transform: translateX(-30px); - } - - 80% { - -webkit-transform: translateX(10px); - -ms-transform: translateX(10px); - transform: translateX(10px); - } - - 100% { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } -} - -.bounceInRight { - -webkit-animation-name: bounceInRight; - animation-name: bounceInRight; -} - -@-webkit-keyframes bounceInUp { - 0% { - opacity: 0; - -webkit-transform: translateY(2000px); - transform: translateY(2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateY(-30px); - transform: translateY(-30px); - } - - 80% { - -webkit-transform: translateY(10px); - transform: translateY(10px); - } - - 100% { - -webkit-transform: translateY(0); - transform: translateY(0); - } -} - -@keyframes bounceInUp { - 0% { - opacity: 0; - -webkit-transform: translateY(2000px); - -ms-transform: translateY(2000px); - transform: translateY(2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateY(-30px); - -ms-transform: translateY(-30px); - transform: translateY(-30px); - } - - 80% { - -webkit-transform: translateY(10px); - -ms-transform: translateY(10px); - transform: translateY(10px); - } - - 100% { - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } -} - -.bounceInUp { - -webkit-animation-name: bounceInUp; - animation-name: bounceInUp; -} - -@-webkit-keyframes bounceOut { - 0% { - -webkit-transform: scale(1); - transform: scale(1); - } - - 25% { - -webkit-transform: scale(.95); - transform: scale(.95); - } - - 50% { - opacity: 1; - -webkit-transform: scale(1.1); - transform: scale(1.1); - } - - 100% { - opacity: 0; - -webkit-transform: scale(.3); - transform: scale(.3); - } -} - -@keyframes bounceOut { - 0% { - -webkit-transform: scale(1); - -ms-transform: scale(1); - transform: scale(1); - } - - 25% { - -webkit-transform: scale(.95); - -ms-transform: scale(.95); - transform: scale(.95); - } - - 50% { - opacity: 1; - -webkit-transform: scale(1.1); - -ms-transform: scale(1.1); - transform: scale(1.1); - } - - 100% { - opacity: 0; - -webkit-transform: scale(.3); - -ms-transform: scale(.3); - transform: scale(.3); - } -} - -.bounceOut { - -webkit-animation-name: bounceOut; - animation-name: bounceOut; -} - -@-webkit-keyframes bounceOutDown { - 0% { - -webkit-transform: translateY(0); - transform: translateY(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateY(-20px); - transform: translateY(-20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(2000px); - transform: translateY(2000px); - } -} - -@keyframes bounceOutDown { - 0% { - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateY(-20px); - -ms-transform: translateY(-20px); - transform: translateY(-20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(2000px); - -ms-transform: translateY(2000px); - transform: translateY(2000px); - } -} - -.bounceOutDown { - -webkit-animation-name: bounceOutDown; - animation-name: bounceOutDown; -} - -@-webkit-keyframes bounceOutLeft { - 0% { - -webkit-transform: translateX(0); - transform: translateX(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateX(20px); - transform: translateX(20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-2000px); - transform: translateX(-2000px); - } -} - -@keyframes bounceOutLeft { - 0% { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateX(20px); - -ms-transform: translateX(20px); - transform: translateX(20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-2000px); - -ms-transform: translateX(-2000px); - transform: translateX(-2000px); - } -} - -.bounceOutLeft { - -webkit-animation-name: bounceOutLeft; - animation-name: bounceOutLeft; -} - -@-webkit-keyframes bounceOutRight { - 0% { - -webkit-transform: translateX(0); - transform: translateX(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateX(-20px); - transform: translateX(-20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(2000px); - transform: translateX(2000px); - } -} - -@keyframes bounceOutRight { - 0% { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateX(-20px); - -ms-transform: translateX(-20px); - transform: translateX(-20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(2000px); - -ms-transform: translateX(2000px); - transform: translateX(2000px); - } -} - -.bounceOutRight { - -webkit-animation-name: bounceOutRight; - animation-name: bounceOutRight; -} - -@-webkit-keyframes bounceOutUp { - 0% { - -webkit-transform: translateY(0); - transform: translateY(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateY(20px); - transform: translateY(20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-2000px); - transform: translateY(-2000px); - } -} - -@keyframes bounceOutUp { - 0% { - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateY(20px); - -ms-transform: translateY(20px); - transform: translateY(20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-2000px); - -ms-transform: translateY(-2000px); - transform: translateY(-2000px); - } -} - -.bounceOutUp { - -webkit-animation-name: bounceOutUp; - animation-name: bounceOutUp; -} - -@-webkit-keyframes fadeIn { - 0% { - opacity: 0; - } - - 100% { - opacity: 1; - } -} - -@keyframes fadeIn { - 0% { - opacity: 0; - } - - 100% { - opacity: 1; - } -} - -.fadeIn { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; -} - -@-webkit-keyframes fadeInDown { - 0% { - opacity: 0; - -webkit-transform: translateY(-20px); - transform: translateY(-20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); - } -} - -@keyframes fadeInDown { - 0% { - opacity: 0; - -webkit-transform: translateY(-20px); - -ms-transform: translateY(-20px); - transform: translateY(-20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } -} - -.fadeInDown { - -webkit-animation-name: fadeInDown; - animation-name: fadeInDown; -} - -@-webkit-keyframes fadeInDownBig { - 0% { - opacity: 0; - -webkit-transform: translateY(-2000px); - transform: translateY(-2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); - } -} - -@keyframes fadeInDownBig { - 0% { - opacity: 0; - -webkit-transform: translateY(-2000px); - -ms-transform: translateY(-2000px); - transform: translateY(-2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } -} - -.fadeInDownBig { - -webkit-animation-name: fadeInDownBig; - animation-name: fadeInDownBig; -} - -@-webkit-keyframes fadeInLeft { - 0% { - opacity: 0; - -webkit-transform: translateX(-20px); - transform: translateX(-20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - transform: translateX(0); - } -} - -@keyframes fadeInLeft { - 0% { - opacity: 0; - -webkit-transform: translateX(-20px); - -ms-transform: translateX(-20px); - transform: translateX(-20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } -} - -.fadeInLeft { - -webkit-animation-name: fadeInLeft; - animation-name: fadeInLeft; -} - -@-webkit-keyframes fadeInLeftBig { - 0% { - opacity: 0; - -webkit-transform: translateX(-2000px); - transform: translateX(-2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - transform: translateX(0); - } -} - -@keyframes fadeInLeftBig { - 0% { - opacity: 0; - -webkit-transform: translateX(-2000px); - -ms-transform: translateX(-2000px); - transform: translateX(-2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } -} - -.fadeInLeftBig { - -webkit-animation-name: fadeInLeftBig; - animation-name: fadeInLeftBig; -} - -@-webkit-keyframes fadeInRight { - 0% { - opacity: 0; - -webkit-transform: translateX(20px); - transform: translateX(20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - transform: translateX(0); - } -} - -@keyframes fadeInRight { - 0% { - opacity: 0; - -webkit-transform: translateX(20px); - -ms-transform: translateX(20px); - transform: translateX(20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } -} - -.fadeInRight { - -webkit-animation-name: fadeInRight; - animation-name: fadeInRight; -} - -@-webkit-keyframes fadeInRightBig { - 0% { - opacity: 0; - -webkit-transform: translateX(2000px); - transform: translateX(2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - transform: translateX(0); - } -} - -@keyframes fadeInRightBig { - 0% { - opacity: 0; - -webkit-transform: translateX(2000px); - -ms-transform: translateX(2000px); - transform: translateX(2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } -} - -.fadeInRightBig { - -webkit-animation-name: fadeInRightBig; - animation-name: fadeInRightBig; -} - -@-webkit-keyframes fadeInUp { - 0% { - opacity: 0; - -webkit-transform: translateY(20px); - transform: translateY(20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); - } -} - -@keyframes fadeInUp { - 0% { - opacity: 0; - -webkit-transform: translateY(20px); - -ms-transform: translateY(20px); - transform: translateY(20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } -} - -.fadeInUp { - -webkit-animation-name: fadeInUp; - animation-name: fadeInUp; -} - -@-webkit-keyframes fadeInUpBig { - 0% { - opacity: 0; - -webkit-transform: translateY(2000px); - transform: translateY(2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); - } -} - -@keyframes fadeInUpBig { - 0% { - opacity: 0; - -webkit-transform: translateY(2000px); - -ms-transform: translateY(2000px); - transform: translateY(2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } -} - -.fadeInUpBig { - -webkit-animation-name: fadeInUpBig; - animation-name: fadeInUpBig; -} - -@-webkit-keyframes fadeOut { - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -} - -@keyframes fadeOut { - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -} - -.fadeOut { - -webkit-animation-name: fadeOut; - animation-name: fadeOut; -} - -@-webkit-keyframes fadeOutDown { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(20px); - transform: translateY(20px); - } -} - -@keyframes fadeOutDown { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(20px); - -ms-transform: translateY(20px); - transform: translateY(20px); - } -} - -.fadeOutDown { - -webkit-animation-name: fadeOutDown; - animation-name: fadeOutDown; -} - -@-webkit-keyframes fadeOutDownBig { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(2000px); - transform: translateY(2000px); - } -} - -@keyframes fadeOutDownBig { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(2000px); - -ms-transform: translateY(2000px); - transform: translateY(2000px); - } -} - -.fadeOutDownBig { - -webkit-animation-name: fadeOutDownBig; - animation-name: fadeOutDownBig; -} - -@-webkit-keyframes fadeOutLeft { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-20px); - transform: translateX(-20px); - } -} - -@keyframes fadeOutLeft { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-20px); - -ms-transform: translateX(-20px); - transform: translateX(-20px); - } -} - -.fadeOutLeft { - -webkit-animation-name: fadeOutLeft; - animation-name: fadeOutLeft; -} - -@-webkit-keyframes fadeOutLeftBig { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-2000px); - transform: translateX(-2000px); - } -} - -@keyframes fadeOutLeftBig { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-2000px); - -ms-transform: translateX(-2000px); - transform: translateX(-2000px); - } -} - -.fadeOutLeftBig { - -webkit-animation-name: fadeOutLeftBig; - animation-name: fadeOutLeftBig; -} - -@-webkit-keyframes fadeOutRight { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(20px); - transform: translateX(20px); - } -} - -@keyframes fadeOutRight { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(20px); - -ms-transform: translateX(20px); - transform: translateX(20px); - } -} - -.fadeOutRight { - -webkit-animation-name: fadeOutRight; - animation-name: fadeOutRight; -} - -@-webkit-keyframes fadeOutRightBig { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(2000px); - transform: translateX(2000px); - } -} - -@keyframes fadeOutRightBig { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(2000px); - -ms-transform: translateX(2000px); - transform: translateX(2000px); - } -} - -.fadeOutRightBig { - -webkit-animation-name: fadeOutRightBig; - animation-name: fadeOutRightBig; -} - -@-webkit-keyframes fadeOutUp { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-20px); - transform: translateY(-20px); - } -} - -@keyframes fadeOutUp { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-20px); - -ms-transform: translateY(-20px); - transform: translateY(-20px); - } -} - -.fadeOutUp { - -webkit-animation-name: fadeOutUp; - animation-name: fadeOutUp; -} - -@-webkit-keyframes fadeOutUpBig { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-2000px); - transform: translateY(-2000px); - } -} - -@keyframes fadeOutUpBig { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-2000px); - -ms-transform: translateY(-2000px); - transform: translateY(-2000px); - } -} - -.fadeOutUpBig { - -webkit-animation-name: fadeOutUpBig; - animation-name: fadeOutUpBig; -} - -@-webkit-keyframes flip { - 0% { - -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); - transform: perspective(400px) translateZ(0) rotateY(0) scale(1); - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; - } - - 40% { - -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); - transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; - } - - 50% { - -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); - transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; - } - - 80% { - -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); - transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; - } - - 100% { - -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); - transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; - } -} - -@keyframes flip { - 0% { - -webkit-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); - -ms-transform: perspective(400px) translateZ(0) rotateY(0) scale(1); - transform: perspective(400px) translateZ(0) rotateY(0) scale(1); - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; - } - - 40% { - -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); - -ms-transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); - transform: perspective(400px) translateZ(150px) rotateY(170deg) scale(1); - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; - } - - 50% { - -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); - -ms-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); - transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; - } - - 80% { - -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); - -ms-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); - transform: perspective(400px) translateZ(0) rotateY(360deg) scale(.95); - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; - } - - 100% { - -webkit-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); - -ms-transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); - transform: perspective(400px) translateZ(0) rotateY(360deg) scale(1); - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; - } -} - -.animated.flip { - -webkit-backface-visibility: visible; - -ms-backface-visibility: visible; - backface-visibility: visible; - -webkit-animation-name: flip; - animation-name: flip; -} - -@-webkit-keyframes flipInX { - 0% { - -webkit-transform: perspective(400px) rotateX(90deg); - transform: perspective(400px) rotateX(90deg); - opacity: 0; - } - - 40% { - -webkit-transform: perspective(400px) rotateX(-10deg); - transform: perspective(400px) rotateX(-10deg); - } - - 70% { - -webkit-transform: perspective(400px) rotateX(10deg); - transform: perspective(400px) rotateX(10deg); - } - - 100% { - -webkit-transform: perspective(400px) rotateX(0deg); - transform: perspective(400px) rotateX(0deg); - opacity: 1; - } -} - -@keyframes flipInX { - 0% { - -webkit-transform: perspective(400px) rotateX(90deg); - -ms-transform: perspective(400px) rotateX(90deg); - transform: perspective(400px) rotateX(90deg); - opacity: 0; - } - - 40% { - -webkit-transform: perspective(400px) rotateX(-10deg); - -ms-transform: perspective(400px) rotateX(-10deg); - transform: perspective(400px) rotateX(-10deg); - } - - 70% { - -webkit-transform: perspective(400px) rotateX(10deg); - -ms-transform: perspective(400px) rotateX(10deg); - transform: perspective(400px) rotateX(10deg); - } - - 100% { - -webkit-transform: perspective(400px) rotateX(0deg); - -ms-transform: perspective(400px) rotateX(0deg); - transform: perspective(400px) rotateX(0deg); - opacity: 1; - } -} - -.flipInX { - -webkit-backface-visibility: visible !important; - -ms-backface-visibility: visible !important; - backface-visibility: visible !important; - -webkit-animation-name: flipInX; - animation-name: flipInX; -} - -@-webkit-keyframes flipInY { - 0% { - -webkit-transform: perspective(400px) rotateY(90deg); - transform: perspective(400px) rotateY(90deg); - opacity: 0; - } - - 40% { - -webkit-transform: perspective(400px) rotateY(-10deg); - transform: perspective(400px) rotateY(-10deg); - } - - 70% { - -webkit-transform: perspective(400px) rotateY(10deg); - transform: perspective(400px) rotateY(10deg); - } - - 100% { - -webkit-transform: perspective(400px) rotateY(0deg); - transform: perspective(400px) rotateY(0deg); - opacity: 1; - } -} - -@keyframes flipInY { - 0% { - -webkit-transform: perspective(400px) rotateY(90deg); - -ms-transform: perspective(400px) rotateY(90deg); - transform: perspective(400px) rotateY(90deg); - opacity: 0; - } - - 40% { - -webkit-transform: perspective(400px) rotateY(-10deg); - -ms-transform: perspective(400px) rotateY(-10deg); - transform: perspective(400px) rotateY(-10deg); - } - - 70% { - -webkit-transform: perspective(400px) rotateY(10deg); - -ms-transform: perspective(400px) rotateY(10deg); - transform: perspective(400px) rotateY(10deg); - } - - 100% { - -webkit-transform: perspective(400px) rotateY(0deg); - -ms-transform: perspective(400px) rotateY(0deg); - transform: perspective(400px) rotateY(0deg); - opacity: 1; - } -} - -.flipInY { - -webkit-backface-visibility: visible !important; - -ms-backface-visibility: visible !important; - backface-visibility: visible !important; - -webkit-animation-name: flipInY; - animation-name: flipInY; -} - -@-webkit-keyframes flipOutX { - 0% { - -webkit-transform: perspective(400px) rotateX(0deg); - transform: perspective(400px) rotateX(0deg); - opacity: 1; - } - - 100% { - -webkit-transform: perspective(400px) rotateX(90deg); - transform: perspective(400px) rotateX(90deg); - opacity: 0; - } -} - -@keyframes flipOutX { - 0% { - -webkit-transform: perspective(400px) rotateX(0deg); - -ms-transform: perspective(400px) rotateX(0deg); - transform: perspective(400px) rotateX(0deg); - opacity: 1; - } - - 100% { - -webkit-transform: perspective(400px) rotateX(90deg); - -ms-transform: perspective(400px) rotateX(90deg); - transform: perspective(400px) rotateX(90deg); - opacity: 0; - } -} - -.flipOutX { - -webkit-animation-name: flipOutX; - animation-name: flipOutX; - -webkit-backface-visibility: visible !important; - -ms-backface-visibility: visible !important; - backface-visibility: visible !important; -} - -@-webkit-keyframes flipOutY { - 0% { - -webkit-transform: perspective(400px) rotateY(0deg); - transform: perspective(400px) rotateY(0deg); - opacity: 1; - } - - 100% { - -webkit-transform: perspective(400px) rotateY(90deg); - transform: perspective(400px) rotateY(90deg); - opacity: 0; - } -} - -@keyframes flipOutY { - 0% { - -webkit-transform: perspective(400px) rotateY(0deg); - -ms-transform: perspective(400px) rotateY(0deg); - transform: perspective(400px) rotateY(0deg); - opacity: 1; - } - - 100% { - -webkit-transform: perspective(400px) rotateY(90deg); - -ms-transform: perspective(400px) rotateY(90deg); - transform: perspective(400px) rotateY(90deg); - opacity: 0; - } -} - -.flipOutY { - -webkit-backface-visibility: visible !important; - -ms-backface-visibility: visible !important; - backface-visibility: visible !important; - -webkit-animation-name: flipOutY; - animation-name: flipOutY; -} - -@-webkit-keyframes lightSpeedIn { - 0% { - -webkit-transform: translateX(100%) skewX(-30deg); - transform: translateX(100%) skewX(-30deg); - opacity: 0; - } - - 60% { - -webkit-transform: translateX(-20%) skewX(30deg); - transform: translateX(-20%) skewX(30deg); - opacity: 1; - } - - 80% { - -webkit-transform: translateX(0%) skewX(-15deg); - transform: translateX(0%) skewX(-15deg); - opacity: 1; - } - - 100% { - -webkit-transform: translateX(0%) skewX(0deg); - transform: translateX(0%) skewX(0deg); - opacity: 1; - } -} - -@keyframes lightSpeedIn { - 0% { - -webkit-transform: translateX(100%) skewX(-30deg); - -ms-transform: translateX(100%) skewX(-30deg); - transform: translateX(100%) skewX(-30deg); - opacity: 0; - } - - 60% { - -webkit-transform: translateX(-20%) skewX(30deg); - -ms-transform: translateX(-20%) skewX(30deg); - transform: translateX(-20%) skewX(30deg); - opacity: 1; - } - - 80% { - -webkit-transform: translateX(0%) skewX(-15deg); - -ms-transform: translateX(0%) skewX(-15deg); - transform: translateX(0%) skewX(-15deg); - opacity: 1; - } - - 100% { - -webkit-transform: translateX(0%) skewX(0deg); - -ms-transform: translateX(0%) skewX(0deg); - transform: translateX(0%) skewX(0deg); - opacity: 1; - } -} - -.lightSpeedIn { - -webkit-animation-name: lightSpeedIn; - animation-name: lightSpeedIn; - -webkit-animation-timing-function: ease-out; - animation-timing-function: ease-out; -} - -@-webkit-keyframes lightSpeedOut { - 0% { - -webkit-transform: translateX(0%) skewX(0deg); - transform: translateX(0%) skewX(0deg); - opacity: 1; - } - - 100% { - -webkit-transform: translateX(100%) skewX(-30deg); - transform: translateX(100%) skewX(-30deg); - opacity: 0; - } -} - -@keyframes lightSpeedOut { - 0% { - -webkit-transform: translateX(0%) skewX(0deg); - -ms-transform: translateX(0%) skewX(0deg); - transform: translateX(0%) skewX(0deg); - opacity: 1; - } - - 100% { - -webkit-transform: translateX(100%) skewX(-30deg); - -ms-transform: translateX(100%) skewX(-30deg); - transform: translateX(100%) skewX(-30deg); - opacity: 0; - } -} - -.lightSpeedOut { - -webkit-animation-name: lightSpeedOut; - animation-name: lightSpeedOut; - -webkit-animation-timing-function: ease-in; - animation-timing-function: ease-in; -} - -@-webkit-keyframes rotateIn { - 0% { - -webkit-transform-origin: center center; - transform-origin: center center; - -webkit-transform: rotate(-200deg); - transform: rotate(-200deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: center center; - transform-origin: center center; - -webkit-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } -} - -@keyframes rotateIn { - 0% { - -webkit-transform-origin: center center; - -ms-transform-origin: center center; - transform-origin: center center; - -webkit-transform: rotate(-200deg); - -ms-transform: rotate(-200deg); - transform: rotate(-200deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: center center; - -ms-transform-origin: center center; - transform-origin: center center; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } -} - -.rotateIn { - -webkit-animation-name: rotateIn; - animation-name: rotateIn; -} - -@-webkit-keyframes rotateInDownLeft { - 0% { - -webkit-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(-90deg); - transform: rotate(-90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } -} - -@keyframes rotateInDownLeft { - 0% { - -webkit-transform-origin: left bottom; - -ms-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(-90deg); - -ms-transform: rotate(-90deg); - transform: rotate(-90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: left bottom; - -ms-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } -} - -.rotateInDownLeft { - -webkit-animation-name: rotateInDownLeft; - animation-name: rotateInDownLeft; -} - -@-webkit-keyframes rotateInDownRight { - 0% { - -webkit-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(90deg); - transform: rotate(90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } -} - -@keyframes rotateInDownRight { - 0% { - -webkit-transform-origin: right bottom; - -ms-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(90deg); - -ms-transform: rotate(90deg); - transform: rotate(90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: right bottom; - -ms-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } -} - -.rotateInDownRight { - -webkit-animation-name: rotateInDownRight; - animation-name: rotateInDownRight; -} - -@-webkit-keyframes rotateInUpLeft { - 0% { - -webkit-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(90deg); - transform: rotate(90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } -} - -@keyframes rotateInUpLeft { - 0% { - -webkit-transform-origin: left bottom; - -ms-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(90deg); - -ms-transform: rotate(90deg); - transform: rotate(90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: left bottom; - -ms-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } -} - -.rotateInUpLeft { - -webkit-animation-name: rotateInUpLeft; - animation-name: rotateInUpLeft; -} - -@-webkit-keyframes rotateInUpRight { - 0% { - -webkit-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(-90deg); - transform: rotate(-90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } -} - -@keyframes rotateInUpRight { - 0% { - -webkit-transform-origin: right bottom; - -ms-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(-90deg); - -ms-transform: rotate(-90deg); - transform: rotate(-90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: right bottom; - -ms-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } -} - -.rotateInUpRight { - -webkit-animation-name: rotateInUpRight; - animation-name: rotateInUpRight; -} - -@-webkit-keyframes rotateOut { - 0% { - -webkit-transform-origin: center center; - transform-origin: center center; - -webkit-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: center center; - transform-origin: center center; - -webkit-transform: rotate(200deg); - transform: rotate(200deg); - opacity: 0; - } -} - -@keyframes rotateOut { - 0% { - -webkit-transform-origin: center center; - -ms-transform-origin: center center; - transform-origin: center center; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: center center; - -ms-transform-origin: center center; - transform-origin: center center; - -webkit-transform: rotate(200deg); - -ms-transform: rotate(200deg); - transform: rotate(200deg); - opacity: 0; - } -} - -.rotateOut { - -webkit-animation-name: rotateOut; - animation-name: rotateOut; -} - -@-webkit-keyframes rotateOutDownLeft { - 0% { - -webkit-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(90deg); - transform: rotate(90deg); - opacity: 0; - } -} - -@keyframes rotateOutDownLeft { - 0% { - -webkit-transform-origin: left bottom; - -ms-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: left bottom; - -ms-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(90deg); - -ms-transform: rotate(90deg); - transform: rotate(90deg); - opacity: 0; - } -} - -.rotateOutDownLeft { - -webkit-animation-name: rotateOutDownLeft; - animation-name: rotateOutDownLeft; -} - -@-webkit-keyframes rotateOutDownRight { - 0% { - -webkit-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(-90deg); - transform: rotate(-90deg); - opacity: 0; - } -} - -@keyframes rotateOutDownRight { - 0% { - -webkit-transform-origin: right bottom; - -ms-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: right bottom; - -ms-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(-90deg); - -ms-transform: rotate(-90deg); - transform: rotate(-90deg); - opacity: 0; - } -} - -.rotateOutDownRight { - -webkit-animation-name: rotateOutDownRight; - animation-name: rotateOutDownRight; -} - -@-webkit-keyframes rotateOutUpLeft { - 0% { - -webkit-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(-90deg); - transform: rotate(-90deg); - opacity: 0; - } -} - -@keyframes rotateOutUpLeft { - 0% { - -webkit-transform-origin: left bottom; - -ms-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: left bottom; - -ms-transform-origin: left bottom; - transform-origin: left bottom; - -webkit-transform: rotate(-90deg); - -ms-transform: rotate(-90deg); - transform: rotate(-90deg); - opacity: 0; - } -} - -.rotateOutUpLeft { - -webkit-animation-name: rotateOutUpLeft; - animation-name: rotateOutUpLeft; -} - -@-webkit-keyframes rotateOutUpRight { - 0% { - -webkit-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(90deg); - transform: rotate(90deg); - opacity: 0; - } -} - -@keyframes rotateOutUpRight { - 0% { - -webkit-transform-origin: right bottom; - -ms-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: right bottom; - -ms-transform-origin: right bottom; - transform-origin: right bottom; - -webkit-transform: rotate(90deg); - -ms-transform: rotate(90deg); - transform: rotate(90deg); - opacity: 0; - } -} - -.rotateOutUpRight { - -webkit-animation-name: rotateOutUpRight; - animation-name: rotateOutUpRight; -} - -@-webkit-keyframes slideInDown { - 0% { - opacity: 0; - -webkit-transform: translateY(-2000px); - transform: translateY(-2000px); - } - - 100% { - -webkit-transform: translateY(0); - transform: translateY(0); - } -} - -@keyframes slideInDown { - 0% { - opacity: 0; - -webkit-transform: translateY(-2000px); - -ms-transform: translateY(-2000px); - transform: translateY(-2000px); - } - - 100% { - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } -} - -.slideInDown { - -webkit-animation-name: slideInDown; - animation-name: slideInDown; -} - -@-webkit-keyframes slideInLeft { - 0% { - opacity: 0; - -webkit-transform: translateX(-2000px); - transform: translateX(-2000px); - } - - 100% { - -webkit-transform: translateX(0); - transform: translateX(0); - } -} - -@keyframes slideInLeft { - 0% { - opacity: 0; - -webkit-transform: translateX(-2000px); - -ms-transform: translateX(-2000px); - transform: translateX(-2000px); - } - - 100% { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } -} - -.slideInLeft { - -webkit-animation-name: slideInLeft; - animation-name: slideInLeft; -} - -@-webkit-keyframes slideInRight { - 0% { - opacity: 0; - -webkit-transform: translateX(2000px); - transform: translateX(2000px); - } - - 100% { - -webkit-transform: translateX(0); - transform: translateX(0); - } -} - -@keyframes slideInRight { - 0% { - opacity: 0; - -webkit-transform: translateX(2000px); - -ms-transform: translateX(2000px); - transform: translateX(2000px); - } - - 100% { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } -} - -.slideInRight { - -webkit-animation-name: slideInRight; - animation-name: slideInRight; -} - -@-webkit-keyframes slideOutLeft { - 0% { - -webkit-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-2000px); - transform: translateX(-2000px); - } -} - -@keyframes slideOutLeft { - 0% { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-2000px); - -ms-transform: translateX(-2000px); - transform: translateX(-2000px); - } -} - -.slideOutLeft { - -webkit-animation-name: slideOutLeft; - animation-name: slideOutLeft; -} - -@-webkit-keyframes slideOutRight { - 0% { - -webkit-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(2000px); - transform: translateX(2000px); - } -} - -@keyframes slideOutRight { - 0% { - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(2000px); - -ms-transform: translateX(2000px); - transform: translateX(2000px); - } -} - -.slideOutRight { - -webkit-animation-name: slideOutRight; - animation-name: slideOutRight; -} - -@-webkit-keyframes slideOutUp { - 0% { - -webkit-transform: translateY(0); - transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-2000px); - transform: translateY(-2000px); - } -} - -@keyframes slideOutUp { - 0% { - -webkit-transform: translateY(0); - -ms-transform: translateY(0); - transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-2000px); - -ms-transform: translateY(-2000px); - transform: translateY(-2000px); - } -} - -.slideOutUp { - -webkit-animation-name: slideOutUp; - animation-name: slideOutUp; -} - -@-webkit-keyframes hinge { - 0% { - -webkit-transform: rotate(0); - transform: rotate(0); - -webkit-transform-origin: top left; - transform-origin: top left; - -webkit-animation-timing-function: ease-in-out; - animation-timing-function: ease-in-out; - } - - 20%, 60% { - -webkit-transform: rotate(80deg); - transform: rotate(80deg); - -webkit-transform-origin: top left; - transform-origin: top left; - -webkit-animation-timing-function: ease-in-out; - animation-timing-function: ease-in-out; - } - - 40% { - -webkit-transform: rotate(60deg); - transform: rotate(60deg); - -webkit-transform-origin: top left; - transform-origin: top left; - -webkit-animation-timing-function: ease-in-out; - animation-timing-function: ease-in-out; - } - - 80% { - -webkit-transform: rotate(60deg) translateY(0); - transform: rotate(60deg) translateY(0); - opacity: 1; - -webkit-transform-origin: top left; - transform-origin: top left; - -webkit-animation-timing-function: ease-in-out; - animation-timing-function: ease-in-out; - } - - 100% { - -webkit-transform: translateY(700px); - transform: translateY(700px); - opacity: 0; - } -} - -@keyframes hinge { - 0% { - -webkit-transform: rotate(0); - -ms-transform: rotate(0); - transform: rotate(0); - -webkit-transform-origin: top left; - -ms-transform-origin: top left; - transform-origin: top left; - -webkit-animation-timing-function: ease-in-out; - animation-timing-function: ease-in-out; - } - - 20%, 60% { - -webkit-transform: rotate(80deg); - -ms-transform: rotate(80deg); - transform: rotate(80deg); - -webkit-transform-origin: top left; - -ms-transform-origin: top left; - transform-origin: top left; - -webkit-animation-timing-function: ease-in-out; - animation-timing-function: ease-in-out; - } - - 40% { - -webkit-transform: rotate(60deg); - -ms-transform: rotate(60deg); - transform: rotate(60deg); - -webkit-transform-origin: top left; - -ms-transform-origin: top left; - transform-origin: top left; - -webkit-animation-timing-function: ease-in-out; - animation-timing-function: ease-in-out; - } - - 80% { - -webkit-transform: rotate(60deg) translateY(0); - -ms-transform: rotate(60deg) translateY(0); - transform: rotate(60deg) translateY(0); - opacity: 1; - -webkit-transform-origin: top left; - -ms-transform-origin: top left; - transform-origin: top left; - -webkit-animation-timing-function: ease-in-out; - animation-timing-function: ease-in-out; - } - - 100% { - -webkit-transform: translateY(700px); - -ms-transform: translateY(700px); - transform: translateY(700px); - opacity: 0; - } -} - -.hinge { - -webkit-animation-name: hinge; - animation-name: hinge; -} - -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@-webkit-keyframes rollIn { - 0% { - opacity: 0; - -webkit-transform: translateX(-100%) rotate(-120deg); - transform: translateX(-100%) rotate(-120deg); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0px) rotate(0deg); - transform: translateX(0px) rotate(0deg); - } -} - -@keyframes rollIn { - 0% { - opacity: 0; - -webkit-transform: translateX(-100%) rotate(-120deg); - -ms-transform: translateX(-100%) rotate(-120deg); - transform: translateX(-100%) rotate(-120deg); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0px) rotate(0deg); - -ms-transform: translateX(0px) rotate(0deg); - transform: translateX(0px) rotate(0deg); - } -} - -.rollIn { - -webkit-animation-name: rollIn; - animation-name: rollIn; -} - -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@-webkit-keyframes rollOut { - 0% { - opacity: 1; - -webkit-transform: translateX(0px) rotate(0deg); - transform: translateX(0px) rotate(0deg); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(100%) rotate(120deg); - transform: translateX(100%) rotate(120deg); - } -} - -@keyframes rollOut { - 0% { - opacity: 1; - -webkit-transform: translateX(0px) rotate(0deg); - -ms-transform: translateX(0px) rotate(0deg); - transform: translateX(0px) rotate(0deg); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(100%) rotate(120deg); - -ms-transform: translateX(100%) rotate(120deg); - transform: translateX(100%) rotate(120deg); - } -} - -.rollOut { - -webkit-animation-name: rollOut; - animation-name: rollOut; -} diff --git a/docs/src/main/resources/css/hawkbit.css b/docs/src/main/resources/css/hawkbit.css deleted file mode 100644 index 390c4e308..000000000 --- a/docs/src/main/resources/css/hawkbit.css +++ /dev/null @@ -1,862 +0,0 @@ -@import url('http://fonts.googleapis.com/css?family=Open+Sans:300,300italic,600,600italic,700'); -body { - margin-top: 50px; - /* padding for .navbar-fixed-top. */ - font-family: 'Open Sans', sans-serif; - line-height: 1.85em; - color: #111; - font-weight: 300; - -webkit-font-smoothing: antialiased; - font-smoothing: antialiased; -} - -a { - color: #0088cc; -} - -iframe { - width: 100%; - height: 1280px; - border: 0; -} - -a:hover { - text-decoration: none; -} - -code { - color: #919191; - background-color: #f9f2f4; -} - -.image-center { - margin: 0 auto; - display: block; -} - -.image-left { - float: left; - margin: 0px 0 0px 0px; - padding: 20px; -} - -.navbar-inverse .navbar-brand { - font-size: 48px; - font-weight: bold; - padding-top: 10px; - color: #6ab252; -} - -.navbar-inverse .navbar-brand-logo { - background-image: url("../img/hawkbit_flower.png"); - background-size: 250px; - background-repeat: no-repeat; - position: absolute; - display: block; - width: 230px; - height: 200px; -} - - -/*scroll stuff*/ - -.navbar-lp { - -webkit-transition: height 0.3s; - -moz-transition: height 0.3s; - transition: height 0.3s; -} - -.navbar-lp .navbar-brand { - font-size: 65px; - font-weight: bold; - padding-top: 40px; - color: #6ab252; -} - -.navbar-lp .navbar-brand-logo { - background-image: url("../img/hawkbit_flower.png"); - background-size: 250px; - background-repeat: no-repeat; - position: absolute; - display: block; - width: 250px; - height: 200px; - top: 0; -} - -.navbar-lp .navbar-nav { - padding-top: 30px; -} - -.navbar-lp { - -webkit-transition: all 0.3s; - -moz-transition: all 0.3s; - transition: all 0.3s; -} - -.navbar-lp.scroll .navbar-brand { - font-size: 48px; - padding-top: 10px; - -webkit-transition: all 0.3s; - -moz-transition: all 0.3s; - transition: all 0.3s; -} - -.navbar-lp.scroll .navbar-brand-logo { - background-image: url("../img/hawkbit_flower.png"); - background-size: 80px; - background-repeat: no-repeat; - position: absolute; - width: 110px; - height: 80px; - top: 0; -} - -.navbar-lp.scroll .navbar-nav { - padding-top: 0px; -} - - -/*scroll stuff ends*/ - -.navbar-inverse .navbar-nav>li>a { - color: rgba(255, 255, 255, 0.65); - font-size: 16px; - font-weight: bold; -} - -.navbar-inverse .navbar-nav>li>a:hover { - color: #6ab252; -} - -.navbar-inverse { - background-color: #411355; - border-color: #411355; - padding: 12px 5px 5px 5px; -} - -.navbar-inverse .navbar-toggle { - border-color: #411355; -} - -.navbar-inverse .navbar-toggle:hover, -.navbar-inverse .navbar-toggle:focus { - background-color: #411355; -} - -.navbar-inverse .navbar-collapse, -.navbar-inverse .navbar-form { - border-color: rgba(255, 255, 255, 0); -} - -.header { - display: block; - width: 100%; - text-align: center; - background: #411355; - -webkit-background-size: cover; - -moz-background-size: cover; - background-size: cover; - -o-background-size: cover; - margin-bottom: 58px; -} - -.tagline { - padding: 60px 0 50px; -} - -.tagline h1 { - font-size: 60px; - color: rgba(255, 255, 255, 0.9); -} - -.box-separator { - margin: 50px 0; -} - -.separator { - margin: 50px 0 30px; -} - -.box { - overflow: hidden; -} - -.box-img.pull-left { - margin-right: 40px; -} - -.box-img.pull-right { - margin-left: 40px; -} - -.box-headline { - font-size: 50px; - color: #666; -} - -#adi .box-headline { - margin-bottom: 58px; -} - -#adi img { - width: 90%; -} - -footer { - margin: 50px 0; -} - -@media(max-width:1200px) { - .box-separator { - margin: 50px 0; - } - .box-img.pull-left { - margin-right: 20px; - } - .box-img.pull-right { - margin-left: 20px; - } - .box-headline { - font-size: 35px; - } -} - -@media(max-width:991px) { - .box-separator { - margin: 40px 0; - } - .box-img.pull-left { - margin-right: 10px; - } - .box-img.pull-right { - margin-left: 10px; - } - .box-headline { - font-size: 30px; - } -} - -@media(max-width:768px) { - .container { - margin: 0 15px; - } - .box-separator { - margin: 40px 0; - } - .box-headline { - font-size: 25px; - } -} - -@media(max-width:668px) { - .box-separator { - margin: 30px 0; - } -} - -@media(max-width:640px) { - .tagline { - padding: 75px 0 25px 0; - } - .navbar-inverse .navbar-brand { - font-size: 65px; - padding-top: 20px; - } - .navbar-inverse .navbar-brand-logo { - background-image: url("../img/hawkbit_flower.png"); - background-size: 100px; - background-repeat: no-repeat; - position: absolute; - width: 100px; - height: 200px; - } - .tagline h1 { - font-size: 45px; - margin-top: 10px; - } -} - -@media(max-width:375px) { - .box-separator { - margin: 10px 0; - } - .box-img { - max-width: 100%; - } - .box-img.pull-left { - margin-right: 0; - margin-bottom: 10px; - } - .box-img.pull-right { - margin-bottom: 10px; - margin-left: 0; - } -} - - -/*Content Header -========================*/ - -.content-header { - margin: 50px 0px; -} - -.content-header h1 { - color: #666; -} - - -/*Blog/News -========================*/ - -.blogpost, -.news { - padding: 0 0 0px; - margin: 20px 0 0px; -} - -.blogpost h3, -.news h3 { - font-size: 28px; -} - -.blogpost p .news p { - margin: 20px 0; - font-size: 18px; -} - -.metadata { - margin-bottom: 20px; - padding: 5px 0; -} - -.metadata ul { - margin: 0; - padding: 0 -} - -.metadata ul li { - display: inline-block; - margin-right: 20px; -} - -.metadata i { - margin: 4px 5px 0 0; - color: #666; -} - - -/*downloads -========================*/ - -.box-dl h3 { - margin-top: 5px; - font-weight: bold; - color: #333; -} - -.box-dl .fa { - color: #999; -} - - -/*Home page Image-Hover*/ - -.zoom1 { - -webkit-transform: scale(1); - transform: scale(1); - -ms-transform: scale(1); - -webkit-transition: .3s ease-in-out; - -ms-transition: .3s ease-in-out; - transition: .3s ease-in-out; -} - -.zoom1:hover { - -webkit-transform: scale(0.9); - -ms-transform: scale(0.9); - transform: scale(0.9); -} - - -/*Home page Image-VideoOverlay*/ - -.thumb1, -.thumb2, -.thumb3, -.thumb4, -.thumb5 { - position: relative; -} - -.thumb1 .play-icon { - outline: medium none; - position: absolute; - z-index: 100; - opacity: 0.8; - color: #003151; - font-size: 4em; - left: 325px; - top: 125px; -} - -.thumb1 .play-icon:hover, -.thumb2 .play-icon:hover, -.thumb3 .play-icon:hover, -.thumb4 .play-icon:hover, -.thumb5 .play-icon:hover { - opacity: 1; - -webkit-transform: scale(1.1); - -ms-transform: scale(1.1); - transform: scale(1.1); -} - -.thumb2 .play-icon { - color: #003151; - font-size: 4em; - opacity: 0.8; - outline: medium none; - position: absolute; - left: 325px; - z-index: 100; - top: 125px; -} - -.thumb3 .play-icon { - color: #003151; - font-size: 4em; - opacity: 0.8; - outline: medium none; - position: absolute; - left: 200px; - z-index: 100; - top: 115px; -} - -.thumb4 .play-icon { - color: #003151; - font-size: 4em; - opacity: 0.8; - outline: medium none; - position: absolute; - left: 250px; - z-index: 100; - top: 125px; -} - -.thumb5 .play-icon { - color: #003151; - font-size: 4em; - opacity: 0.8; - outline: medium none; - position: absolute; - left: 800px; - z-index: 100; - top: 125px; -} - - -/*community*/ - -.team { - background: -moz-linear-gradient(center top, rgba(106, 178, 82, 1) 0%, rgba(147, 200, 130, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); - background: linear-gradient(center top, rgba(106, 178, 82, 1) 0%, rgba(147, 200, 130, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); - background: -webkit-linear-gradient(top, rgba(106, 178, 82, 1) 0%, rgba(147, 200, 130, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); - border-radius: 30px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(0, 0, 0, 0.1) inset; - height: auto; - margin-bottom: 5px; - padding: 8px; - position: relative; -} - -.team:hover { - background: -moz-linear-gradient(center top, rgba(106, 178, 82, 1) 0%, rgba(255, 255, 255, 0.3) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); - background: linear-gradient(center top, rgba(106, 178, 82, 1) 0%, rgba(255, 255, 255, 0.3) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); - background: -webkit-linear-gradient(top, rgba(106, 178, 82, 1) 0%, rgba(255, 255, 255, 0.3) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); - border-radius: 30px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(0, 0, 0, 0.1) inset; - border: 0px solid #3300CC; -} - -.team .fa { - color: #333; -} - - -/*Usecases*/ - -.teamuc { - background: -moz-linear-gradient(center top, rgba(106, 178, 82, 1) 0%, rgba(177, 189, 205, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); - background: linear-gradient(center top, rgba(106, 178, 82, 1) 0%, rgba(177, 189, 205, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); - background: -webkit-linear-gradient(top, rgba(106, 178, 82, 1) 0%, rgba(177, 189, 205, 1) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0); - filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#a7cfdf', endColorstr='#23538a', GradientType=0); - border-radius: 4px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(0, 0, 0, 0.1) inset; - height: auto; - margin-bottom: 5px; - padding: 8px; - position: relative; -} - -p.ex { - color: #fff; -} - -h2.ex { - color: #fff; - font-weight: bold; -} - -.vbtn { - background: #3498db; - background-image: -webkit-linear-gradient(top, #002E5C, #2980b9); - background-image: -moz-linear-gradient(top, #002E5C, #2980b9); - background-image: -ms-linear-gradient(top, #002E5C, #2980b9); - background-image: -o-linear-gradient(top, #002E5C, #2980b9); - background-image: linear-gradient(top bottom, #002E5C, #2980b9); - -webkit-border-radius: 28; - -moz-border-radius: 28; - border-radius: 28px; - color: #ffffff; - font-weight: bold; - padding: 10px 20px 10px 20px; - text-decoration: none; -} - -.vbtn:hover { - background: #3cb0fd; - background-image: -webkit-linear-gradient(top, #30567B, #3498db); - background-image: -moz-linear-gradient(top, #30567B, #3498db); - background-image: -ms-linear-gradient(top, #30567B, #3498db); - background-image: -o-linear-gradient(top, #30567B, #3498db); - background-image: linear-gradient(to bottom, #30567B, #3498db); - color: #ffffff; - font-weight: bold; - text-decoration: none; - box-shadow: inset 0 0 0 1px #27496d, 0 5px 15px #193047; -} - -.vbtn:active { - background: #3cb0fd; - background-image: -webkit-linear-gradient(top, #30567B, #3498db); - background-image: -moz-linear-gradient(top, #30567B, #3498db); - background-image: -ms-linear-gradient(top, #30567B, #3498db); - background-image: -o-linear-gradient(top, #30567B, #3498db); - background-image: linear-gradient(to bottom, #30567B, #3498db); - color: #ffffff; - font-weight: bold; - text-decoration: none; - box-shadow: inset 0 0 0 1px #27496d, 0 5px 15px #193047; -} - -.vbtn:focus { - background: #3cb0fd; - background-image: -webkit-linear-gradient(top, #30567B, #3498db); - background-image: -moz-linear-gradient(top, #30567B, #3498db); - background-image: -ms-linear-gradient(top, #30567B, #3498db); - background-image: -o-linear-gradient(top, #30567B, #3498db); - background-image: linear-gradient(to bottom, #30567B, #3498db); - color: #ffffff; - font-weight: bold; - text-decoration: none; - box-shadow: inset 0 0 0 1px #27496d, 0 5px 15px #193047; -} - - -/*Footer -========================*/ - -footer { - border-top: 1px solid #eee; - background: #f5f5f5; - padding: 30px 0; - color: #ccc; - margin-top: 40px; - margin-bottom: 0px; -} - -#extra h3 { - font-weight: 400; - border-bottom: 1px solid #999; - padding: 5px; -} - -.footer-links-header { - color: #333; - padding-top: 0px; - margin-top: 0px; -} - -footer h3 { - margin-top: 16px; - margin-bottom: 6px; - font-size: 20px; - font-weight: 555; -} - -.footer-links { - width: 49%; - display: inline-block; - margin: 0; - list-style: none; -} - -footer ul { - -webkit-padding-start: 0px; -} - - -/*documentation*/ - -.nav-bar { - margin-top: 50px; - background-color: #dadada; - border: 1px solid #ccc; - padding-top: 12px; -} - -.nav-bar .nav .navmenu-nav { - padding: 3px 15px; -} - -.nav-bar .nav>li>a { - position: relative; - display: block; - padding: 0px 0px; -} - -.documentation-section { - padding-top: 68px; - margin-top: -38px; - margin-left: 25px; -} - -.info-note { - color: #2283A3; - font-size: 2em; -} - - -/* blogs*/ - -@media (max-width: 767px) { - .blogstep .blogpicture { - float: none; - text-align: center; - } - .blogstep .blogtext { - padding: 0; - } -} - -.blogstep { - padding: 0 0 20px 40px; - background: url(../img/blogpics/stepline.png) no-repeat 10px 3px; -} - -.blogstep .blogpicture { - float: right; -} - -.blogstep .blogpicture img { - max-width: 100%; -} - -.blogstep .blogtext { - padding: 0 400px 0 0; - color: #848484; -} - -.blogstep .blogtext p { - padding-bottom: 10px; -} - -.blogstep .blogtext a { - color: #0066FF; -} - -.clear { - clear: both; - height: 0; - overflow: hidden; -} - -table { - background: #B0C4DE none repeat scroll 0 0; - border: 1px solid #ccc; - border-radius: 4px; - margin: 20px; - width: 100%; -} - -table th { - background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top, #B0C4DE, #B0C4DE) repeat scroll 0 0; - background: rgba(0, 0, 0, 0) linear-gradient(center top, #B0C4DE, #B0C4DE) repeat scroll 0 0; - background: rgba(0, 0, 0, 0) -webkit-linear-gradient(center top, #B0C4DE, #B0C4DE) repeat scroll 0 0; - border-bottom: 1px solid #c0c0c0; - border-top: 1px solid #e0e0e0; - padding: 4px 6px; -} - -table tr:first-child th:first-child { - border-top-left-radius: 3px; -} - -table tr:first-child th:last-child { - border-top-right-radius: 3px; -} - -table td:first-child { - border-left: 0 none; - text-align: left; -} - -table td { - background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top, #fbfbfb, #fafafa) repeat scroll 0 0; - background: rgba(0, 0, 0, 0) linear-gradient(center top, #fbfbfb, #fafafa) repeat scroll 0 0; - background: rgba(0, 0, 0, 0) -webkit-linear-gradient(center top, #fbfbfb, #fafafa) repeat scroll 0 0; - border-bottom: 1px solid #e0e0e0; - border-left: 1px solid #e0e0e0; - border-top: 1px solid #f0f0f0; - padding: 4px 6px; -} - -table tr.even td { - background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top, #f8f8f8, #f6f6f6) repeat scroll 0 0; - background: rgba(0, 0, 0, 0) linear-gradient(center top, #f8f8f8, #f6f6f6) repeat scroll 0 0; - background: rgba(0, 0, 0, 0) -webkit-linear-gradient(center top, #f8f8f8, #f6f6f6) repeat scroll 0 0; -} - -table tr:last-child td { - border-bottom: 0 none; -} - -table tr:last-child td:first-child { - border-bottom-left-radius: 3px; -} - -table tr:last-child td:last-child { - border-bottom-right-radius: 3px; -} - -table tr:hover td { - background: rgba(0, 0, 0, 0) -moz-linear-gradient(center top, #f2f2f2, #f0f0f0) repeat scroll 0 0; - background: rgba(0, 0, 0, 0) linear-gradient(center top, #f2f2f2, #f0f0f0) repeat scroll 0 0; - background: rgba(0, 0, 0, 0) -webkit-linear-gradient(center top, #f2f2f2, #f0f0f0) repeat scroll 0 0; -} - -#zoo table { - margin: 0; -} - -.pricing { - -moz-border-bottom-colors: none; - -moz-border-left-colors: none; - -moz-border-right-colors: none; - -moz-border-top-colors: none; - border-color: #d4d4d4; - border-image: none; - border-radius: 5px 5px 9px 9px; - border-style: solid; - border-width: 1px 1px 4px; - color: #c0c2c2; - font-family: "Lato", sans-serif; - font-size: 12px; - font-weight: 400; - margin-bottom: 40px; - width: 100%; -} - -.pricing thead th { - background: #333 none repeat scroll 0 0; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - color: #f4f4f4; - float: left; - font-family: "Lato", sans-serif; - font-size: 24px; - padding: 13px 8%; - text-align: center; - text-transform: uppercase; - width: 100%; -} - -.pricing tfoot td { - background: #ededed none repeat scroll 0 0; - border-bottom-left-radius: 6px; - border-bottom-right-radius: 6px; - padding: 20px 8%; - width: 100%; -} - -.pricing td { - background: #fff none repeat scroll 0 0; - border: 1px solid #d4d4d4; - float: left; - padding: 10px 8%; - width: 100%; -} - -.pricing tfoot td { - text-align: center; -} - -.pricing td.focus { - background: #3a5a82; - none repeat scroll 0 0; - border-bottom: 1px solid #d4d4d4; - color: #fff; - font-family: "Lato", sans-serif; - font-size: 32px; - font-weight: 400; - padding: 25px 8%; - text-align: center; - width: 100%; -} - -.pricing td.focus-best { - background: #a00 none repeat scroll 0 0; - border-bottom: 1px solid #d4d4d4; - color: #fff; - font-family: "Lato", sans-serif; - font-size: 32px; - font-weight: 400; - padding: 25px 8%; - text-align: center; - width: 100%; -} - -.pricing td.focus span { - display: block; - font-size: 10px; - margin-top: 5px; -} - -.pricing td.focus-best span { - display: block; - font-size: 10px; -} - -.pricing td h6 { - color: #c0c2c2; - float: left; - font-family: "Lato", sans-serif; - font-size: 12px; - font-weight: 400; - width: 60%; -} - -.pricing td p { - float: left; - text-align: right; - width: 40%; -} - -.btn-primary:hover { - box-shadow: 0 0 3px rgba(0, 0, 0, 1); -} - -#tbltext { - color: #000000; -} \ No newline at end of file diff --git a/docs/src/main/resources/css/prettyPhoto.css b/docs/src/main/resources/css/prettyPhoto.css deleted file mode 100644 index 4ed3f810b..000000000 --- a/docs/src/main/resources/css/prettyPhoto.css +++ /dev/null @@ -1,170 +0,0 @@ -div.pp_default .pp_top,div.pp_default .pp_top .pp_middle,div.pp_default .pp_top .pp_left,div.pp_default .pp_top .pp_right,div.pp_default .pp_bottom,div.pp_default .pp_bottom .pp_left,div.pp_default .pp_bottom .pp_middle,div.pp_default .pp_bottom .pp_right{height:13px} -div.pp_default .pp_top .pp_left{background:url(../img/prettyPhoto/default/sprite.png) -78px -93px no-repeat} -div.pp_default .pp_top .pp_middle{background:url(../img/prettyPhoto/default/sprite_x.png) top left repeat-x} -div.pp_default .pp_top .pp_right{background:url(../img/prettyPhoto/default/sprite.png) -112px -93px no-repeat} -div.pp_default .pp_content .ppt{color:#f8f8f8} -div.pp_default .pp_content_container .pp_left{background:url(../img/prettyPhoto/default/sprite_y.png) -7px 0 repeat-y;padding-left:13px} -div.pp_default .pp_content_container .pp_right{background:url(../img/prettyPhoto/default/sprite_y.png) top right repeat-y;padding-right:13px} -div.pp_default .pp_next:hover{background:url(../img/prettyPhoto/default/sprite_next.png) center right no-repeat;cursor:pointer} -div.pp_default .pp_previous:hover{background:url(../img/prettyPhoto/default/sprite_prev.png) center left no-repeat;cursor:pointer} -div.pp_default .pp_expand{background:url(../img/prettyPhoto/default/sprite.png) 0 -29px no-repeat;cursor:pointer;width:28px;height:28px} -div.pp_default .pp_expand:hover{background:url(../img/prettyPhoto/default/sprite.png) 0 -56px no-repeat;cursor:pointer} -div.pp_default .pp_contract{background:url(../img/prettyPhoto/default/sprite.png) 0 -84px no-repeat;cursor:pointer;width:28px;height:28px} -div.pp_default .pp_contract:hover{background:url(../img/prettyPhoto/default/sprite.png) 0 -113px no-repeat;cursor:pointer} -div.pp_default .pp_close{width:30px;height:30px;background:url(../img/prettyPhoto/default/sprite.png) 1px 1px no-repeat;cursor:pointer} -div.pp_default .pp_gallery ul li a{background:url(../img/prettyPhoto/default/default_thumb.png) center center #f8f8f8;border:1px solid #aaa} -div.pp_default .pp_social{margin-top:7px} -div.pp_default .pp_gallery a.pp_arrow_previous,div.pp_default .pp_gallery a.pp_arrow_next{position:static;left:auto} -div.pp_default .pp_nav .pp_play,div.pp_default .pp_nav .pp_pause{background:url(../img/prettyPhoto/default/sprite.png) -51px 1px no-repeat;height:30px;width:30px} -div.pp_default .pp_nav .pp_pause{background-position:-51px -29px} -div.pp_default a.pp_arrow_previous,div.pp_default a.pp_arrow_next{background:url(../img/prettyPhoto/default/sprite.png) -31px -3px no-repeat;height:20px;width:20px;margin:4px 0 0} -div.pp_default a.pp_arrow_next{left:52px;background-position:-82px -3px} -div.pp_default .pp_content_container .pp_details{margin-top:5px} -div.pp_default .pp_nav{clear:none;height:30px;width:110px;position:relative} -div.pp_default .pp_nav .currentTextHolder{font-family:Georgia;font-style:italic;color:#999;font-size:11px;left:75px;line-height:25px;position:absolute;top:2px;margin:0;padding:0 0 0 10px} -div.pp_default .pp_close:hover,div.pp_default .pp_nav .pp_play:hover,div.pp_default .pp_nav .pp_pause:hover,div.pp_default .pp_arrow_next:hover,div.pp_default .pp_arrow_previous:hover{opacity:0.7} -div.pp_default .pp_description{font-size:11px;font-weight:700;line-height:14px;margin:5px 50px 5px 0} -div.pp_default .pp_bottom .pp_left{background:url(../img/prettyPhoto/default/sprite.png) -78px -127px no-repeat} -div.pp_default .pp_bottom .pp_middle{background:url(../img/prettyPhoto/default/sprite_x.png) bottom left repeat-x} -div.pp_default .pp_bottom .pp_right{background:url(../img/prettyPhoto/default/sprite.png) -112px -127px no-repeat} -div.pp_default .pp_loaderIcon{background:url(../img/prettyPhoto/default/loader.gif) center center no-repeat} -div.light_rounded .pp_top .pp_left{background:url(../img/prettyPhoto/light_rounded/sprite.png) -88px -53px no-repeat} -div.light_rounded .pp_top .pp_right{background:url(../img/prettyPhoto/light_rounded/sprite.png) -110px -53px no-repeat} -div.light_rounded .pp_next:hover{background:url(../img/prettyPhoto/light_rounded/btnNext.png) center right no-repeat;cursor:pointer} -div.light_rounded .pp_previous:hover{background:url(../img/prettyPhoto/light_rounded/btnPrevious.png) center left no-repeat;cursor:pointer} -div.light_rounded .pp_expand{background:url(../img/prettyPhoto/light_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer} -div.light_rounded .pp_expand:hover{background:url(../img/prettyPhoto/light_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer} -div.light_rounded .pp_contract{background:url(../img/prettyPhoto/light_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer} -div.light_rounded .pp_contract:hover{background:url(../img/prettyPhoto/light_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer} -div.light_rounded .pp_close{width:75px;height:22px;background:url(../img/prettyPhoto/light_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer} -div.light_rounded .pp_nav .pp_play{background:url(../img/prettyPhoto/light_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px} -div.light_rounded .pp_nav .pp_pause{background:url(../img/prettyPhoto/light_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px} -div.light_rounded .pp_arrow_previous{background:url(../img/prettyPhoto/light_rounded/sprite.png) 0 -71px no-repeat} -div.light_rounded .pp_arrow_next{background:url(../img/prettyPhoto/light_rounded/sprite.png) -22px -71px no-repeat} -div.light_rounded .pp_bottom .pp_left{background:url(../img/prettyPhoto/light_rounded/sprite.png) -88px -80px no-repeat} -div.light_rounded .pp_bottom .pp_right{background:url(../img/prettyPhoto/light_rounded/sprite.png) -110px -80px no-repeat} -div.dark_rounded .pp_top .pp_left{background:url(../img/prettyPhoto/dark_rounded/sprite.png) -88px -53px no-repeat} -div.dark_rounded .pp_top .pp_right{background:url(../img/prettyPhoto/dark_rounded/sprite.png) -110px -53px no-repeat} -div.dark_rounded .pp_content_container .pp_left{background:url(../img/prettyPhoto/dark_rounded/contentPattern.png) top left repeat-y} -div.dark_rounded .pp_content_container .pp_right{background:url(../img/prettyPhoto/dark_rounded/contentPattern.png) top right repeat-y} -div.dark_rounded .pp_next:hover{background:url(../img/prettyPhoto/dark_rounded/btnNext.png) center right no-repeat;cursor:pointer} -div.dark_rounded .pp_previous:hover{background:url(../img/prettyPhoto/dark_rounded/btnPrevious.png) center left no-repeat;cursor:pointer} -div.dark_rounded .pp_expand{background:url(../img/prettyPhoto/dark_rounded/sprite.png) -31px -26px no-repeat;cursor:pointer} -div.dark_rounded .pp_expand:hover{background:url(../img/prettyPhoto/dark_rounded/sprite.png) -31px -47px no-repeat;cursor:pointer} -div.dark_rounded .pp_contract{background:url(../img/prettyPhoto/dark_rounded/sprite.png) 0 -26px no-repeat;cursor:pointer} -div.dark_rounded .pp_contract:hover{background:url(../img/prettyPhoto/dark_rounded/sprite.png) 0 -47px no-repeat;cursor:pointer} -div.dark_rounded .pp_close{width:75px;height:22px;background:url(../img/prettyPhoto/dark_rounded/sprite.png) -1px -1px no-repeat;cursor:pointer} -div.dark_rounded .pp_description{margin-right:85px;color:#fff} -div.dark_rounded .pp_nav .pp_play{background:url(../img/prettyPhoto/dark_rounded/sprite.png) -1px -100px no-repeat;height:15px;width:14px} -div.dark_rounded .pp_nav .pp_pause{background:url(../img/prettyPhoto/dark_rounded/sprite.png) -24px -100px no-repeat;height:15px;width:14px} -div.dark_rounded .pp_arrow_previous{background:url(../img/prettyPhoto/dark_rounded/sprite.png) 0 -71px no-repeat} -div.dark_rounded .pp_arrow_next{background:url(../img/prettyPhoto/dark_rounded/sprite.png) -22px -71px no-repeat} -div.dark_rounded .pp_bottom .pp_left{background:url(../img/prettyPhoto/dark_rounded/sprite.png) -88px -80px no-repeat} -div.dark_rounded .pp_bottom .pp_right{background:url(../img/prettyPhoto/dark_rounded/sprite.png) -110px -80px no-repeat} -div.dark_rounded .pp_loaderIcon{background:url(../img/prettyPhoto/dark_rounded/loader.gif) center center no-repeat} -div.dark_square .pp_left,div.dark_square .pp_middle,div.dark_square .pp_right,div.dark_square .pp_content{background:#000} -div.dark_square .pp_description{color:#fff;margin:0 85px 0 0} -div.dark_square .pp_loaderIcon{background:url(../img/prettyPhoto/dark_square/loader.gif) center center no-repeat} -div.dark_square .pp_expand{background:url(../img/prettyPhoto/dark_square/sprite.png) -31px -26px no-repeat;cursor:pointer} -div.dark_square .pp_expand:hover{background:url(../img/prettyPhoto/dark_square/sprite.png) -31px -47px no-repeat;cursor:pointer} -div.dark_square .pp_contract{background:url(../img/prettyPhoto/dark_square/sprite.png) 0 -26px no-repeat;cursor:pointer} -div.dark_square .pp_contract:hover{background:url(../img/prettyPhoto/dark_square/sprite.png) 0 -47px no-repeat;cursor:pointer} -div.dark_square .pp_close{width:75px;height:22px;background:url(../img/prettyPhoto/dark_square/sprite.png) -1px -1px no-repeat;cursor:pointer} -div.dark_square .pp_nav{clear:none} -div.dark_square .pp_nav .pp_play{background:url(../img/prettyPhoto/dark_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px} -div.dark_square .pp_nav .pp_pause{background:url(../img/prettyPhoto/dark_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px} -div.dark_square .pp_arrow_previous{background:url(../img/prettyPhoto/dark_square/sprite.png) 0 -71px no-repeat} -div.dark_square .pp_arrow_next{background:url(../img/prettyPhoto/dark_square/sprite.png) -22px -71px no-repeat} -div.dark_square .pp_next:hover{background:url(../img/prettyPhoto/dark_square/btnNext.png) center right no-repeat;cursor:pointer} -div.dark_square .pp_previous:hover{background:url(../img/prettyPhoto/dark_square/btnPrevious.png) center left no-repeat;cursor:pointer} -div.light_square .pp_expand{background:url(../img/prettyPhoto/light_square/sprite.png) -31px -26px no-repeat;cursor:pointer} -div.light_square .pp_expand:hover{background:url(../img/prettyPhoto/light_square/sprite.png) -31px -47px no-repeat;cursor:pointer} -div.light_square .pp_contract{background:url(../img/prettyPhoto/light_square/sprite.png) 0 -26px no-repeat;cursor:pointer} -div.light_square .pp_contract:hover{background:url(../img/prettyPhoto/light_square/sprite.png) 0 -47px no-repeat;cursor:pointer} -div.light_square .pp_close{width:75px;height:22px;background:url(../img/prettyPhoto/light_square/sprite.png) -1px -1px no-repeat;cursor:pointer} -div.light_square .pp_nav .pp_play{background:url(../img/prettyPhoto/light_square/sprite.png) -1px -100px no-repeat;height:15px;width:14px} -div.light_square .pp_nav .pp_pause{background:url(../img/prettyPhoto/light_square/sprite.png) -24px -100px no-repeat;height:15px;width:14px} -div.light_square .pp_arrow_previous{background:url(../img/prettyPhoto/light_square/sprite.png) 0 -71px no-repeat} -div.light_square .pp_arrow_next{background:url(../img/prettyPhoto/light_square/sprite.png) -22px -71px no-repeat} -div.light_square .pp_next:hover{background:url(../img/prettyPhoto/light_square/btnNext.png) center right no-repeat;cursor:pointer} -div.light_square .pp_previous:hover{background:url(../img/prettyPhoto/light_square/btnPrevious.png) center left no-repeat;cursor:pointer} -div.facebook .pp_top .pp_left{background:url(../img/prettyPhoto/facebook/sprite.png) -88px -53px no-repeat} -div.facebook .pp_top .pp_middle{background:url(../img/prettyPhoto/facebook/contentPatternTop.png) top left repeat-x} -div.facebook .pp_top .pp_right{background:url(../img/prettyPhoto/facebook/sprite.png) -110px -53px no-repeat} -div.facebook .pp_content_container .pp_left{background:url(../img/prettyPhoto/facebook/contentPatternLeft.png) top left repeat-y} -div.facebook .pp_content_container .pp_right{background:url(../img/prettyPhoto/facebook/contentPatternRight.png) top right repeat-y} -div.facebook .pp_expand{background:url(../img/prettyPhoto/facebook/sprite.png) -31px -26px no-repeat;cursor:pointer} -div.facebook .pp_expand:hover{background:url(../img/prettyPhoto/facebook/sprite.png) -31px -47px no-repeat;cursor:pointer} -div.facebook .pp_contract{background:url(../img/prettyPhoto/facebook/sprite.png) 0 -26px no-repeat;cursor:pointer} -div.facebook .pp_contract:hover{background:url(../img/prettyPhoto/facebook/sprite.png) 0 -47px no-repeat;cursor:pointer} -div.facebook .pp_close{width:22px;height:22px;background:url(../img/prettyPhoto/facebook/sprite.png) -1px -1px no-repeat;cursor:pointer} -div.facebook .pp_description{margin:0 37px 0 0} -div.facebook .pp_loaderIcon{background:url(../img/prettyPhoto/facebook/loader.gif) center center no-repeat} -div.facebook .pp_arrow_previous{background:url(../img/prettyPhoto/facebook/sprite.png) 0 -71px no-repeat;height:22px;margin-top:0;width:22px} -div.facebook .pp_arrow_previous.disabled{background-position:0 -96px;cursor:default} -div.facebook .pp_arrow_next{background:url(../img/prettyPhoto/facebook/sprite.png) -32px -71px no-repeat;height:22px;margin-top:0;width:22px} -div.facebook .pp_arrow_next.disabled{background-position:-32px -96px;cursor:default} -div.facebook .pp_nav{margin-top:0} -div.facebook .pp_nav p{font-size:15px;padding:0 3px 0 4px} -div.facebook .pp_nav .pp_play{background:url(../img/prettyPhoto/facebook/sprite.png) -1px -123px no-repeat;height:22px;width:22px} -div.facebook .pp_nav .pp_pause{background:url(../img/prettyPhoto/facebook/sprite.png) -32px -123px no-repeat;height:22px;width:22px} -div.facebook .pp_next:hover{background:url(../img/prettyPhoto/facebook/btnNext.png) center right no-repeat;cursor:pointer} -div.facebook .pp_previous:hover{background:url(../img/prettyPhoto/facebook/btnPrevious.png) center left no-repeat;cursor:pointer} -div.facebook .pp_bottom .pp_left{background:url(../img/prettyPhoto/facebook/sprite.png) -88px -80px no-repeat} -div.facebook .pp_bottom .pp_middle{background:url(../img/prettyPhoto/facebook/contentPatternBottom.png) top left repeat-x} -div.facebook .pp_bottom .pp_right{background:url(../img/prettyPhoto/facebook/sprite.png) -110px -80px no-repeat} -div.pp_pic_holder a:focus{outline:none} -div.pp_overlay{background:#000;display:none;left:0;position:absolute;top:0;width:100%;z-index:9500} -div.pp_pic_holder{display:none;position:absolute;width:100px;z-index:10000} -.pp_content{height:40px;min-width:40px} -* html .pp_content{width:40px} -.pp_content_container{position:relative;text-align:left;width:100%} -.pp_content_container .pp_left{padding-left:20px} -.pp_content_container .pp_right{padding-right:20px} -.pp_content_container .pp_details{float:left;margin:10px 0 2px} -.pp_description{display:none;margin:0} -.pp_social{float:left;margin:0} -.pp_social .facebook{float:left;margin-left:5px;width:55px;overflow:hidden} -.pp_social .twitter{float:left} -.pp_nav{clear:right;float:left;margin:3px 10px 0 0} -.pp_nav p{float:left;white-space:nowrap;margin:2px 4px} -.pp_nav .pp_play,.pp_nav .pp_pause{float:left;margin-right:4px;text-indent:-10000px} -a.pp_arrow_previous,a.pp_arrow_next{display:block;float:left;height:15px;margin-top:3px;overflow:hidden;text-indent:-10000px;width:14px} -.pp_hoverContainer{position:absolute;top:0;width:100%;z-index:2000} -.pp_gallery{display:none;left:50%;margin-top:-50px;position:absolute;z-index:10000} -.pp_gallery div{float:left;overflow:hidden;position:relative} -.pp_gallery ul{float:left;height:35px;position:relative;white-space:nowrap;margin:0 0 0 5px;padding:0} -.pp_gallery ul a{border:1px rgba(0,0,0,0.5) solid;display:block;float:left;height:33px;overflow:hidden} -.pp_gallery ul a img{border:0} -.pp_gallery li{display:block;float:left;margin:0 5px 0 0;padding:0} -.pp_gallery li.default a{background:url(../img/prettyPhoto/facebook/default_thumbnail.gif) 0 0 no-repeat;display:block;height:33px;width:50px} -.pp_gallery .pp_arrow_previous,.pp_gallery .pp_arrow_next{margin-top:7px!important} -a.pp_next{background:url(../img/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;float:right;height:100%;text-indent:-10000px;width:49%} -a.pp_previous{background:url(../img/prettyPhoto/light_rounded/btnNext.png) 10000px 10000px no-repeat;display:block;float:left;height:100%;text-indent:-10000px;width:49%} -a.pp_expand,a.pp_contract{cursor:pointer;display:none;height:20px;position:absolute;right:30px;text-indent:-10000px;top:10px;width:20px;z-index:20000} -a.pp_close{position:absolute;right:5px;top:10px;display:block;line-height:22px;text-indent:-10000px} -.pp_loaderIcon{display:block;height:24px;left:50%;position:absolute;top:50%;width:24px;margin:-12px 0 0 -12px} -#pp_full_res{line-height:1!important} -#pp_full_res .pp_inline{text-align:left} -#pp_full_res .pp_inline p{margin:0 0 15px} -div.ppt{color:#fff;display:none;font-size:17px;z-index:9999;margin:0 0 5px 15px} -div.pp_default .pp_content,div.light_rounded .pp_content{background-color:#fff} -div.pp_default #pp_full_res .pp_inline,div.light_rounded .pp_content .ppt,div.light_rounded #pp_full_res .pp_inline,div.light_square .pp_content .ppt,div.light_square #pp_full_res .pp_inline,div.facebook .pp_content .ppt,div.facebook #pp_full_res .pp_inline{color:#000} -div.pp_default .pp_gallery ul li a:hover,div.pp_default .pp_gallery ul li.selected a,.pp_gallery ul a:hover,.pp_gallery li.selected a{border-color:#fff} -div.pp_default .pp_details,div.light_rounded .pp_details,div.dark_rounded .pp_details,div.dark_square .pp_details,div.light_square .pp_details,div.facebook .pp_details{position:relative} -div.light_rounded .pp_top .pp_middle,div.light_rounded .pp_content_container .pp_left,div.light_rounded .pp_content_container .pp_right,div.light_rounded .pp_bottom .pp_middle,div.light_square .pp_left,div.light_square .pp_middle,div.light_square .pp_right,div.light_square .pp_content,div.facebook .pp_content{background:#fff} -div.light_rounded .pp_description,div.light_square .pp_description{margin-right:85px} -div.light_rounded .pp_gallery a.pp_arrow_previous,div.light_rounded .pp_gallery a.pp_arrow_next,div.dark_rounded .pp_gallery a.pp_arrow_previous,div.dark_rounded .pp_gallery a.pp_arrow_next,div.dark_square .pp_gallery a.pp_arrow_previous,div.dark_square .pp_gallery a.pp_arrow_next,div.light_square .pp_gallery a.pp_arrow_previous,div.light_square .pp_gallery a.pp_arrow_next{margin-top:12px!important} -div.light_rounded .pp_arrow_previous.disabled,div.dark_rounded .pp_arrow_previous.disabled,div.dark_square .pp_arrow_previous.disabled,div.light_square .pp_arrow_previous.disabled{background-position:0 -87px;cursor:default} -div.light_rounded .pp_arrow_next.disabled,div.dark_rounded .pp_arrow_next.disabled,div.dark_square .pp_arrow_next.disabled,div.light_square .pp_arrow_next.disabled{background-position:-22px -87px;cursor:default} -div.light_rounded .pp_loaderIcon,div.light_square .pp_loaderIcon{background:url(../img/prettyPhoto/light_rounded/loader.gif) center center no-repeat} -div.dark_rounded .pp_top .pp_middle,div.dark_rounded .pp_content,div.dark_rounded .pp_bottom .pp_middle{background:url(../img/prettyPhoto/dark_rounded/contentPattern.png) top left repeat} -div.dark_rounded .currentTextHolder,div.dark_square .currentTextHolder{color:#c4c4c4} -div.dark_rounded #pp_full_res .pp_inline,div.dark_square #pp_full_res .pp_inline{color:#fff} -.pp_top,.pp_bottom{height:20px;position:relative} -* html .pp_top,* html .pp_bottom{padding:0 20px} -.pp_top .pp_left,.pp_bottom .pp_left{height:20px;left:0;position:absolute;width:20px} -.pp_top .pp_middle,.pp_bottom .pp_middle{height:20px;left:20px;position:absolute;right:20px} -* html .pp_top .pp_middle,* html .pp_bottom .pp_middle{left:0;position:static} -.pp_top .pp_right,.pp_bottom .pp_right{height:20px;left:auto;position:absolute;right:0;top:0;width:20px} -.pp_fade,.pp_gallery li.default a img{display:none} diff --git a/docs/src/main/resources/ctycontribute.md b/docs/src/main/resources/ctycontribute.md deleted file mode 100644 index 16e350031..000000000 --- a/docs/src/main/resources/ctycontribute.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: default -title: "Contributing" -date: "2015-04-03T04:30:17+08:00" -series : "homepagebottom" -sequence: "contribute" -imagename : "fa fa-link fa-4x" -style: "team" -accesslink: "https://wiki.eclipse.org/Development_Resources/Contributing_via_Git" ---- - -An overview of the **contribution process** is here. -Checkout the *CONTRIBUTION.md* on the Eclipse hawkBit GIT Repository \ No newline at end of file diff --git a/docs/src/main/resources/ctygitter.md b/docs/src/main/resources/ctygitter.md deleted file mode 100644 index 9289ba950..000000000 --- a/docs/src/main/resources/ctygitter.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -layout: default -title: "Gitter Chat" -series : "homepagebottom" -sequence: "gitter" -imagename : "fa fa-users fa-4x" -style: "team" -accesslink: "https://gitter.im/eclipse/hawkbit" ---- - -Questions? Problems? Searching for a quick response from the team behind hawkBit and from the hawkBit community, join the Gitter chat. \ No newline at end of file diff --git a/docs/src/main/resources/ctyhudson.md b/docs/src/main/resources/ctyhudson.md deleted file mode 100644 index 512fe2e4e..000000000 --- a/docs/src/main/resources/ctyhudson.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: default -title: "Hudson Build" -series : "homepagebottom" -sequence: "hudson" -imagename : "fa fa-gear fa-4x" -style: "team" -accesslink: "https://hudson.eclipse.org/hawkbit" ---- -{% include base.html %} - -Checkout the builds of hawkBit on the Hudson CI here. \ No newline at end of file diff --git a/docs/src/main/resources/ctyissuetracker.md b/docs/src/main/resources/ctyissuetracker.md deleted file mode 100644 index 456948ba3..000000000 --- a/docs/src/main/resources/ctyissuetracker.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: default -title: "Issue Tracker" -series : "homepagebottom" -sequence: "issuetracker" -imagename : "fa fa-bug fa-4x" -style: "team" -accesslink: "https://github.com/eclipse/hawkbit/issues" ---- -Issues and bugs related to hawkBit are tracked with the **Github Issue** tracking system. If you find any issues, please report them here. \ No newline at end of file diff --git a/docs/src/main/resources/ctymailingllist.md b/docs/src/main/resources/ctymailingllist.md deleted file mode 100644 index 933417ef6..000000000 --- a/docs/src/main/resources/ctymailingllist.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: default -title: "Mailing List" -series : "homepagebottom" -sequence: "mailinglist" -imagename : "fa fa-envelope fa-4x" -style: "team" -accesslink: "https://dev.eclipse.org/mailman/listinfo/hawkbit-dev" ---- -{% include base.html %} - -A great way to stay up to date with hawkBit activity is to subscribe to the **Mailing list** provided by Eclipse. Sign up for the mailing list here. \ No newline at end of file diff --git a/docs/src/main/resources/documentation/architecture/architecture.md b/docs/src/main/resources/documentation/architecture/architecture.md deleted file mode 100644 index afc8046d8..000000000 --- a/docs/src/main/resources/documentation/architecture/architecture.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -layout: documentation -title: Architecture Overview ---- - -{% include base.html %} - -Overview of hawkBit modules and used 3rd party technology: -![](../images/architecture/architecture.png){:width="100%" .image-center} \ No newline at end of file diff --git a/docs/src/main/resources/documentation/images/gettingStartedResult.png b/docs/src/main/resources/documentation/images/gettingStartedResult.png deleted file mode 100644 index 82b546290..000000000 Binary files a/docs/src/main/resources/documentation/images/gettingStartedResult.png and /dev/null differ diff --git a/docs/src/main/resources/documentation/index.md b/docs/src/main/resources/documentation/index.md deleted file mode 100644 index f1a47d857..000000000 --- a/docs/src/main/resources/documentation/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -layout: documentation -title: Documentation ---- \ No newline at end of file diff --git a/docs/src/main/resources/documentation/interfaces/interfaces.md b/docs/src/main/resources/documentation/interfaces/interfaces.md deleted file mode 100644 index 1f2ca4580..000000000 --- a/docs/src/main/resources/documentation/interfaces/interfaces.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -layout: documentation -title: Interfaces ---- - -{% include base.html %} - -![](../images/hawkBit_overview.jpeg){:width="100%"} - - -# Graphical User Interface - -To get started _hawkBit_ offers a [Management UI](management-ui.html) that allows operators to manage the repository and trigger provisioning operations. - -In addition Eclipse _hawkBit_ offers developers multiple options to integrate. - -# Application Integration -The _hawkBit_ [Management API](management-api.html) allows applications to manage the repository and trigger provisioning operations. It is in general feature compliant with the _Management UI_. However, small differences may occur here and there. The authentication and authorization structure is identical, i.e. a user can login both at Management API and UI with the same credentials and has the same permissions available. - -# Device Integration -For device integration two options exist. - -The [Direct Device Integration API](ddi-api.html) allows direct integration from the device to the _hawkBit_ server. It has been designed with simplicity in mind as its is fully focused on software update. It allows device integrators to separate concerns by means of having distinguished channels for business data and general device management tasks on one side and software update on the other. As a result it is possible to keep the _lifesaving_ provisioning process controller on the device separate from the more complex business functionality. A benefit of such an architecture should not be underestimated. - -As result of such a simple HTTP/REST/JSON based API even a major back-end migration or disaster can be covered with simple web server hosting a text file that contains only the command to update one more time to execute a migration on the device. The API was designed on purpose in way to have that last resort even if the plan is that this will never be necessary. - -The [Device Management Federation API](dmf-api.html) however allows to combine the business data and _hawkBit_ connectivity. This is especially usefull if a constrained device cannot handle a TLS/HTTP connection, is supporting a standard device management protocol that covers also the software update part (e.g. TR-069, OMA-DM, LWM2M) or the device is already connected and _hawkBit_ is introduced later on. - -The decision for the right device integration path is up to the integration party. diff --git a/docs/src/main/resources/documentation/interfaces/managementapi/distributionsets.md b/docs/src/main/resources/documentation/interfaces/managementapi/distributionsets.md deleted file mode 100644 index f2c381017..000000000 --- a/docs/src/main/resources/documentation/interfaces/managementapi/distributionsets.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: documentation -title: Management-API ---- - - diff --git a/docs/src/main/resources/documentation/interfaces/managementapi/distributionsettag.md b/docs/src/main/resources/documentation/interfaces/managementapi/distributionsettag.md deleted file mode 100644 index 2bfbbd90e..000000000 --- a/docs/src/main/resources/documentation/interfaces/managementapi/distributionsettag.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: documentation -title: Management-API ---- - - diff --git a/docs/src/main/resources/documentation/interfaces/managementapi/distributionsettypes.md b/docs/src/main/resources/documentation/interfaces/managementapi/distributionsettypes.md deleted file mode 100644 index 0dd3b592e..000000000 --- a/docs/src/main/resources/documentation/interfaces/managementapi/distributionsettypes.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: documentation -title: Management-API ---- - - - diff --git a/docs/src/main/resources/documentation/interfaces/managementapi/rollouts.md b/docs/src/main/resources/documentation/interfaces/managementapi/rollouts.md deleted file mode 100644 index 6433ea1a8..000000000 --- a/docs/src/main/resources/documentation/interfaces/managementapi/rollouts.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: documentation -title: Management-API ---- - - diff --git a/docs/src/main/resources/documentation/interfaces/managementapi/softwaremodules.md b/docs/src/main/resources/documentation/interfaces/managementapi/softwaremodules.md deleted file mode 100644 index 463e7d59a..000000000 --- a/docs/src/main/resources/documentation/interfaces/managementapi/softwaremodules.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: documentation -title: Management-API ---- - - diff --git a/docs/src/main/resources/documentation/interfaces/managementapi/softwaremoduletypes.md b/docs/src/main/resources/documentation/interfaces/managementapi/softwaremoduletypes.md deleted file mode 100644 index 0a94ad218..000000000 --- a/docs/src/main/resources/documentation/interfaces/managementapi/softwaremoduletypes.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: documentation -title: Management-API ---- - - diff --git a/docs/src/main/resources/documentation/interfaces/managementapi/targetfilters.md b/docs/src/main/resources/documentation/interfaces/managementapi/targetfilters.md deleted file mode 100644 index fbda69b20..000000000 --- a/docs/src/main/resources/documentation/interfaces/managementapi/targetfilters.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: documentation -title: Management-API ---- - - diff --git a/docs/src/main/resources/documentation/interfaces/managementapi/targets.md b/docs/src/main/resources/documentation/interfaces/managementapi/targets.md deleted file mode 100644 index cdf640a1b..000000000 --- a/docs/src/main/resources/documentation/interfaces/managementapi/targets.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: documentation -title: Management-API ---- - - diff --git a/docs/src/main/resources/documentation/interfaces/managementapi/targettag.md b/docs/src/main/resources/documentation/interfaces/managementapi/targettag.md deleted file mode 100644 index 2b513d8c9..000000000 --- a/docs/src/main/resources/documentation/interfaces/managementapi/targettag.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: documentation -title: Management-API ---- - - diff --git a/docs/src/main/resources/documentation/interfaces/managementapi/tenant.md b/docs/src/main/resources/documentation/interfaces/managementapi/tenant.md deleted file mode 100644 index 0514c605b..000000000 --- a/docs/src/main/resources/documentation/interfaces/managementapi/tenant.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: documentation -title: Management-API ---- - - diff --git a/docs/src/main/resources/documentation/overview/getting-started.md b/docs/src/main/resources/documentation/overview/getting-started.md deleted file mode 100644 index 52a5b020b..000000000 --- a/docs/src/main/resources/documentation/overview/getting-started.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -layout: documentation -title: Getting Started ---- - -{% include base.html %} - -# hawkBit sandbox - -We offer a sandbox installation that is free for everyone to try out hawkBit. However, keep in mind that the sandbox database will be reset from time to time. It is also not possible to upload any artifacts into the sandbox. But you can use it to try out the Management UI, Management API and DDI API. Keep in mind as well that you are not permitted to store any kind of personal data in the sandbox. - -[hawkbit-sandbox](https://hawkbit-demo-sandbox.eu-gb.mybluemix.net/UI/) - -# Compile, Run and Getting Started - -#### Clone and build hawkBit -{% highlight bash %} -$ git clone https://github.com/eclipse/hawkbit.git -$ cd hawkbit -$ mvn clean install -{% endhighlight %} - -#### Start hawkBit [update server](https://github.com/eclipse/hawkbit/tree/master/hawkbit-runtime/hawkbit-update-server) - -{% highlight bash %} -$ java -jar ./hawkbit-runtime/hawkbit-update-server/target/hawkbit-update-server-#version#-SNAPSHOT.jar -{% endhighlight %} - -#### Build hawkBit examples -{% highlight bash %} -$ git clone https://github.com/eclipse/hawkbit-examples.git -$ cd hawkbit-examples -$ mvn clean install -{% endhighlight %} - -#### Start hawkBit device simulator -[Device Simulator](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-device-simulator) -{% highlight bash %} -$ java -jar ./hawkbit-device-simulator/target/hawkbit-device-simulator-#version#.jar -{% endhighlight %} - -#### Generate Getting Started data -[Example Management API Client](https://github.com/eclipse/hawkbit-examples/tree/master/hawkbit-example-mgmt-simulator) -{% highlight bash %} -$ java -jar ./hawkbit-example-mgmt-simulator/target/hawkbit-example-mgmt-simulator-#version#.jar -{% endhighlight %} diff --git a/docs/src/main/resources/documentation/security/security.md b/docs/src/main/resources/documentation/security/security.md deleted file mode 100644 index 51242c01f..000000000 --- a/docs/src/main/resources/documentation/security/security.md +++ /dev/null @@ -1,129 +0,0 @@ ---- -layout: documentation -title: Security ---- - -{% include base.html %} - -# Security - -## Authentication -A _hawkBit_ update server can be accessed in four different ways: -- _Direct Device Integration (DDI) API_ by **targets**. -- _Management API_ by 3rd party **applications**. -- _Device Management Federation (DMF) API_ by 3rd party **applications** through AMQP. -- _Management UI_ by **users**. - -### DDI API Authentication Modes - -#### Security Token - -_hawkBit_ supports multiple ways to authenticate a target against the server. The different authentication modes can be individual enabled and disabled within _hawkBit_. Both on system level (with Spring Boot properties) as per individual tenant. - -##### Target Security Token Authentication -There is a 32 alphanumeric character security-token for each created target within IoT _hawkBit_. This token can be used to authenticate the target at _hawkBit_ through the HTTP-Authorization header with the custom scheme _TargetToken_. - -``` -GET /SPDEMO/controller/v1/0e945f95-9117-4500-9b0a-9c6d72fa6c07 HTTP/1.1 -Host: your.hawkBit.server -Authorization: TargetToken bH7XXAprK1ChnLfKSdtlsp7NOlPnZAYY -``` - -The target security token is provided in [DMF API](../interfaces/dmf-api.html) as part of the update message in order to allow DMF clients to leverage the feature or can it be manually retrieved per target by [Management API](../interfaces/management-api.html) or in the [Management UI](../interfaces/management-ui.html) in the target details. - -Note: needs to be enabled in your _hawkBit_ installation **and** in the tenant configuration. That allows both the operator as well as the individual customer (if run in a multi-tenant setup) to enable this access method. See [DdiSecurityProperties](https://github.com/eclipse/hawkbit/blob/master/hawkbit-security-core/src/main/java/org/eclipse/hawkbit/security/DdiSecurityProperties.java) for system wide enablement. - -The additional activation for the individual tenant: - -![Enable Target Token](../images/security/targetToken.png){:width="800px"} - -##### Gateway Security Token Authentication -Often the targets are connected through a gateway which manages the targets directly and as a result are indirectly connected to the _hawkBit_ update server. - -To authenticate this gateway and allow it to manage all target instances under its tenant there is a _GatewayToken_ to authenticate this gateway through the HTTP-Authorization header with a custom scheme _GatewayToken_. This is of course also handy during development or for testing purposes. However, we generally recommend to use this token with care as it allows to act _in the name of_ any device. - -``` -GET /SPDEMO/controller/v1/0e945f95-9117-4500-9b0a-9c6d72fa6c07 HTTP/1.1 -Host: your.hawkBit.server -Authorization: GatewayToken 3nkswAZhX81oDtktq0FF9Pn0Tc0UGXPW -``` - -Note: needs to be enabled in your _hawkBit_ installation **and** in the tenant configuration. That allows both the operator as well as the individual customer (if run in a multi-tenant setup) to enable this access method. See [DdiSecurityProperties](https://github.com/eclipse/hawkbit/blob/master/hawkbit-security-core/src/main/java/org/eclipse/hawkbit/security/DdiSecurityProperties.java) for system wide enablement. - -The additional activation for the individual tenant: - -![Enable Gateway Token](../images/security/gatewayToken.png){:width="800px"} - -##### Anonymous access -Here we offer general anonymous access for all targets (see [DdiSecurityProperties](https://github.com/eclipse/hawkbit/blob/master/hawkbit-security-core/src/main/java/org/eclipse/hawkbit/security/DdiSecurityProperties.java)) which we consider not really sufficient for a production system but it might come in handy to get a project started in the beginning. - -However, anonymous download on the other side might be interesting even in production for scenarios where the artifact itself is already encrypted. - -The activation for the individual tenant: - -![Enable Anonymous Download](../images/security/anonymousDownload.png){:width="800px"} - -### DMF API -Authentication is provided by _RabbitMQ_ [vhost and user credentials](https://www.rabbitmq.com/access-control.html) that is used for the integration. - -### Management API -- Basic Auth - -### Management UI -- Login Dialog - -## Authorization -Authorization is handled separately for _Direct Device Integration (DDI) API_ and _Device Management Federation (DMF) API_ (where successful authentication includes full authorization) and _Management API_ and _UI_ which is based on Spring security [authorities](https://github.com/eclipse/hawkbit/blob/master/hawkbit-security-core/src/main/java/org/eclipse/hawkbit/im/authentication/SpPermission.java). - -However, keep in mind that _hawkBit_ does not offer an off the shelf authentication provider to leverage these permissions and the underlying multi user/tenant capabilities of _hawkBit_. Check out [Spring security documentation](http://projects.spring.io/spring-security/) for further information. In _hawkBit_ [SecurityAutoConfiguration](https://github.com/eclipse/hawkbit/blob/master/hawkbit-autoconfigure/src/main/java/org/eclipse/hawkbit/autoconfigure/security/SecurityAutoConfiguration.java) is a good starting point for integration. - -The default implementation is single user/tenant with basic auth and the logged in user is provided with all permissions. - -### DDI API -An authenticated target is permitted to: -- retrieve commands from the server -- provide feedback to the the server -- download artifacts that are assigned to it - -A target might be permitted to download artifacts without authentication (if enabled, see above). Only the download can be permitted to disable the authentication. This can be used in scenarios where the artifacts itself are e.g. signed and secured. - -### Management API and UI -#### Delivered Permissions -- READ_/UPDATE_/CREATE_/DELETE_TARGETS for: - - Target entities including metadata (that includes also the installed and assigned distribution sets) - - Target tags - - Target actions - - Target registration rules - - Bulk operations - - Target filters - -- READ_/UPDATE_/CREATE_/DELETE_REPOSITORY for: - - Distribution sets - - Software Modules - - Artifacts - - DS tags - -- READ_TARGET_SECURITY_TOKEN - - Permission to read the target security token. The security token is security concerned and should be protected. - -- DOWNLOAD_REPOSITORY_ARTIFACT - - Permission to download artifacts of an software module (Note: READ_REPOSITORY allows only to read the metadata). - -- TENANT_CONFIGURATION - - Permission to administrate the tenant settings. - -- ROLLOUT_MANAGEMENT - - Permission to provision targets through rollouts. - -#### Permission Matrix for example uses cases that need more than one permission - -Use Case | Needed permissions --------------------------------------------------------------------------- | -------------------------------------------------- -Search _targets_ by installed or assigned _distribution set_ | READ_TARGET, READ_REPOSITORY -Assign _DS_ to a _target_ | READ_REPOSITORY, UPDATE_TARGET -Assign DS to target through a _Rollout_, i.e. _Rollout_ creation and start | READ_REPOSITORY, UPDATE_TARGET, ROLLOUT_MANAGEMENT -Read _Rollout_ status including its _deployment groups_ | ROLLOUT_MANAGEMENT -Checks _targets_ inside _Rollout deployment group_ | READ_TARGET, ROLLOUT_MANAGEMENT - -### Device Management Federation API -The provided _RabbitMQ_ [vhost and user](https://www.rabbitmq.com/access-control.html) should be provided with the necessary permissions to send messages to _hawkBit_ through the exchange and receive messages from it through the specified queue. diff --git a/docs/src/main/resources/eclipseconfig.yml b/docs/src/main/resources/eclipseconfig.yml deleted file mode 100644 index eb7dbe17b..000000000 --- a/docs/src/main/resources/eclipseconfig.yml +++ /dev/null @@ -1,5 +0,0 @@ -# Site settings -title: Eclipse hawkBit -email: hawkbit-dev@eclipse.org -description: Eclipse hawkBit - IoT Software Update -baseurl: "" # the subpath of your site, e.g. /blog/ \ No newline at end of file diff --git a/docs/src/main/resources/feed.xml b/docs/src/main/resources/feed.xml deleted file mode 100644 index 64333706f..000000000 --- a/docs/src/main/resources/feed.xml +++ /dev/null @@ -1,30 +0,0 @@ ---- -layout: null ---- - - - - {{ site.title | xml_escape }} - {{ site.description | xml_escape }} - {{ site.url }}{{ site.baseurl }}/ - - {{ site.time | date_to_rfc822 }} - {{ site.time | date_to_rfc822 }} - Jekyll v{{ jekyll.version }} - {% for post in site.posts limit:10 %} - - {{ post.title | xml_escape }} - {{ post.content | xml_escape }} - {{ post.date | date_to_rfc822 }} - {{ post.url | prepend: site.baseurl | prepend: site.url }} - {{ post.url | prepend: site.baseurl | prepend: site.url }} - {% for tag in post.tags %} - {{ tag | xml_escape }} - {% endfor %} - {% for cat in post.categories %} - {{ cat | xml_escape }} - {% endfor %} - - {% endfor %} - - \ No newline at end of file diff --git a/docs/src/main/resources/img/hawkBit_overview.jpeg b/docs/src/main/resources/img/hawkBit_overview.jpeg deleted file mode 100644 index c16b20d88..000000000 Binary files a/docs/src/main/resources/img/hawkBit_overview.jpeg and /dev/null differ diff --git a/docs/src/main/resources/img/hawkbit_flower.png b/docs/src/main/resources/img/hawkbit_flower.png deleted file mode 100644 index 3ebd83baf..000000000 Binary files a/docs/src/main/resources/img/hawkbit_flower.png and /dev/null differ diff --git a/docs/src/main/resources/index.html b/docs/src/main/resources/index.html deleted file mode 100644 index f78869c74..000000000 --- a/docs/src/main/resources/index.html +++ /dev/null @@ -1,3 +0,0 @@ ---- -layout: homepage ---- diff --git a/docs/src/main/resources/js/app.js b/docs/src/main/resources/js/app.js deleted file mode 100644 index ecf48b4d8..000000000 --- a/docs/src/main/resources/js/app.js +++ /dev/null @@ -1,19 +0,0 @@ -$(function(){ - var headerScroll = 300; - $(window).scroll(function() { - var scroll = getScroll(); - if ( scroll >= headerScroll ) { - $('.navbar-lp').addClass('scroll'); - $('.navbar-lp').addClass('scroll-bg'); - } - else { - $('.navbar-lp').removeClass('scroll'); - $('.navbar-lp').removeClass('scroll-bg'); - } -}); - - -function getScroll() { - return window.pageYOffset || document.documentElement.scrollTop; - } - }); \ No newline at end of file diff --git a/docs/src/main/resources/js/jquery.prettyPhoto.js b/docs/src/main/resources/js/jquery.prettyPhoto.js deleted file mode 100644 index b00b8a23b..000000000 --- a/docs/src/main/resources/js/jquery.prettyPhoto.js +++ /dev/null @@ -1,7 +0,0 @@ -/* ------------------------------------------------------------------------ - Class: prettyPhoto - Use: Lightbox clone for jQuery - Author: Stephane Caron (http://www.no-margin-for-errors.com) - Version: 3.1.6 -------------------------------------------------------------------------- */ -!function(e){function t(){var e=location.href;return hashtag=-1!==e.indexOf("#prettyPhoto")?decodeURI(e.substring(e.indexOf("#prettyPhoto")+1,e.length)):!1,hashtag&&(hashtag=hashtag.replace(/<|>/g,"")),hashtag}function i(){"undefined"!=typeof theRel&&(location.hash=theRel+"/"+rel_index+"/")}function p(){-1!==location.href.indexOf("#prettyPhoto")&&(location.hash="prettyPhoto")}function o(e,t){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i="[\\?&]"+e+"=([^&#]*)",p=new RegExp(i),o=p.exec(t);return null==o?"":o[1]}e.prettyPhoto={version:"3.1.6"},e.fn.prettyPhoto=function(a){function s(){e(".pp_loaderIcon").hide(),projectedTop=scroll_pos.scrollTop+(I/2-f.containerHeight/2),projectedTop<0&&(projectedTop=0),$ppt.fadeTo(settings.animation_speed,1),$pp_pic_holder.find(".pp_content").animate({height:f.contentHeight,width:f.contentWidth},settings.animation_speed),$pp_pic_holder.animate({top:projectedTop,left:j/2-f.containerWidth/2<0?0:j/2-f.containerWidth/2,width:f.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(f.height).width(f.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed),isSet&&"image"==h(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),settings.allow_expand&&(f.resized?e("a.pp_expand,a.pp_contract").show():e("a.pp_expand").hide()),!settings.autoplay_slideshow||P||v||e.prettyPhoto.startSlideshow(),settings.changepicturecallback(),v=!0}),m(),a.ajaxcallback()}function n(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){e(".pp_loaderIcon").show(),t()})}function r(t){t>1?e(".pp_nav").show():e(".pp_nav").hide()}function l(e,t){if(resized=!1,d(e,t),imageWidth=e,imageHeight=t,(k>j||b>I)&&doresize&&settings.allow_resize&&!$){for(resized=!0,fitting=!1;!fitting;)k>j?(imageWidth=j-200,imageHeight=t/e*imageWidth):b>I?(imageHeight=I-200,imageWidth=e/t*imageHeight):fitting=!0,b=imageHeight,k=imageWidth;(k>j||b>I)&&l(k,b),d(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(b),containerWidth:Math.floor(k)+2*settings.horizontal_padding,contentHeight:Math.floor(y),contentWidth:Math.floor(w),resized:resized}}function d(t,i){t=parseFloat(t),i=parseFloat(i),$pp_details=$pp_pic_holder.find(".pp_details"),$pp_details.width(t),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(e("body")).css({position:"absolute",top:-1e4}),detailsHeight+=$pp_details.height(),detailsHeight=detailsHeight<=34?36:detailsHeight,$pp_details.remove(),$pp_title=$pp_pic_holder.find(".ppt"),$pp_title.width(t),titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom")),$pp_title=$pp_title.clone().appendTo(e("body")).css({position:"absolute",top:-1e4}),titleHeight+=$pp_title.height(),$pp_title.remove(),y=i+detailsHeight,w=t,b=y+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),k=t}function h(e){return e.match(/youtube\.com\/watch/i)||e.match(/youtu\.be/i)?"youtube":e.match(/vimeo\.com/i)?"vimeo":e.match(/\b.mov\b/i)?"quicktime":e.match(/\b.swf\b/i)?"flash":e.match(/\biframe=true\b/i)?"iframe":e.match(/\bajax=true\b/i)?"ajax":e.match(/\bcustom=true\b/i)?"custom":"#"==e.substr(0,1)?"inline":"image"}function c(){if(doresize&&"undefined"!=typeof $pp_pic_holder){if(scroll_pos=_(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=I/2+scroll_pos.scrollTop-contentHeight/2,projectedTop<0&&(projectedTop=0),contentHeight>I)return;$pp_pic_holder.css({top:projectedTop,left:j/2+scroll_pos.scrollLeft-contentwidth/2})}}function _(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function g(){I=e(window).height(),j=e(window).width(),"undefined"!=typeof $pp_overlay&&$pp_overlay.height(e(document).height()).width(j)}function m(){isSet&&settings.overlay_gallery&&"image"==h(pp_images[set_position])?(itemWidth=57,navWidth="facebook"==settings.theme||"pp_default"==settings.theme?50:30,itemsPerPage=Math.floor((f.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage";toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_gallery=e(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li"),$pp_gallery.find(".pp_arrow_next").click(function(){return e.prettyPhoto.changeGalleryPage("next"),e.prettyPhoto.stopSlideshow(),!1}),$pp_gallery.find(".pp_arrow_previous").click(function(){return e.prettyPhoto.changeGalleryPage("previous"),e.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()}),itemWidth=57,$pp_gallery_li.each(function(t){e(this).find("a").click(function(){return e.prettyPhoto.changePage(t),e.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('Play'),$pp_pic_holder.find(".pp_nav .pp_play").click(function(){return e.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:e(document).height(),width:e(window).width()}).bind("click",function(){settings.modal||e.prettyPhoto.close()}),e("a.pp_close").bind("click",function(){return e.prettyPhoto.close(),!1}),settings.allow_expand&&e("a.pp_expand").bind("click",function(){return e(this).hasClass("pp_expand")?(e(this).removeClass("pp_expand").addClass("pp_contract"),doresize=!1):(e(this).removeClass("pp_contract").addClass("pp_expand"),doresize=!0),n(function(){e.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){return e.prettyPhoto.changePage("previous"),e.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){return e.prettyPhoto.changePage("next"),e.prettyPhoto.stopSlideshow(),!1}),c()}a=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'
     
    ',gallery_markup:'',image_markup:'',flash_markup:'',quicktime_markup:'',iframe_markup:'',inline_markup:'
    {content}
    ',custom_markup:"",social_tools:''},a);var f,v,y,w,b,k,P,x=this,$=!1,I=e(window).height(),j=e(window).width();return doresize=!0,scroll_pos=_(),e(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){c(),g()}),a.keyboard_shortcuts&&e(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(t){if("undefined"!=typeof $pp_pic_holder&&$pp_pic_holder.is(":visible"))switch(t.keyCode){case 37:e.prettyPhoto.changePage("previous"),t.preventDefault();break;case 39:e.prettyPhoto.changePage("next"),t.preventDefault();break;case 27:settings.modal||e.prettyPhoto.close(),t.preventDefault()}}),e.prettyPhoto.initialize=function(){return settings=a,"pp_default"==settings.theme&&(settings.horizontal_padding=16),theRel=e(this).attr(settings.hook),galleryRegExp=/\[(?:.*)\]/,isSet=galleryRegExp.exec(theRel)?!0:!1,pp_images=isSet?jQuery.map(x,function(t){return-1!=e(t).attr(settings.hook).indexOf(theRel)?e(t).attr("href"):void 0}):e.makeArray(e(this).attr("href")),pp_titles=isSet?jQuery.map(x,function(t){return-1!=e(t).attr(settings.hook).indexOf(theRel)?e(t).find("img").attr("alt")?e(t).find("img").attr("alt"):"":void 0}):e.makeArray(e(this).find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(x,function(t){return-1!=e(t).attr(settings.hook).indexOf(theRel)?e(t).attr("title")?e(t).attr("title"):"":void 0}):e.makeArray(e(this).attr("title")),pp_images.length>settings.overlay_gallery_max&&(settings.overlay_gallery=!1),set_position=jQuery.inArray(e(this).attr("href"),pp_images),rel_index=isSet?set_position:e("a["+settings.hook+"^='"+theRel+"']").index(e(this)),u(this),settings.allow_resize&&e(window).bind("scroll.prettyphoto",function(){c()}),e.prettyPhoto.open(),!1},e.prettyPhoto.open=function(t){return"undefined"==typeof settings&&(settings=a,pp_images=e.makeArray(arguments[0]),pp_titles=e.makeArray(arguments[1]?arguments[1]:""),pp_descriptions=e.makeArray(arguments[2]?arguments[2]:""),isSet=pp_images.length>1?!0:!1,set_position=arguments[3]?arguments[3]:0,u(t.target)),settings.hideflash&&e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden"),r(e(pp_images).size()),e(".pp_loaderIcon").show(),settings.deeplinking&&i(),settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)),$pp_pic_holder.find(".pp_social").html(facebook_like_link)),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+e(pp_images).size()),"undefined"!=typeof pp_descriptions[set_position]&&""!=pp_descriptions[set_position]?$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position])):$pp_pic_holder.find(".pp_description").hide(),movie_width=parseFloat(o("width",pp_images[set_position]))?o("width",pp_images[set_position]):settings.default_width.toString(),movie_height=parseFloat(o("height",pp_images[set_position]))?o("height",pp_images[set_position]):settings.default_height.toString(),$=!1,-1!=movie_height.indexOf("%")&&(movie_height=parseFloat(e(window).height()*parseFloat(movie_height)/100-150),$=!0),-1!=movie_width.indexOf("%")&&(movie_width=parseFloat(e(window).width()*parseFloat(movie_width)/100-150),$=!0),$pp_pic_holder.fadeIn(function(){switch($ppt.html(settings.show_title&&""!=pp_titles[set_position]&&"undefined"!=typeof pp_titles[set_position]?unescape(pp_titles[set_position]):" "),imgPreloader="",skipInjection=!1,h(pp_images[set_position])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&set_position0&&(movie_id=movie_id.substr(0,movie_id.indexOf("?"))),movie_id.indexOf("&")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("&")))),movie="https://www.youtube.com/embed/"+movie_id,movie+=o("rel",pp_images[set_position])?"?rel="+o("rel",pp_images[set_position]):"?rel=1",settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.iframe_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":f=l(movie_width,movie_height),movie_id=pp_images[set_position];var t=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/,i=movie_id.match(t);movie="http://player.vimeo.com/video/"+i[3]+"?title=0&byline=0&portrait=0",settings.autoplay&&(movie+="&autoplay=1;"),vimeo_width=f.width+"/embed/?moog_width="+f.width,toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,f.height).replace(/{path}/g,movie);break;case"quicktime":f=l(movie_width,movie_height),f.height+=15,f.contentHeight+=15,f.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":f=l(movie_width,movie_height),flash_vars=pp_images[set_position],flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length),filename=pp_images[set_position],filename=filename.substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":f=l(movie_width,movie_height),frame_url=pp_images[set_position],frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{path}/g,frame_url);break;case"ajax":doresize=!1,f=l(movie_width,movie_height),doresize=!0,skipInjection=!0,e.get(pp_images[set_position],function(e){toInject=settings.inline_markup.replace(/{content}/g,e),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,s()});break;case"custom":f=l(movie_width,movie_height),toInject=settings.custom_markup;break;case"inline":myClone=e(pp_images[set_position]).clone().append('
    ').css({width:settings.default_width}).wrapInner('
    ').appendTo(e("body")).show(),doresize=!1,f=l(e(myClone).width(),e(myClone).height()),doresize=!0,e(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,e(pp_images[set_position]).html())}imgPreloader||skipInjection||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,s())}),!1},e.prettyPhoto.changePage=function(t){currentGalleryPage=0,"previous"==t?(set_position--,set_position<0&&(set_position=e(pp_images).size()-1)):"next"==t?(set_position++,set_position>e(pp_images).size()-1&&(set_position=0)):set_position=t,rel_index=set_position,doresize||(doresize=!0),settings.allow_expand&&e(".pp_contract").removeClass("pp_contract").addClass("pp_expand"),n(function(){e.prettyPhoto.open()})},e.prettyPhoto.changeGalleryPage=function(e){"next"==e?(currentGalleryPage++,currentGalleryPage>totalPage&&(currentGalleryPage=0)):"previous"==e?(currentGalleryPage--,currentGalleryPage<0&&(currentGalleryPage=totalPage)):currentGalleryPage=e,slide_speed="next"==e||"previous"==e?settings.animation_speed:0,slide_to=currentGalleryPage*itemsPerPage*itemWidth,$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)},e.prettyPhoto.startSlideshow=function(){"undefined"==typeof P?($pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){return e.prettyPhoto.stopSlideshow(),!1}),P=setInterval(e.prettyPhoto.startSlideshow,settings.slideshow)):e.prettyPhoto.changePage("next")},e.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){return e.prettyPhoto.startSlideshow(),!1}),clearInterval(P),P=void 0},e.prettyPhoto.close=function(){$pp_overlay.is(":animated")||(e.prettyPhoto.stopSlideshow(),$pp_pic_holder.stop().find("object,embed").css("visibility","hidden"),e("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){e(this).remove()}),$pp_overlay.fadeOut(settings.animation_speed,function(){settings.hideflash&&e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible"),e(this).remove(),e(window).unbind("scroll.prettyphoto"),p(),settings.callback(),doresize=!0,v=!1,delete settings}))},!pp_alreadyInitialized&&t()&&(pp_alreadyInitialized=!0,hashIndex=t(),hashRel=hashIndex,hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1),hashRel=hashRel.substring(0,hashRel.indexOf("/")),setTimeout(function(){e("a["+a.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)),this.unbind("click.prettyphoto").bind("click.prettyphoto",e.prettyPhoto.initialize)}}(jQuery);var pp_alreadyInitialized=!1; \ No newline at end of file diff --git a/docs/src/main/resources/localconfig.yml b/docs/src/main/resources/localconfig.yml deleted file mode 100644 index 914a86ab6..000000000 --- a/docs/src/main/resources/localconfig.yml +++ /dev/null @@ -1,5 +0,0 @@ -# Site settings -title: Eclipse hawkBit -email: hawkbit-dev@eclipse.org -description: Eclipse hawkBit - IoT Software Update -baseurl: "/hawkbit/" # the subpath of your site, e.g. /blog/ \ No newline at end of file diff --git a/docs/src/main/resources/news/2016-03-07-eclipseconference-na.md b/docs/src/main/resources/news/2016-03-07-eclipseconference-na.md deleted file mode 100644 index bcc9ea49a..000000000 --- a/docs/src/main/resources/news/2016-03-07-eclipseconference-na.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: news -title: Eclipse Conference 2016, Washington -date: 2016-03-07 10:00:00 -section: news -author: -name: Michael Hirsch -id: michahirsch ---- -{% include base.html %} -An interesting talk about the hawkBit project at the EclipseCon NA 2016. -The slides of the talk can be found here. \ No newline at end of file diff --git a/docs/src/main/resources/news/2016-05-18-virtual-meetup.md b/docs/src/main/resources/news/2016-05-18-virtual-meetup.md deleted file mode 100644 index db044b178..000000000 --- a/docs/src/main/resources/news/2016-05-18-virtual-meetup.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: news -title: Virtual IoT 2016 -date: 2016-05-18 08:00:00 -section: news -author: -name: Michael Hirsch -id: michahirsch ---- -{% include base.html %} -hawkBit is on the IoT Virtual Meetup, you can see the whole meetup on youtube. -IoT Virtual Meetup hawkBit \ No newline at end of file diff --git a/docs/src/main/resources/news/index.md b/docs/src/main/resources/news/index.md deleted file mode 100644 index 1ff463503..000000000 --- a/docs/src/main/resources/news/index.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: news_summary -title: News -permalink: /news/ ---- \ No newline at end of file diff --git a/docs/src/main/resources/overview/hawkbit_overview.md b/docs/src/main/resources/overview/hawkbit_overview.md deleted file mode 100644 index e530776b6..000000000 --- a/docs/src/main/resources/overview/hawkbit_overview.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -layout: overview -section: overview -title: "hawkBit use cases" ---- -{% include base.html %} - -## A - -## B - -## C \ No newline at end of file diff --git a/docs/src/main/resources/overview/index.md b/docs/src/main/resources/overview/index.md deleted file mode 100644 index 7dd7792e8..000000000 --- a/docs/src/main/resources/overview/index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -layout: overview -title: Overview ---- \ No newline at end of file diff --git a/docs/src/main/resources/usecases.md b/docs/src/main/resources/usecases.md deleted file mode 100644 index f50ae58bb..000000000 --- a/docs/src/main/resources/usecases.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: default -series : "homepagemiddle" -animatestyle: "fadeInDown" -style: "teamuc" ---- -{% include base.html %} \ No newline at end of file diff --git a/docs/static/css/hawkbit.css b/docs/static/css/hawkbit.css new file mode 100755 index 000000000..79a789e70 --- /dev/null +++ b/docs/static/css/hawkbit.css @@ -0,0 +1,53 @@ + +.copyright { + margin-top: 5em; + margin-bottom: 1em; + overflow: auto; +} + +.copyright a { + border-bottom-style: none; +} + +.copyright p { + margin-top: 0; +} + +.copyright div.logo { + float: right; + width: 20%; + padding-bottom: 2%; +} + +.copyright .quickLinks a { + float: left; + padding-right: 2em; +} + +.jumbotron { + padding-bottom: 1em; + padding-top: 2em; + text-align: center; + font-size: xx-large; + color: #734dba; +} + +.banner div.drawerlogo { + background: white; + border-radius: 100%; + width: 64px; + height: 64px; + transition: box-shadow .4s; +} + +.banner div.drawerlogo:hover { + box-shadow: 0 4px 7px rgba(0, 0, 0, .23), 0 8px 25px rgba(0, 0, 0, .05); +} + +.banner .drawerlogo img { + height: 100%; + width: 100%; + padding: 15%; + position: relative; + top: -3px +} diff --git a/docs/src/main/resources/documentation/images/architecture/architecture.png b/docs/static/images/architecture/architecture.png similarity index 100% rename from docs/src/main/resources/documentation/images/architecture/architecture.png rename to docs/static/images/architecture/architecture.png diff --git a/docs/src/main/resources/documentation/images/architecture/targetStatusStates.png b/docs/static/images/architecture/targetStatusStates.png similarity index 100% rename from docs/src/main/resources/documentation/images/architecture/targetStatusStates.png rename to docs/static/images/architecture/targetStatusStates.png diff --git a/docs/static/images/eclipse_foundation_logo.png b/docs/static/images/eclipse_foundation_logo.png new file mode 100644 index 000000000..fe2c278ef Binary files /dev/null and b/docs/static/images/eclipse_foundation_logo.png differ diff --git a/docs/src/main/resources/documentation/images/eventing-within-cluster.png b/docs/static/images/eventing-within-cluster.png similarity index 100% rename from docs/src/main/resources/documentation/images/eventing-within-cluster.png rename to docs/static/images/eventing-within-cluster.png diff --git a/docs/static/images/favicon.ico b/docs/static/images/favicon.ico new file mode 100644 index 000000000..743ee5ac1 Binary files /dev/null and b/docs/static/images/favicon.ico differ diff --git a/docs/src/main/resources/documentation/images/hawkBit_overview.jpeg b/docs/static/images/hawkBit_overview.jpeg similarity index 100% rename from docs/src/main/resources/documentation/images/hawkBit_overview.jpeg rename to docs/static/images/hawkBit_overview.jpeg diff --git a/docs/static/images/hawkbit_icon.png b/docs/static/images/hawkbit_icon.png new file mode 100644 index 000000000..ffb68011e Binary files /dev/null and b/docs/static/images/hawkbit_icon.png differ diff --git a/docs/src/main/resources/documentation/images/hawkbit_logo.png b/docs/static/images/hawkbit_logo.png similarity index 100% rename from docs/src/main/resources/documentation/images/hawkbit_logo.png rename to docs/static/images/hawkbit_logo.png diff --git a/docs/src/main/resources/img/hawkbit transparency.png b/docs/static/images/hawkbit_transparency.png similarity index 100% rename from docs/src/main/resources/img/hawkbit transparency.png rename to docs/static/images/hawkbit_transparency.png diff --git a/docs/src/main/resources/img/hawkbit_ui.png b/docs/static/images/hawkbit_ui.png similarity index 100% rename from docs/src/main/resources/img/hawkbit_ui.png rename to docs/static/images/hawkbit_ui.png diff --git a/docs/src/main/resources/documentation/images/interfaces.png b/docs/static/images/interfaces.png similarity index 100% rename from docs/src/main/resources/documentation/images/interfaces.png rename to docs/static/images/interfaces.png diff --git a/docs/src/main/resources/documentation/images/overall_cluster.png b/docs/static/images/overall_cluster.png similarity index 100% rename from docs/src/main/resources/documentation/images/overall_cluster.png rename to docs/static/images/overall_cluster.png diff --git a/docs/src/main/resources/img/packagemodel.png b/docs/static/images/packagemodel.png similarity index 100% rename from docs/src/main/resources/img/packagemodel.png rename to docs/static/images/packagemodel.png diff --git a/docs/src/main/resources/img/rollout.png b/docs/static/images/rollout.png similarity index 100% rename from docs/src/main/resources/img/rollout.png rename to docs/static/images/rollout.png diff --git a/docs/src/main/resources/documentation/images/rolloutgroupstatediagram.png b/docs/static/images/rolloutgroupstatediagram.png similarity index 100% rename from docs/src/main/resources/documentation/images/rolloutgroupstatediagram.png rename to docs/static/images/rolloutgroupstatediagram.png diff --git a/docs/src/main/resources/documentation/images/rolloutstatediagram.png b/docs/static/images/rolloutstatediagram.png similarity index 100% rename from docs/src/main/resources/documentation/images/rolloutstatediagram.png rename to docs/static/images/rolloutstatediagram.png diff --git a/docs/src/main/resources/documentation/images/security/anonymousDownload.png b/docs/static/images/security/anonymousDownload.png similarity index 100% rename from docs/src/main/resources/documentation/images/security/anonymousDownload.png rename to docs/static/images/security/anonymousDownload.png diff --git a/docs/src/main/resources/documentation/images/security/gatewayToken.png b/docs/static/images/security/gatewayToken.png similarity index 100% rename from docs/src/main/resources/documentation/images/security/gatewayToken.png rename to docs/static/images/security/gatewayToken.png diff --git a/docs/src/main/resources/documentation/images/security/targetToken.png b/docs/static/images/security/targetToken.png similarity index 100% rename from docs/src/main/resources/documentation/images/security/targetToken.png rename to docs/static/images/security/targetToken.png diff --git a/docs/src/main/resources/documentation/images/ui/artifact_mgmt.png b/docs/static/images/ui/artifact_mgmt.png similarity index 100% rename from docs/src/main/resources/documentation/images/ui/artifact_mgmt.png rename to docs/static/images/ui/artifact_mgmt.png diff --git a/docs/src/main/resources/documentation/images/ui/deployment_mgmt.png b/docs/static/images/ui/deployment_mgmt.png similarity index 100% rename from docs/src/main/resources/documentation/images/ui/deployment_mgmt.png rename to docs/static/images/ui/deployment_mgmt.png diff --git a/docs/src/main/resources/documentation/images/ui/distribution_mgmt.png b/docs/static/images/ui/distribution_mgmt.png similarity index 100% rename from docs/src/main/resources/documentation/images/ui/distribution_mgmt.png rename to docs/static/images/ui/distribution_mgmt.png diff --git a/docs/src/main/resources/documentation/images/ui/rollout_groups.png b/docs/static/images/ui/rollout_groups.png similarity index 100% rename from docs/src/main/resources/documentation/images/ui/rollout_groups.png rename to docs/static/images/ui/rollout_groups.png diff --git a/docs/src/main/resources/documentation/images/ui/rollout-mgmt.png b/docs/static/images/ui/rollout_mgmt.png similarity index 100% rename from docs/src/main/resources/documentation/images/ui/rollout-mgmt.png rename to docs/static/images/ui/rollout_mgmt.png diff --git a/docs/src/main/resources/documentation/images/ui/target_filter.png b/docs/static/images/ui/target_filter.png similarity index 100% rename from docs/src/main/resources/documentation/images/ui/target_filter.png rename to docs/static/images/ui/target_filter.png diff --git a/pom.xml b/pom.xml index 688e3e781..4eb159b2e 100644 --- a/pom.xml +++ b/pom.xml @@ -344,7 +344,10 @@ **/Dockerfile **/docker-compose.yml **/.sonar/** - docs/src/main/resources/** + docs/content/** + docs/layouts/** + docs/static/** + docs/*.toml **/LICENSE*