-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove usage of Gradle plugin for now to fix protocol tests
There's an unknown issue with the Gradle plugin that makes it impossible to load the smithy-protocol-test-traits when trying to build smithy-aws-protocol-tests. This commit moves back to manually assembling JARs and removes the Gradle plugin until we figure out how and why it's broken.
- Loading branch information
Showing
39 changed files
with
53 additions
and
4 deletions.
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
File renamed without changes.
36 changes: 36 additions & 0 deletions
36
smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/manifest
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,36 @@ | ||
json-rpc-1-1/main.json | ||
query/empty-input-output.smithy | ||
query/input.smithy | ||
query/input-lists.smithy | ||
query/input-maps.smithy | ||
query/main.smithy | ||
query/xml-errors.smithy | ||
query/xml-lists.smithy | ||
query/xml-maps.smithy | ||
query/xml-structs.smithy | ||
rest-json/empty-input-output.smithy | ||
rest-json/endpoint-host-trait.smithy | ||
rest-json/errors.smithy | ||
rest-json/http-headers.smithy | ||
rest-json/http-labels.smithy | ||
rest-json/http-payload.smithy | ||
rest-json/http-prefix-headers.smithy | ||
rest-json/http-query.smithy | ||
rest-json/json-lists.smithy | ||
rest-json/json-maps.smithy | ||
rest-json/json-structs.smithy | ||
rest-json/main.smithy | ||
rest-xml/document-lists.smithy | ||
rest-xml/document-maps.smithy | ||
rest-xml/document-structs.smithy | ||
rest-xml/document-xml-attributes.smithy | ||
rest-xml/empty-input-output.smithy | ||
rest-xml/endpoint-host-trait.smithy | ||
rest-xml/errors.smithy | ||
rest-xml/http-headers.smithy | ||
rest-xml/http-labels.smithy | ||
rest-xml/http-payload.smithy | ||
rest-xml/http-prefix-headers.smithy | ||
rest-xml/http-query.smithy | ||
rest-xml/main.smithy | ||
shared-types.smithy |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
...-aws-protocol-tests/src/test/java/software/amazon/smithy/aws/protocoltests/ModelTest.java
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,17 @@ | ||
package software.amazon.smithy.aws.protocoltests; | ||
|
||
import org.junit.jupiter.api.Test; | ||
import software.amazon.smithy.model.Model; | ||
|
||
/** | ||
* TODO: fix gradle plugin and remove this code. | ||
*/ | ||
public class ModelTest { | ||
@Test | ||
public void loadsModel() { | ||
Model.assembler() | ||
.discoverModels() | ||
.assemble() | ||
.unwrap(); | ||
} | ||
} |