Skip to content

Commit becebc4

Browse files
author
Andrea Scuderi
committed
Update references to swift-serverless
1 parent 5fede54 commit becebc4

File tree

8 files changed

+84
-48
lines changed

8 files changed

+84
-48
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 (c) Andrea Scuderi - https://github.com/swift-sprinter
1+
# Copyright 2023 (c) Andrea Scuderi - https://github.com/swift-serverless
22

33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

Products/Package.resolved

Lines changed: 72 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
"kind" : "remoteSourceControl",
66
"location" : "https://github.com/swift-server/async-http-client.git",
77
"state" : {
8-
"revision" : "864c8d9e0ead5de7ba70b61c8982f89126710863",
9-
"version" : "1.15.0"
8+
"revision" : "291438696abdd48d2a83b52465c176efbd94512b",
9+
"version" : "1.20.1"
1010
}
1111
},
1212
{
13-
"identity" : "breeze",
13+
"identity" : "breezelambdadynamodbapi",
1414
"kind" : "remoteSourceControl",
15-
"location" : "https://github.com/swift-sprinter/Breeze.git",
15+
"location" : "https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git",
1616
"state" : {
17-
"revision" : "9ddff777d3ab86344b4fae050041050cf3686ef0",
18-
"version" : "0.1.0"
17+
"revision" : "13dd10094c37d37d01f3885dcf69297e0a7acc75",
18+
"version" : "0.4.0"
1919
}
2020
},
2121
{
@@ -32,134 +32,170 @@
3232
"kind" : "remoteSourceControl",
3333
"location" : "https://github.com/soto-project/soto.git",
3434
"state" : {
35-
"revision" : "26bd91a43a3e569956b99b7f15aa2709a1a6ff23",
36-
"version" : "6.5.0"
35+
"revision" : "c28c3efa72e6beceae6f38f8c8fe18e7c57e3418",
36+
"version" : "6.8.0"
3737
}
3838
},
3939
{
4040
"identity" : "soto-core",
4141
"kind" : "remoteSourceControl",
4242
"location" : "https://github.com/soto-project/soto-core.git",
4343
"state" : {
44-
"revision" : "787be995b0cff07bd28e9aea4c8a6424ead36e71",
45-
"version" : "6.4.2"
44+
"revision" : "3ed66ec536bc372360d7e3ec39a5e8b1870747ea",
45+
"version" : "6.5.2"
46+
}
47+
},
48+
{
49+
"identity" : "swift-algorithms",
50+
"kind" : "remoteSourceControl",
51+
"location" : "https://github.com/apple/swift-algorithms",
52+
"state" : {
53+
"revision" : "f6919dfc309e7f1b56224378b11e28bab5bccc42",
54+
"version" : "1.2.0"
4655
}
4756
},
4857
{
4958
"identity" : "swift-atomics",
5059
"kind" : "remoteSourceControl",
5160
"location" : "https://github.com/apple/swift-atomics.git",
5261
"state" : {
53-
"revision" : "ff3d2212b6b093db7f177d0855adbc4ef9c5f036",
54-
"version" : "1.0.3"
62+
"revision" : "cd142fd2f64be2100422d658e7411e39489da985",
63+
"version" : "1.2.0"
5564
}
5665
},
5766
{
5867
"identity" : "swift-aws-lambda-events",
5968
"kind" : "remoteSourceControl",
6069
"location" : "https://github.com/swift-server/swift-aws-lambda-events.git",
6170
"state" : {
62-
"revision" : "8e836e0893bc906fafd6b09e1c46a7efcc441fd5",
63-
"version" : "0.1.0"
71+
"revision" : "997094fe7c55762c07179419a1686230dfa13bef",
72+
"version" : "0.2.0"
6473
}
6574
},
6675
{
6776
"identity" : "swift-aws-lambda-runtime",
6877
"kind" : "remoteSourceControl",
6978
"location" : "https://github.com/swift-server/swift-aws-lambda-runtime.git",
7079
"state" : {
71-
"revision" : "de730b240df25897c4b5b68889c178c994fd6817",
72-
"version" : "1.0.0-alpha.1"
80+
"revision" : "8d9f44b7838750b103ad2ad49055e8333d719e8a",
81+
"version" : "1.0.0-alpha.2"
7382
}
7483
},
7584
{
7685
"identity" : "swift-backtrace",
7786
"kind" : "remoteSourceControl",
7887
"location" : "https://github.com/swift-server/swift-backtrace.git",
7988
"state" : {
80-
"revision" : "f25620d5d05e2f1ba27154b40cafea2b67566956",
81-
"version" : "1.3.3"
89+
"revision" : "80746bdd0ac8a7d83aad5d89dac3cbf15de652e6",
90+
"version" : "1.3.4"
8291
}
8392
},
8493
{
8594
"identity" : "swift-collections",
8695
"kind" : "remoteSourceControl",
8796
"location" : "https://github.com/apple/swift-collections.git",
8897
"state" : {
89-
"revision" : "937e904258d22af6e447a0b72c0bc67583ef64a2",
90-
"version" : "1.0.4"
98+
"revision" : "94cf62b3ba8d4bed62680a282d4c25f9c63c2efb",
99+
"version" : "1.1.0"
91100
}
92101
},
93102
{
94103
"identity" : "swift-crypto",
95104
"kind" : "remoteSourceControl",
96105
"location" : "https://github.com/apple/swift-crypto.git",
97106
"state" : {
98-
"revision" : "da0fe44138ab86e380f40a2acbd8a611b07d3f64",
99-
"version" : "2.4.0"
107+
"revision" : "cc76b894169a3c86b71bac10c78a4db6beb7a9ad",
108+
"version" : "3.2.0"
109+
}
110+
},
111+
{
112+
"identity" : "swift-http-types",
113+
"kind" : "remoteSourceControl",
114+
"location" : "https://github.com/apple/swift-http-types",
115+
"state" : {
116+
"revision" : "12358d55a3824bd5fed310b999ea8cf83a9a1a65",
117+
"version" : "1.0.3"
100118
}
101119
},
102120
{
103121
"identity" : "swift-log",
104122
"kind" : "remoteSourceControl",
105123
"location" : "https://github.com/apple/swift-log.git",
106124
"state" : {
107-
"revision" : "32e8d724467f8fe623624570367e3d50c5638e46",
108-
"version" : "1.5.2"
125+
"revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5",
126+
"version" : "1.5.4"
109127
}
110128
},
111129
{
112130
"identity" : "swift-metrics",
113131
"kind" : "remoteSourceControl",
114132
"location" : "https://github.com/apple/swift-metrics.git",
115133
"state" : {
116-
"revision" : "e8bced74bc6d747745935e469f45d03f048d6cbd",
117-
"version" : "2.3.4"
134+
"revision" : "971ba26378ab69c43737ee7ba967a896cb74c0d1",
135+
"version" : "2.4.1"
118136
}
119137
},
120138
{
121139
"identity" : "swift-nio",
122140
"kind" : "remoteSourceControl",
123141
"location" : "https://github.com/apple/swift-nio.git",
124142
"state" : {
125-
"revision" : "9b2848d76f5caad08b97e71a04345aa5bdb23a06",
126-
"version" : "2.49.0"
143+
"revision" : "fc63f0cf4e55a4597407a9fc95b16a2bc44b4982",
144+
"version" : "2.64.0"
127145
}
128146
},
129147
{
130148
"identity" : "swift-nio-extras",
131149
"kind" : "remoteSourceControl",
132150
"location" : "https://github.com/apple/swift-nio-extras.git",
133151
"state" : {
134-
"revision" : "cc1e5275079380c859417dbea8588531f1a90ec3",
135-
"version" : "1.18.0"
152+
"revision" : "a3b640d7dc567225db7c94386a6e71aded1bfa63",
153+
"version" : "1.22.0"
136154
}
137155
},
138156
{
139157
"identity" : "swift-nio-http2",
140158
"kind" : "remoteSourceControl",
141159
"location" : "https://github.com/apple/swift-nio-http2.git",
142160
"state" : {
143-
"revision" : "38feec96bcd929028939107684073554bf01abeb",
144-
"version" : "1.25.2"
161+
"revision" : "0904bf0feb5122b7e5c3f15db7df0eabe623dd87",
162+
"version" : "1.30.0"
145163
}
146164
},
147165
{
148166
"identity" : "swift-nio-ssl",
149167
"kind" : "remoteSourceControl",
150168
"location" : "https://github.com/apple/swift-nio-ssl.git",
151169
"state" : {
152-
"revision" : "4fb7ead803e38949eb1d6fabb849206a72c580f3",
153-
"version" : "2.23.0"
170+
"revision" : "7c381eb6083542b124a6c18fae742f55001dc2b5",
171+
"version" : "2.26.0"
154172
}
155173
},
156174
{
157175
"identity" : "swift-nio-transport-services",
158176
"kind" : "remoteSourceControl",
159177
"location" : "https://github.com/apple/swift-nio-transport-services.git",
160178
"state" : {
161-
"revision" : "c0d9a144cfaec8d3d596aadde3039286a266c15c",
162-
"version" : "1.15.0"
179+
"revision" : "6cbe0ed2b394f21ab0d46b9f0c50c6be964968ce",
180+
"version" : "1.20.1"
181+
}
182+
},
183+
{
184+
"identity" : "swift-numerics",
185+
"kind" : "remoteSourceControl",
186+
"location" : "https://github.com/apple/swift-numerics.git",
187+
"state" : {
188+
"revision" : "0a5bc04095a675662cf24757cc0640aa2204253b",
189+
"version" : "1.0.2"
190+
}
191+
},
192+
{
193+
"identity" : "swift-system",
194+
"kind" : "remoteSourceControl",
195+
"location" : "https://github.com/apple/swift-system.git",
196+
"state" : {
197+
"revision" : "025bcb1165deab2e20d4eaba79967ce73013f496",
198+
"version" : "1.2.1"
163199
}
164200
}
165201
],

