diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1aa0f49 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018-2019 O.S. Systems Software LTDA + +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. diff --git a/README.md b/README.md index ced943f..b6f6b2e 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,14 @@ Flags: --port int Port (default 8080) --username string Admin username (default "admin") ``` + +## License + +Licensed under MIT, ([LICENSE](LICENSE) or https://opensource.org/licenses/MIT). + +### Contribution + +Unless you explicitly state otherwise, any contribution intentionally +submitted for inclusion in the work by you, as defined in the MIT +license, shall be licensed as above, without any additional terms or +conditions. diff --git a/api/agentapi/agentapi.go b/api/agentapi/agentapi.go index 6b53a00..a78593b 100644 --- a/api/agentapi/agentapi.go +++ b/api/agentapi/agentapi.go @@ -1,3 +1,7 @@ +// Copyright (C) 2018 O.S. Systems Sofware LTDA +// +// SPDX-License-Identifier: MIT + package agentapi import ( diff --git a/api/webapi/devices.go b/api/webapi/devices.go index d4ef9a7..e8c58eb 100644 --- a/api/webapi/devices.go +++ b/api/webapi/devices.go @@ -1,3 +1,7 @@ +// Copyright (C) 2018 O.S. Systems Sofware LTDA +// +// SPDX-License-Identifier: MIT + package webapi import ( diff --git a/api/webapi/packages.go b/api/webapi/packages.go index deefe21..3dc3b63 100644 --- a/api/webapi/packages.go +++ b/api/webapi/packages.go @@ -1,3 +1,7 @@ +// Copyright (C) 2018 O.S. Systems Sofware LTDA +// +// SPDX-License-Identifier: MIT + package webapi import ( diff --git a/api/webapi/rollouts.go b/api/webapi/rollouts.go index a6b1c60..fd64011 100644 --- a/api/webapi/rollouts.go +++ b/api/webapi/rollouts.go @@ -1,3 +1,7 @@ +// Copyright (C) 2018 O.S. Systems Sofware LTDA +// +// SPDX-License-Identifier: MIT + package webapi import ( diff --git a/coap.go b/coap.go index 5b1a1d0..e66be96 100644 --- a/coap.go +++ b/coap.go @@ -1,3 +1,7 @@ +// Copyright (C) 2018 O.S. Systems Sofware LTDA +// +// SPDX-License-Identifier: MIT + package main import ( diff --git a/main.go b/main.go index 5cd992c..3e7dfe2 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,7 @@ +// Copyright (C) 2018 O.S. Systems Sofware LTDA +// +// SPDX-License-Identifier: MIT + package main import ( diff --git a/models/device.go b/models/device.go index 4e0518d..affc95d 100644 --- a/models/device.go +++ b/models/device.go @@ -1,3 +1,7 @@ +// Copyright (C) 2018 O.S. Systems Sofware LTDA +// +// SPDX-License-Identifier: MIT + package models import ( diff --git a/models/package.go b/models/package.go index 9887c62..8e25f37 100644 --- a/models/package.go +++ b/models/package.go @@ -1,3 +1,7 @@ +// Copyright (C) 2018 O.S. Systems Sofware LTDA +// +// SPDX-License-Identifier: MIT + package models type Package struct { diff --git a/models/report.go b/models/report.go index bc0e30d..2bbda98 100644 --- a/models/report.go +++ b/models/report.go @@ -1,3 +1,7 @@ +// Copyright (C) 2018 O.S. Systems Sofware LTDA +// +// SPDX-License-Identifier: MIT + package models import ( diff --git a/models/rollout.go b/models/rollout.go index dbcdd3e..8023e17 100644 --- a/models/rollout.go +++ b/models/rollout.go @@ -1,3 +1,7 @@ +// Copyright (C) 2018 O.S. Systems Sofware LTDA +// +// SPDX-License-Identifier: MIT + package models import (