@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
function die { | function die { | ||||
echo 1>&2 "${1}" | echo 1>&2 "${1}" | ||||
exit 1 | exit 1 | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
function die { | function die { | ||||
echo 1>&2 "${1}" | echo 1>&2 "${1}" | ||||
exit 1 | exit 1 | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
IMAGEID=${1:?no IMAGEID provided} | IMAGEID=${1:?no IMAGEID provided} | ||||
THISDIR=$(cd $(dirname ${0}) && pwd) | THISDIR=$(cd $(dirname ${0}) && pwd) | ||||
DOCURL=${THISDIR}/docurl | DOCURL=${THISDIR}/docurl | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
DROPLETID=${1:?no DROPLETID provided} | DROPLETID=${1:?no DROPLETID provided} | ||||
THISDIR=$(cd $(dirname ${0}) && pwd) | THISDIR=$(cd $(dirname ${0}) && pwd) | ||||
DOCURL=${THISDIR}/docurl | DOCURL=${THISDIR}/docurl | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
THISDIR=$(cd $(dirname ${0}) && pwd) | THISDIR=$(cd $(dirname ${0}) && pwd) | ||||
DOCURL=${THISDIR}/docurl | DOCURL=${THISDIR}/docurl | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
THISDIR=$(cd $(dirname ${0}) && pwd) | THISDIR=$(cd $(dirname ${0}) && pwd) | ||||
DOCURL=${THISDIR}/docurl | DOCURL=${THISDIR}/docurl | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
if [[ -z "${DIGITALOCEAN_API_KEY}" ]] ; then | if [[ -z "${DIGITALOCEAN_API_KEY}" ]] ; then | ||||
echo "DIGITALOCEAN_API_KEY not defined in environment" | echo "DIGITALOCEAN_API_KEY not defined in environment" | ||||
exit 1 | exit 1 | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
DOMAIN=${1:?no domain provided} | DOMAIN=${1:?no domain provided} | ||||
THISDIR=$(cd $(dirname ${0}) && pwd) | THISDIR=$(cd $(dirname ${0}) && pwd) | ||||
@@ -1,4 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
DOMAIN=${1:?no domain provided} | DOMAIN=${1:?no domain provided} | ||||
RECORDS_JSON="${2:?no JSON DNS records file provided}" | RECORDS_JSON="${2:?no JSON DNS records file provided}" | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
if [[ -z "${GODADDY_API_KEY}" ]] ; then | if [[ -z "${GODADDY_API_KEY}" ]] ; then | ||||
echo "GODADDY_API_KEY not defined in environment" | echo "GODADDY_API_KEY not defined in environment" | ||||
exit 1 | exit 1 | ||||
@@ -1,4 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
KEY_MATCH="${1:?no key match}" | KEY_MATCH="${1:?no key match}" | ||||
for k in $(echo 'keys *'"""${KEY_MATCH}"""'*' | redis-cli ) ; do | for k in $(echo 'keys *'"""${KEY_MATCH}"""'*' | redis-cli ) ; do | ||||
echo "del ${k} => $(echo "del ${k}" | redis-cli)" | echo "del ${k} => $(echo "del ${k}" | redis-cli)" | ||||
@@ -1,4 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
KEY_MATCH="${1}" | KEY_MATCH="${1}" | ||||
for k in $(echo 'keys *'"""${KEY_MATCH}"""'*' | redis-cli ) ; do | for k in $(echo 'keys *'"""${KEY_MATCH}"""'*' | redis-cli ) ; do | ||||
echo "$k => $(echo "get $k" | redis-cli)" | echo "$k => $(echo "get $k" | redis-cli)" | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
if [[ -z "${VULTR_API_KEY}" ]] ; then | if [[ -z "${VULTR_API_KEY}" ]] ; then | ||||
echo "VULTR_API_KEY not defined in environment" | echo "VULTR_API_KEY not defined in environment" | ||||
exit 1 | exit 1 | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
SUBID=${1:?no SUBID provided} | SUBID=${1:?no SUBID provided} | ||||
THISDIR=$(cd $(dirname ${0}) && pwd) | THISDIR=$(cd $(dirname ${0}) && pwd) | ||||
VCURL=${THISDIR}/vcurl | VCURL=${THISDIR}/vcurl | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
SNAPSHOTID=${1:?no snapshot provided} | SNAPSHOTID=${1:?no snapshot provided} | ||||
THISDIR=$(cd $(dirname ${0}) && pwd) | THISDIR=$(cd $(dirname ${0}) && pwd) | ||||
VCURL=${THISDIR}/vcurl | VCURL=${THISDIR}/vcurl | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
THISDIR=$(cd $(dirname ${0}) && pwd) | THISDIR=$(cd $(dirname ${0}) && pwd) | ||||
VCURL=${THISDIR}/vcurl | VCURL=${THISDIR}/vcurl | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
THISDIR=$(cd $(dirname ${0}) && pwd) | THISDIR=$(cd $(dirname ${0}) && pwd) | ||||
VCURL=${THISDIR}/vcurl | VCURL=${THISDIR}/vcurl | ||||
@@ -1,5 +1,7 @@ | |||||
#!/bin/bash | #!/bin/bash | ||||
# | |||||
# Copyright (c) 2020 Bubble, Inc. All rights reserved. For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
# | |||||
THISDIR=$(cd $(dirname ${0}) && pwd) | THISDIR=$(cd $(dirname ${0}) && pwd) | ||||
VCURL=${THISDIR}/vcurl | VCURL=${THISDIR}/vcurl | ||||
@@ -1,3 +1,7 @@ | |||||
/** | |||||
* Copyright (c) 2020 Bubble, Inc. All rights reserved. | |||||
* For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
*/ | |||||
package bubble.model.device; | package bubble.model.device; | ||||
import com.fasterxml.jackson.annotation.JsonCreator; | import com.fasterxml.jackson.annotation.JsonCreator; | ||||
@@ -1,3 +1,7 @@ | |||||
/** | |||||
* Copyright (c) 2020 Bubble, Inc. All rights reserved. | |||||
* For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
*/ | |||||
package bubble.server; | package bubble.server; | ||||
import com.fasterxml.jackson.annotation.JsonIgnore; | import com.fasterxml.jackson.annotation.JsonIgnore; | ||||
@@ -1,3 +1,7 @@ | |||||
/** | |||||
* Copyright (c) 2020 Bubble, Inc. All rights reserved. | |||||
* For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
*/ | |||||
package bubble.server; | package bubble.server; | ||||
import lombok.Getter; | import lombok.Getter; | ||||
@@ -1,3 +1,7 @@ | |||||
/** | |||||
* Copyright (c) 2020 Bubble, Inc. All rights reserved. | |||||
* For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
*/ | |||||
package bubble.service.cloud; | package bubble.service.cloud; | ||||
import bubble.model.device.Device; | import bubble.model.device.Device; | ||||
@@ -1,3 +1,7 @@ | |||||
/** | |||||
* Copyright (c) 2020 Bubble, Inc. All rights reserved. | |||||
* For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
*/ | |||||
package bubble.service.stream; | package bubble.service.stream; | ||||
import bubble.model.account.Account; | import bubble.model.account.Account; | ||||
@@ -1,3 +1,7 @@ | |||||
/** | |||||
* Copyright (c) 2020 Bubble, Inc. All rights reserved. | |||||
* For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
*/ | |||||
package bubble.service.stream; | package bubble.service.stream; | ||||
import com.fasterxml.jackson.annotation.JsonCreator; | import com.fasterxml.jackson.annotation.JsonCreator; | ||||
@@ -1,3 +1,7 @@ | |||||
/** | |||||
* Copyright (c) 2020 Bubble, Inc. All rights reserved. | |||||
* For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
*/ | |||||
package bubble.service.stream; | package bubble.service.stream; | ||||
import bubble.dao.account.AccountDAO; | import bubble.dao.account.AccountDAO; | ||||
@@ -1,3 +1,7 @@ | |||||
/** | |||||
* Copyright (c) 2020 Bubble, Inc. All rights reserved. | |||||
* For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
*/ | |||||
package bubble.service_dbfilter; | package bubble.service_dbfilter; | ||||
import bubble.model.account.Account; | import bubble.model.account.Account; | ||||
@@ -1,3 +1,7 @@ | |||||
/** | |||||
* Copyright (c) 2020 Bubble, Inc. All rights reserved. | |||||
* For personal (non-commercial) use, see license: https://getbubblenow.com/bubble-license/ | |||||
*/ | |||||
package bubble.service_dbfilter; | package bubble.service_dbfilter; | ||||
import bubble.model.device.Device; | import bubble.model.device.Device; | ||||