This repository has been archived by the owner on Dec 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
395 changed files
with
65,753 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
charset = utf-8 | ||
|
||
[*.go] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*/auth-*.pub | ||
redis/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
id: dev | ||
debug: true | ||
discovery-address: "localhost:1900" | ||
auth-servers: | ||
ttn-account: "https://account.thethingsnetwork.org" | ||
ttn-account-preview: "https://preview.account.thethingsnetwork.org" | ||
tls: true | ||
key-dir: "./.env/broker/" | ||
|
||
auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ0dG4tYWNjb3VudC1wcmV2aWV3Iiwic3ViIjoiZGV2IiwidHlwZSI6ImJyb2tlciIsImlhdCI6MTQ3NjQzOTQzOH0.nVH5FuQiN_WUEdntQ-kDocjTxq-UrlKey2Jm6NJmE18tts5K4PDPMzNgF-uenKKHEcDWImlf3k1vcI4LMPUj0sgPxWdyR5PnUNFRIupxdy1k_Q2cSnZcmpX-Mc4KN23JzXtmaDq-Qp7reyEOv7K7HpHwt6Jb_YQHEZEfkU1628LQaybUKJgCIttoUzBV12dFfKnC8tdL_NMfSVCquhITLOj5efXf-0CL6A_4s_vNctnIBFfpdKUeukpnT52B8-c2SCzk36g13n3L-6fc7MRTCaF0D1LlMQasy5Aq39e_1VJP10kH_-luoF8eOFHVFH-r4pLf6_RGz51oocDwt7w9Hw | ||
|
||
broker: | ||
networkserver-cert: ./.env/broker/networkserver.cert | ||
networkserver-token: eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE0Njk3OTQzNTksIm5iZiI6MTQ2OTc5NDM1OSwic3ViIjoiZGV2In0.Xj1AFEAblzFLdS5cUiDrG773EqHazARvGdkTHFoPa_c0XGhdKSrevVpTNkzvcXeTQTWnTQrg1t98atNIk7F13Q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBljCCATygAwIBAgIRAOs3B7qZNgejMf+laNHTRuYwCgYIKoZIzj0EAwIwHTEb | ||
MBkGA1UEChMSVGhlIFRoaW5ncyBOZXR3b3JrMB4XDTE2MDcyOTEyMTIxNVoXDTE3 | ||
MDcyOTEyMTIxNVowHTEbMBkGA1UEChMSVGhlIFRoaW5ncyBOZXR3b3JrMFkwEwYH | ||
KoZIzj0CAQYIKoZIzj0DAQcDQgAEsfIDb4Va9ocbwGuc375Bxw5ICTCXZ60mbgdx | ||
3JSyWm19DW5dihzPFrB0Ezu+lak91rTEaon9WNcVibhFNG5wMqNdMFswDgYDVR0P | ||
AQH/BAQDAgKkMBMGA1UdJQQMMAoGCCsGAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8w | ||
IwYDVR0RBBwwGoIJbG9jYWxob3N0gg1uZXR3b3Jrc2VydmVyMAoGCCqGSM49BAMC | ||
A0gAMEUCIBrRl5a2PX+fn68Uefq15Cn1C1XE6NGVmI+HvmP1sA1JAiEA0L4WgKdo | ||
HcUc8PnKlUUgN9nLVx98W9Sb2TvOaldspVE= | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBjjCCATSgAwIBAgIQFzR5quaK8FbcvukuVI94uDAKBggqhkjOPQQDAjAdMRsw | ||
GQYDVQQKExJUaGUgVGhpbmdzIE5ldHdvcmswHhcNMTYwNzI5MTIxMTU2WhcNMTcw | ||
NzI5MTIxMTU2WjAdMRswGQYDVQQKExJUaGUgVGhpbmdzIE5ldHdvcmswWTATBgcq | ||
hkjOPQIBBggqhkjOPQMBBwNCAARKJiC1vanAuqbOtVYPwSM8D6oSseAOeUra5dHi | ||
Xtp72d59+kgaEfa6Zgp0KSaes+D2fxE+RJ4G6v7DYbKgWOGto1YwVDAOBgNVHQ8B | ||
Af8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB/zAc | ||
BgNVHREEFTATgglsb2NhbGhvc3SCBmJyb2tlcjAKBggqhkjOPQQDAgNIADBFAiAU | ||
fiL3mhXOFbG9T3QVv2lH7H58pnhdrJmIBN1n6qvDXgIhAPgpd2ZCkJ04GHQyTuoU | ||
v75tKrSlLiJw62QdY+s93uSh | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIBugiJ1PxyuQto5UGUqnT3rSPhwAUzcpZvREmbSpATQioAoGCCqGSM49 | ||
AwEHoUQDQgAESiYgtb2pwLqmzrVWD8EjPA+qErHgDnlK2uXR4l7ae9neffpIGhH2 | ||
umYKdCkmnrPg9n8RPkSeBur+w2GyoFjhrQ== | ||
-----END EC PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAESiYgtb2pwLqmzrVWD8EjPA+qErHg | ||
DnlK2uXR4l7ae9neffpIGhH2umYKdCkmnrPg9n8RPkSeBur+w2GyoFjhrQ== | ||
-----END PUBLIC KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
id: dev | ||
debug: true | ||
discovery-address: "localhost:1900" | ||
auth-servers: | ||
ttn-account: "https://account.thethingsnetwork.org" | ||
ttn-account-preview: "https://preview.account.thethingsnetwork.org" | ||
key-dir: "./.env/discovery/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIGnSFCNG/2H/5usWkVu8jDBfolSeZqC/hm7FYlyHjSCMoAoGCCqGSM49 | ||
AwEHoUQDQgAEGdwVP3pf5UGc+ISdvzQG/qDjzbQiZuXVflmyEkPkUSFxyqPRupgz | ||
BIbsKxQOC8opGdcn7TcSqCUeyyCd8JHUfg== | ||
-----END EC PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEGdwVP3pf5UGc+ISdvzQG/qDjzbQi | ||
ZuXVflmyEkPkUSFxyqPRupgzBIbsKxQOC8opGdcn7TcSqCUeyyCd8JHUfg== | ||
-----END PUBLIC KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
id: dev | ||
debug: true | ||
discovery-address: "localhost:1900" | ||
auth-servers: | ||
ttn-account: "https://account.thethingsnetwork.org" | ||
ttn-account-preview: "https://preview.account.thethingsnetwork.org" | ||
tls: true | ||
key-dir: "./.env/handler/" | ||
handler: | ||
amqp-address: localhost:5672 | ||
mqtt-address: localhost:1883 | ||
|
||
auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ0dG4tYWNjb3VudC1wcmV2aWV3Iiwic3ViIjoiZGV2IiwidHlwZSI6ImhhbmRsZXIiLCJpYXQiOjE0NzY0Mzk0Mzh9.iIz5KgH41FRLoIIJKVb9dpaZyYjT0W_ujNoSyY3Eg16xkpSuAA2s0NlmEmKBcLEEQXsMNQJd2HnrsDi9RMljRtHQ-pJkqFsb9asHQ6eVmZb7Yx8uGLGG7wmVDlu_R5nNTyvUDvpNoug3pJf13QAfUpNWbN1pgiK2Or0IalDjiCToHCrq9OE08kM0PjXLacuFMhC-OUrsqadHs4WNm8OQYY5yYOpY0G2l4sL0I53QR5kvMjMyoJIrFHD5VNGCFZ-edyaKsGcmZtuR2b-6c9LuI9elsZT9QcdYpANGaepq6cM-inJdtWKEMnhNxDGykxVhBqbBCaYwBgyP4OgBPIrlVg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBkDCCATagAwIBAgIRANJJ3rP0cNrdrouE2GCkkaYwCgYIKoZIzj0EAwIwHTEb | ||
MBkGA1UEChMSVGhlIFRoaW5ncyBOZXR3b3JrMB4XDTE2MDcyOTEyMTIwNloXDTE3 | ||
MDcyOTEyMTIwNlowHTEbMBkGA1UEChMSVGhlIFRoaW5ncyBOZXR3b3JrMFkwEwYH | ||
KoZIzj0CAQYIKoZIzj0DAQcDQgAEiXbWvyYjOMP4ebTYtVvdIsBwS+U3laWltR7V | ||
ox4+kQWcGLLEg+suI9SRZyKK+frhw9JPKbVNIgEv/S50YKfMEaNXMFUwDgYDVR0P | ||
AQH/BAQDAgKkMBMGA1UdJQQMMAoGCCsGAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8w | ||
HQYDVR0RBBYwFIIJbG9jYWxob3N0ggdoYW5kbGVyMAoGCCqGSM49BAMCA0gAMEUC | ||
IQDbNJPUIfKZ/1CkTF3+ukl64l3fn613hnMiqAJYO7yz7QIgTAwlr3vkLquSQZUO | ||
yraf7CGvuvulKs4S8sd8im6Bdgs= | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIBuY3Ugapx0M58eCNcpQJF4YMYdTvC0h9NYDRl9xu12CoAoGCCqGSM49 | ||
AwEHoUQDQgAEiXbWvyYjOMP4ebTYtVvdIsBwS+U3laWltR7Vox4+kQWcGLLEg+su | ||
I9SRZyKK+frhw9JPKbVNIgEv/S50YKfMEQ== | ||
-----END EC PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEiXbWvyYjOMP4ebTYtVvdIsBwS+U3 | ||
laWltR7Vox4+kQWcGLLEg+suI9SRZyKK+frhw9JPKbVNIgEv/S50YKfMEQ== | ||
-----END PUBLIC KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
debug: true | ||
discovery-address: "localhost:1900" | ||
auth-servers: | ||
ttn-account: "https://account.thethingsnetwork.org" | ||
ttn-account-preview: "https://preview.account.thethingsnetwork.org" | ||
tls: true | ||
key-dir: "./.env/networkserver/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBljCCATygAwIBAgIRAOs3B7qZNgejMf+laNHTRuYwCgYIKoZIzj0EAwIwHTEb | ||
MBkGA1UEChMSVGhlIFRoaW5ncyBOZXR3b3JrMB4XDTE2MDcyOTEyMTIxNVoXDTE3 | ||
MDcyOTEyMTIxNVowHTEbMBkGA1UEChMSVGhlIFRoaW5ncyBOZXR3b3JrMFkwEwYH | ||
KoZIzj0CAQYIKoZIzj0DAQcDQgAEsfIDb4Va9ocbwGuc375Bxw5ICTCXZ60mbgdx | ||
3JSyWm19DW5dihzPFrB0Ezu+lak91rTEaon9WNcVibhFNG5wMqNdMFswDgYDVR0P | ||
AQH/BAQDAgKkMBMGA1UdJQQMMAoGCCsGAQUFBwMBMA8GA1UdEwEB/wQFMAMBAf8w | ||
IwYDVR0RBBwwGoIJbG9jYWxob3N0gg1uZXR3b3Jrc2VydmVyMAoGCCqGSM49BAMC | ||
A0gAMEUCIBrRl5a2PX+fn68Uefq15Cn1C1XE6NGVmI+HvmP1sA1JAiEA0L4WgKdo | ||
HcUc8PnKlUUgN9nLVx98W9Sb2TvOaldspVE= | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEINI0PaT8sx614/iBnqZ3Z7TpS+lpVjoqXNYq7yfOagD6oAoGCCqGSM49 | ||
AwEHoUQDQgAEsfIDb4Va9ocbwGuc375Bxw5ICTCXZ60mbgdx3JSyWm19DW5dihzP | ||
FrB0Ezu+lak91rTEaon9WNcVibhFNG5wMg== | ||
-----END EC PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsfIDb4Va9ocbwGuc375Bxw5ICTCX | ||
Z60mbgdx3JSyWm19DW5dihzPFrB0Ezu+lak91rTEaon9WNcVibhFNG5wMg== | ||
-----END PUBLIC KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
id: dev | ||
debug: true | ||
discovery-address: "localhost:1900" | ||
auth-servers: | ||
ttn-account: "https://account.thethingsnetwork.org" | ||
ttn-account-preview: "https://preview.account.thethingsnetwork.org" | ||
tls: true | ||
key-dir: "./.env/router/" | ||
router: | ||
skip-verify-gateway-token: true | ||
|
||
auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ0dG4tYWNjb3VudC1wcmV2aWV3Iiwic3ViIjoiZGV2IiwidHlwZSI6InJvdXRlciIsImlhdCI6MTQ3NjQzOTQzOH0.Duz-E5aMYEPY_Nf5Pky7Qmjbs1dMp9PN9nMqbSzoU079b8TPL4DH2SKcRHrrMqieB3yhJb3YaQBfY6dKWfgVz8BmTeKlGXfFrqEj91y30J7r9_VsHRzgDMJedlqXryvf0S_yD27TsJ7TMbGYyE00T4tAX3Uf6wQZDhdyHNGtdf4jtoAjzOxVAodNtXZp26LR7fFk56UstBxOxztBMzyzmAdiTG4lSyEqq7zsuJcFjmHB9MfEoD4ZT-iTRL1ohFjGuj2HN49oPyYlZAVPP7QajLyNsLnv-nDqXE_QecOjAcEq4PLNJ3DpXtX-lo8I_F1eV9yQnDdQQi4EUvxmxZWeBA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBjjCCATSgAwIBAgIQS/57LijDDb+PB9+WltoR1DAKBggqhkjOPQQDAjAdMRsw | ||
GQYDVQQKExJUaGUgVGhpbmdzIE5ldHdvcmswHhcNMTYwNzI5MTIxMTQ2WhcNMTcw | ||
NzI5MTIxMTQ2WjAdMRswGQYDVQQKExJUaGUgVGhpbmdzIE5ldHdvcmswWTATBgcq | ||
hkjOPQIBBggqhkjOPQMBBwNCAAQrcb9XbpbPrXWn8Qh8kRNxzt+Y3BpxyVgRkeST | ||
30VcppXAv83B64oqklFFTr9BmOSsSXY1iKxcDUV+25TEkuCro1YwVDAOBgNVHQ8B | ||
Af8EBAMCAqQwEwYDVR0lBAwwCgYIKwYBBQUHAwEwDwYDVR0TAQH/BAUwAwEB/zAc | ||
BgNVHREEFTATgglsb2NhbGhvc3SCBnJvdXRlcjAKBggqhkjOPQQDAgNIADBFAiEA | ||
sI4vft9oNO2iT5The9qOzgnM5UxIc/XPrQhpKMgELTwCIFn9pkIsZ0jeeb99uBdS | ||
4MhSRxk4jgkBaWDPjCznaHVm | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIEWdn/Bs36aFUWfoswii0ASziiwZW2ctu9/1zn3sAR9JoAoGCCqGSM49 | ||
AwEHoUQDQgAEK3G/V26Wz611p/EIfJETcc7fmNwacclYEZHkk99FXKaVwL/NweuK | ||
KpJRRU6/QZjkrEl2NYisXA1FftuUxJLgqw== | ||
-----END EC PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEK3G/V26Wz611p/EIfJETcc7fmNwa | ||
cclYEZHkk99FXKaVwL/NweuKKpJRRU6/QZjkrEl2NYisXA1FftuUxJLgqw== | ||
-----END PUBLIC KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
discovery-address: localhost:1900 | ||
auth-server: https://preview.account.thethingsnetwork.org | ||
router-id: dev | ||
handler-id: dev | ||
mqtt-address: localhost:1883 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
This is a **{bug report/feature request/question/...}** for **{the Backend/ttnctl/the Console/the NOC/an integration}**. | ||
|
||
- Explain what you want to do | ||
- Explain what steps you took | ||
- Explain what went wrong or what is missing | ||
|
||
## Environment | ||
|
||
- `ttn version` returns: `Commit={...}` | ||
- `ttnctl version` returns: `Commit={...}` | ||
- My application: | ||
- App ID: `{...}` | ||
- My gateway: | ||
- EUI: `{...}` | ||
- Connected to: `router.{...}.thethings.network:1700` | ||
- My node: | ||
- Device ID: `{...}` | ||
- AppEUI: `{...}` | ||
- DevEUI: `{...}` | ||
- MQTT is connected to: `{...}.thethings.network:{1883/8883}` | ||
- I am using the `{...}` library for the `{...}` programming language |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
stages: | ||
- test | ||
- build | ||
- sign | ||
- package | ||
|
||
variables: | ||
CONTAINER_NAME: thethingsnetwork/ttn | ||
|
||
cache: | ||
key: "$CI_PROJECT_PATH" | ||
paths: | ||
- .govendor | ||
|
||
before_script: | ||
- mkdir -p $(pwd)/.govendor | ||
- rm -rf $GOPATH | ||
- mkdir -p $GOPATH/.cache && ln -s $(pwd)/.govendor $GOPATH/.cache/govendor | ||
- mkdir -p $GOPATH/src/github.com/TheThingsNetwork && ln -s $(pwd) $GOPATH/src/github.com/TheThingsNetwork/ttn | ||
|
||
tests: | ||
stage: test | ||
image: golang:latest | ||
services: | ||
- thethingsnetwork/rabbitmq | ||
- redis | ||
variables: | ||
REDIS_HOST: redis | ||
MQTT_ADDRESS: thethingsnetwork__rabbitmq:1883 | ||
AMQP_ADDRESS: thethingsnetwork__rabbitmq:5672 | ||
script: | ||
- pushd $GOPATH/src/github.com/TheThingsNetwork/ttn | ||
- make deps | ||
- make test | ||
- popd | ||
|
||
binaries: | ||
stage: build | ||
image: golang:latest | ||
script: | ||
- mkdir release | ||
- export CI_BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ) | ||
- echo "date $CI_BUILD_DATE" >> release/info | ||
- echo "commit $CI_BUILD_REF" >> release/info | ||
- pushd $GOPATH/src/github.com/TheThingsNetwork/ttn | ||
- make deps | ||
- GOOS=linux GOARCH=386 make build | ||
- GOOS=linux GOARCH=amd64 make build | ||
- GOOS=linux GOARCH=arm make build | ||
- GOOS=darwin GOARCH=amd64 make build | ||
- GOOS=windows GOARCH=386 make build | ||
- GOOS=windows GOARCH=amd64 make build | ||
- popd | ||
artifacts: | ||
paths: | ||
- release/ | ||
|
||
sign: | ||
only: | ||
- tags | ||
- v1-staging@thethingsnetwork/ttn | ||
- master@thethingsnetwork/ttn | ||
stage: sign | ||
image: golang:latest | ||
script: | ||
- pushd release | ||
- shasum -a 256 $(ls) > checksums | ||
- gpg --no-tty --batch --import /gpg/signing.ci.gpg-key | ||
- gpg --no-tty --batch --no-use-agent --passphrase $GPG_PASSPHRASE --detach-sign checksums | ||
- popd | ||
artifacts: | ||
paths: | ||
- release/checksums | ||
- release/checksums.sig | ||
|
||
gitlab-image: | ||
stage: package | ||
image: docker:git | ||
services: | ||
- "docker:dind" | ||
script: | ||
- docker build -t ttn . | ||
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" registry.gitlab.com | ||
- docker tag ttn registry.gitlab.com/$CONTAINER_NAME:$CI_BUILD_REF_NAME | ||
- docker push registry.gitlab.com/$CONTAINER_NAME:$CI_BUILD_REF_NAME | ||
|
||
dockerhub-image: | ||
only: | ||
- tags | ||
- v1-staging@thethingsnetwork/ttn | ||
- master@thethingsnetwork/ttn | ||
stage: package | ||
image: docker:git | ||
services: | ||
- "docker:dind" | ||
script: | ||
- docker build -t ttn . | ||
- docker login -u "$DOCKERHUB_USER" -p "$DOCKERHUB_PASSWORD" | ||
- docker tag ttn $CONTAINER_NAME:$CI_BUILD_REF_NAME | ||
- docker push $CONTAINER_NAME:$CI_BUILD_REF_NAME | ||
- if [[ "$CI_BUILD_REF_NAME" == "master" ]]; then docker tag ttn $CONTAINER_NAME:latest && docker push $CONTAINER_NAME:latest; fi | ||
|
||
azure-binaries: | ||
only: | ||
- tags | ||
- v1-staging@thethingsnetwork/ttn | ||
- master@thethingsnetwork/ttn | ||
stage: package | ||
image: registry.gitlab.com/thethingsindustries/upload | ||
script: | ||
- cd release | ||
- export STORAGE_CONTAINER=release STORAGE_KEY=$AZURE_STORAGE_KEY ZIP=true TGZ=true PREFIX=$CI_BUILD_REF_NAME/ | ||
- upload * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
language: go | ||
|
||
sudo: required | ||
|
||
services: | ||
- docker | ||
|
||
go: | ||
- 1.7 | ||
|
||
install: | ||
- make deps | ||
- make cover-deps | ||
|
||
before_script: | ||
- docker run -d -p 127.0.0.1:6379:6379 redis | ||
- docker run -d -p 127.0.0.1:5672:5672 -p 127.0.0.1:1883:1883 thethingsnetwork/rabbitmq | ||
|
||
script: | ||
- make test | ||
- make fmt | ||
- make vet | ||
|
||
after_success: | ||
- make coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This is the official list of The Things Network authors for copyright purposes. | ||
# | ||
# The copyright owners listed in this document agree to release their work under | ||
# the MIT license that can be found in the LICENSE file. | ||
# | ||
# Names should be added to this file as | ||
# Firstname Lastname <email@address> | ||
# | ||
# Please keep the list sorted. | ||
|
||
Antoine Rondelet <[email protected]> | ||
Fokke Zandbergen <[email protected]> | ||
Hylke Visser <[email protected]> | ||
Johan Stokking <[email protected]> | ||
Matthias Benkort <[email protected]> | ||
Roman Volosatovs <[email protected]> | ||
Romeo Van Snick <[email protected]> | ||
Tobias Kaupat <[email protected]> |
Oops, something went wrong.