Skip to content

Commit 96f3f8a

Browse files
committed
Update LICENSE header
1 parent f57aa47 commit 96f3f8a

File tree

74 files changed

+1269
-306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1269
-306
lines changed

Examples/LambdaFunctions/Sources/APIGateway/main.swift

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
1-
//===----------------------------------------------------------------------===//
1+
//===------------------------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftAWSLambdaRuntime open source project
3+
// This source file is part of the SwiftTencentSCFRuntime open source project
4+
//
5+
// Copyright (c) 2020 stevapple and the SwiftTencentSCFRuntime project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftTencentSCFRuntime project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===------------------------------------------------------------------------------------===//
14+
//
15+
// This source file was part of the SwiftAWSLambdaRuntime open source project
416
//
517
// Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors
618
// Licensed under Apache License v2.0
719
//
820
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
21+
// See http://github.com/swift-server/swift-aws-lambda-runtime/blob/master/CONTRIBUTORS.txt
22+
// for the list of SwiftAWSLambdaRuntime project authors
1023
//
1124
// SPDX-License-Identifier: Apache-2.0
1225
//
13-
//===----------------------------------------------------------------------===//
26+
//===------------------------------------------------------------------------------------===//
1427

1528
import AWSLambdaEvents
1629
import AWSLambdaRuntime

Examples/LambdaFunctions/Sources/Benchmark/main.swift

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
1-
//===----------------------------------------------------------------------===//
1+
//===------------------------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftAWSLambdaRuntime open source project
3+
// This source file is part of the SwiftTencentSCFRuntime open source project
4+
//
5+
// Copyright (c) 2020 stevapple and the SwiftTencentSCFRuntime project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftTencentSCFRuntime project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===------------------------------------------------------------------------------------===//
14+
//
15+
// This source file was part of the SwiftAWSLambdaRuntime open source project
416
//
517
// Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors
618
// Licensed under Apache License v2.0
719
//
820
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
21+
// See http://github.com/swift-server/swift-aws-lambda-runtime/blob/master/CONTRIBUTORS.txt
22+
// for the list of SwiftAWSLambdaRuntime project authors
1023
//
1124
// SPDX-License-Identifier: Apache-2.0
1225
//
13-
//===----------------------------------------------------------------------===//
26+
//===------------------------------------------------------------------------------------===//
1427

1528
import AWSLambdaRuntimeCore
1629
import NIO

Examples/LambdaFunctions/Sources/CurrencyExchange/main.swift

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
1-
//===----------------------------------------------------------------------===//
1+
//===------------------------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftAWSLambdaRuntime open source project
3+
// This source file is part of the SwiftTencentSCFRuntime open source project
4+
//
5+
// Copyright (c) 2020 stevapple and the SwiftTencentSCFRuntime project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftTencentSCFRuntime project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===------------------------------------------------------------------------------------===//
14+
//
15+
// This source file was part of the SwiftAWSLambdaRuntime open source project
416
//
517
// Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors
618
// Licensed under Apache License v2.0
719
//
820
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
21+
// See http://github.com/swift-server/swift-aws-lambda-runtime/blob/master/CONTRIBUTORS.txt
22+
// for the list of SwiftAWSLambdaRuntime project authors
1023
//
1124
// SPDX-License-Identifier: Apache-2.0
1225
//
13-
//===----------------------------------------------------------------------===//
26+
//===------------------------------------------------------------------------------------===//
1427

1528
import AWSLambdaRuntime
1629
import Dispatch

Examples/LambdaFunctions/Sources/ErrorHandling/main.swift

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
1-
//===----------------------------------------------------------------------===//
1+
//===------------------------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftAWSLambdaRuntime open source project
3+
// This source file is part of the SwiftTencentSCFRuntime open source project
4+
//
5+
// Copyright (c) 2020 stevapple and the SwiftTencentSCFRuntime project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftTencentSCFRuntime project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===------------------------------------------------------------------------------------===//
14+
//
15+
// This source file was part of the SwiftAWSLambdaRuntime open source project
416
//
517
// Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors
618
// Licensed under Apache License v2.0
719
//
820
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
21+
// See http://github.com/swift-server/swift-aws-lambda-runtime/blob/master/CONTRIBUTORS.txt
22+
// for the list of SwiftAWSLambdaRuntime project authors
1023
//
1124
// SPDX-License-Identifier: Apache-2.0
1225
//
13-
//===----------------------------------------------------------------------===//
26+
//===------------------------------------------------------------------------------------===//
1427

