From 0b86f9b216294eb3550c7fe200b341961e4e15bb Mon Sep 17 00:00:00 2001 From: Francesco Guardiani Date: Tue, 22 Aug 2023 22:03:41 +0200 Subject: [PATCH] Add license to files (#25) --- LICENSE | 21 +++++++++++++++++++++ buf.yaml | 8 ++++++++ dev/restate/ext.proto | 15 ++++++++++++--- dev/restate/services.proto | 15 ++++++++++++--- 4 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 LICENSE create mode 100644 buf.yaml diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b81eecf --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 - Restate Software, Inc., Restate GmbH + +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 \ No newline at end of file diff --git a/buf.yaml b/buf.yaml new file mode 100644 index 0000000..0988709 --- /dev/null +++ b/buf.yaml @@ -0,0 +1,8 @@ +version: v1 +name: buf.build/restatedev/proto +breaking: + use: + - FILE +lint: + use: + - DEFAULT diff --git a/dev/restate/ext.proto b/dev/restate/ext.proto index e83d2d1..d364eab 100644 --- a/dev/restate/ext.proto +++ b/dev/restate/ext.proto @@ -1,8 +1,17 @@ -/* - This package provides user facing Restate extensions, which the user can include in their own contracts - */ +// Copyright (c) 2023 - Restate Software, Inc., Restate GmbH +// +// This file is part of the Restate service protocol, which is +// released under the MIT license. +// +// You can find a copy of the license in file LICENSE in the root +// directory of this repository or package, or at +// https://github.com/restatedev/proto/blob/main/LICENSE + syntax = "proto3"; +// Restate extensions. +// This package contains the definition of the protobuf extensions to define Restate services. +// For more details, check out the documentation: https://docs.restate.dev/services/service_type package dev.restate.ext; import "google/protobuf/descriptor.proto"; diff --git a/dev/restate/services.proto b/dev/restate/services.proto index 760c327..bed0a86 100644 --- a/dev/restate/services.proto +++ b/dev/restate/services.proto @@ -1,8 +1,17 @@ -/* - This package provides interfaces for built-in services - */ +// Copyright (c) 2023 - Restate Software, Inc., Restate GmbH +// +// This file is part of the Restate service protocol, which is +// released under the MIT license. +// +// You can find a copy of the license in file LICENSE in the root +// directory of this repository or package, or at +// https://github.com/restatedev/proto/blob/main/LICENSE + syntax = "proto3"; +// Restate built-in services. +// This package contains the definition of Restate built-in services. +// To invoke them, check out the documentation: https://docs.restate.dev/services/invocation package dev.restate; import "google/protobuf/empty.proto";