Products/Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ import PackageDescription
66
let package = Package(
77
name: "swift-rest-api",
88
platforms: [
9-
.macOS(.v12),
9+
.macOS(.v13),
1010
],
1111
products: [
1212
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1313
.executable(name: "Products", targets: ["Products"]),
1414
],
1515
dependencies: [
16-
.package(url: "https://github.com/swift-sprinter/Breeze.git", from: "0.1.0"),
16+
.package(url: "https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git", from: "0.4.0"),
1717
],
1818
targets: [
1919
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2020
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
2121
.executableTarget(
2222
name: "Products",
2323
dependencies: [
24-
.product(name: "BreezeLambdaAPI", package: "Breeze"),
25-
.product(name: "BreezeDynamoDBService", package: "Breeze"),
24+
.product(name: "BreezeLambdaAPI", package: "BreezeLambdaDynamoDBAPI"),
25+
.product(name: "BreezeDynamoDBService", package: "BreezeLambdaDynamoDBAPI"),
2626
]
2727
),
2828
.testTarget(

Products/Sources/Products/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-sprinter
1+
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-serverless
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

Products/Tests/ProductServiceTests/APIGatewayTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-sprinter
1+
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-serverless
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

Products/Tests/ProductServiceTests/Fixtures.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-sprinter
2+
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-serverless
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");
55
// you may not use this file except in compliance with the License.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This package demonstrates how to write a Scalable REST API with the Serverless s
66

77
## Product API based on Breeze
88

9-
The example shows how to build and deploy a Rest API based on a `Product` swift struct using [Breeze](https://github.com/swift-sprinter/Breeze.git)
9+
The example shows how to build and deploy a Rest API based on a `Product` swift struct using [Breeze](https://github.com/swift-serverless/Breeze.git)
1010

1111
The following code is all you need to implement the engine of a Serverless Rest API in Swift.
1212
The Serverless Rest API implements a CRUD interface to store the `Product` in DynamoDB.
@@ -94,7 +94,7 @@ SDK: 4.3.2
9494
- Clone this repository. From the command line type:
9595

9696
```console
97-
git clone https://github.com/swift-sprinter/aws-serverless-swift-api-template.git
97+
git clone https://github.com/swift-serverless/aws-serverless-swift-api-template.git
9898
cd aws-serverless-swift-api-template
9999
```
100100
- Ensure you can run `make`:

swagger.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"swagger": "2.0",
33
"info": {
44
"version": "2020-05-25T15:42:57Z",
5-
"title": "dev-swift-sprinter-rest-api-swift",
5+
"title": "dev-swift-serverless-rest-api-swift",
66
"contact": {
77
"name": "Andrea Scuderi",
8-
"url": "https://github.com/swift-sprinter"
8+
"url": "https://github.com/swift-serverless"
99
},
1010
"license": {
1111
"name": "Apache 2.0"

0 commit comments

Comments
 (0)