1528
import AWSLambdaRuntime
1629

Examples/LambdaFunctions/Sources/HelloWorld/main.swift

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
1-
//===----------------------------------------------------------------------===//
1+
//===------------------------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftAWSLambdaRuntime open source project
3+
// This source file is part of the SwiftTencentSCFRuntime open source project
4+
//
5+
// Copyright (c) 2020 stevapple and the SwiftTencentSCFRuntime project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftTencentSCFRuntime project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===------------------------------------------------------------------------------------===//
14+
//
15+
// This source file was part of the SwiftAWSLambdaRuntime open source project
416
//
517
// Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors
618
// Licensed under Apache License v2.0
719
//
820
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
21+
// See http://github.com/swift-server/swift-aws-lambda-runtime/blob/master/CONTRIBUTORS.txt
22+
// for the list of SwiftAWSLambdaRuntime project authors
1023
//
1124
// SPDX-License-Identifier: Apache-2.0
1225
//
13-
//===----------------------------------------------------------------------===//
26+
//===------------------------------------------------------------------------------------===//
1427

1528
import AWSLambdaRuntime
1629

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,28 @@
1-
//===----------------------------------------------------------------------===//
1+
//===------------------------------------------------------------------------------------===//
22
//
3-
// This source file is part of the SwiftAWSLambdaRuntime open source project
3+
// This source file is part of the SwiftTencentSCFRuntime open source project
4+
//
5+
// Copyright (c) 2020 stevapple and the SwiftTencentSCFRuntime project authors
6+
// Licensed under Apache License v2.0
7+
//
8+
// See LICENSE.txt for license information
9+
// See CONTRIBUTORS.txt for the list of SwiftTencentSCFRuntime project authors
10+
//
11+
// SPDX-License-Identifier: Apache-2.0
12+
//
13+
//===------------------------------------------------------------------------------------===//
14+
//
15+
// This source file was part of the SwiftAWSLambdaRuntime open source project
416
//
517
// Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors
618
// Licensed under Apache License v2.0
719
//
820
// See LICENSE.txt for license information
9-
// See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
21+
// See http://github.com/swift-server/swift-aws-lambda-runtime/blob/master/CONTRIBUTORS.txt
22+
// for the list of SwiftAWSLambdaRuntime project authors
1023
//
1124
// SPDX-License-Identifier: Apache-2.0
1225
//
13-
//===----------------------------------------------------------------------===//
26+
//===------------------------------------------------------------------------------------===//
1427

1528
preconditionFailure("use `swift test --enable-test-discovery`")

Examples/LambdaFunctions/scripts/build-and-package.sh

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,30 @@
11
#!/bin/bash
2-
##===----------------------------------------------------------------------===##
2+
##===------------------------------------------------------------------------------------===##
33
##
4-
## This source file is part of the SwiftAWSLambdaRuntime open source project
4+
## This source file is part of the SwiftTencentSCFRuntime open source project
5+
##
6+
## Copyright (c) 2020 stevapple and the SwiftTencentSCFRuntime project authors
7+
## Licensed under Apache License v2.0
8+
##
9+
## See LICENSE.txt for license information
10+
## See CONTRIBUTORS.txt for the list of SwiftTencentSCFRuntime project authors
11+
##
12+
## SPDX-License-Identifier: Apache-2.0
13+
##
14+
##===------------------------------------------------------------------------------------===##
15+
##
16+
## This source file was part of the SwiftAWSLambdaRuntime open source project
517
##
618
## Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors
719
## Licensed under Apache License v2.0
820
##
921
## See LICENSE.txt for license information
10-
## See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
22+
## See http://github.com/swift-server/swift-aws-lambda-runtime/blob/master/CONTRIBUTORS.txt
23+
## for the list of SwiftAWSLambdaRuntime project authors
1124
##
1225
## SPDX-License-Identifier: Apache-2.0
1326
##
14-
##===----------------------------------------------------------------------===##
27+
##===------------------------------------------------------------------------------------===##
1528

1629
set -eu
1730

Examples/LambdaFunctions/scripts/config.sh

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,30 @@
11
#!/bin/bash
2-
##===----------------------------------------------------------------------===##
2+
##===------------------------------------------------------------------------------------===##
33
##
4-
## This source file is part of the SwiftAWSLambdaRuntime open source project
4+
## This source file is part of the SwiftTencentSCFRuntime open source project
5+
##
6+
## Copyright (c) 2020 stevapple and the SwiftTencentSCFRuntime project authors
7+
## Licensed under Apache License v2.0
8+
##
9+
## See LICENSE.txt for license information
10+
## See CONTRIBUTORS.txt for the list of SwiftTencentSCFRuntime project authors
11+
##
12+
## SPDX-License-Identifier: Apache-2.0
13+
##
14+
##===------------------------------------------------------------------------------------===##
15+
##
16+
## This source file was part of the SwiftAWSLambdaRuntime open source project
517
##
618
## Copyright (c) 2017-2018 Apple Inc. and the SwiftAWSLambdaRuntime project authors
719
## Licensed under Apache License v2.0
820
##
921
## See LICENSE.txt for license information
10-
## See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
22+
## See http://github.com/swift-server/swift-aws-lambda-runtime/blob/master/CONTRIBUTORS.txt
23+
## for the list of SwiftAWSLambdaRuntime project authors
1124
##
1225
## SPDX-License-Identifier: Apache-2.0
1326
##
14-
##===----------------------------------------------------------------------===##
27+
##===------------------------------------------------------------------------------------===##
1528

1629
DIR="$(cd "$(dirname "$0")" && pwd)"
1730
executables=( $(swift package dump-package | sed -e 's|: null|: ""|g' | jq '.products[] | (select(.type.executable)) | .name' | sed -e 's|"||g') )

Examples/LambdaFunctions/scripts/deploy.sh

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,30 @@
11
#!/bin/bash
2-
##===----------------------------------------------------------------------===##
2+
##===------------------------------------------------------------------------------------===##
33
##
4-
## This source file is part of the SwiftAWSLambdaRuntime open source project
4+
## This source file is part of the SwiftTencentSCFRuntime open source project
5+
##
6+
## Copyright (c) 2020 stevapple and the SwiftTencentSCFRuntime project authors
7+
## Licensed under Apache License v2.0
8+
##
9+
## See LICENSE.txt for license information
10+
## See CONTRIBUTORS.txt for the list of SwiftTencentSCFRuntime project authors
11+
##
12+
## SPDX-License-Identifier: Apache-2.0
13+
##
14+
##===------------------------------------------------------------------------------------===##
15+
##
16+
## This source file was part of the SwiftAWSLambdaRuntime open source project
517
##
618
## Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors
719
## Licensed under Apache License v2.0
820
##
921
## See LICENSE.txt for license information
10-
## See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
22+
## See http://github.com/swift-server/swift-aws-lambda-runtime/blob/master/CONTRIBUTORS.txt
23+
## for the list of SwiftAWSLambdaRuntime project authors
1124
##
1225
## SPDX-License-Identifier: Apache-2.0
1326
##
14-
##===----------------------------------------------------------------------===##
27+
##===------------------------------------------------------------------------------------===##
1528

1629
set -eu
1730

Examples/LambdaFunctions/scripts/package.sh

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,30 @@
11
#!/bin/bash
2-
##===----------------------------------------------------------------------===##
2+
##===------------------------------------------------------------------------------------===##
33
##
4-
## This source file is part of the SwiftAWSLambdaRuntime open source project
4+
## This source file is part of the SwiftTencentSCFRuntime open source project
5+
##
6+
## Copyright (c) 2020 stevapple and the SwiftTencentSCFRuntime project authors
7+
## Licensed under Apache License v2.0
8+
##
9+
## See LICENSE.txt for license information
10+
## See CONTRIBUTORS.txt for the list of SwiftTencentSCFRuntime project authors
11+
##
12+
## SPDX-License-Identifier: Apache-2.0
13+
##
14+
##===------------------------------------------------------------------------------------===##
15+
##
16+
## This source file was part of the SwiftAWSLambdaRuntime open source project
517
##
618
## Copyright (c) 2020 Apple Inc. and the SwiftAWSLambdaRuntime project authors
719
## Licensed under Apache License v2.0
820
##
921
## See LICENSE.txt for license information
10-
## See CONTRIBUTORS.txt for the list of SwiftAWSLambdaRuntime project authors
22+
## See http://github.com/swift-server/swift-aws-lambda-runtime/blob/master/CONTRIBUTORS.txt
23+
## for the list of SwiftAWSLambdaRuntime project authors
1124
##
1225
## SPDX-License-Identifier: Apache-2.0
1326
##
14-
##===----------------------------------------------------------------------===##
27+
##===------------------------------------------------------------------------------------===##
1528

1629
set -eu
1730

0 commit comments

Comments
 (0)