From 6b00bcbee1f763e4f21da78439c6954d87f4439a Mon Sep 17 00:00:00 2001 From: Michael Dowling Date: Mon, 13 Jan 2020 13:12:50 -0800 Subject: [PATCH] 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. --- smithy-aws-protocol-tests/build.gradle.kts | 4 --- .../META-INF/smithy}/json-rpc-1-1/main.json | 0 .../main/resources/META-INF/smithy/manifest | 36 +++++++++++++++++++ .../smithy}/query/empty-input-output.smithy | 0 .../META-INF/smithy}/query/input-lists.smithy | 0 .../META-INF/smithy}/query/input-maps.smithy | 0 .../META-INF/smithy}/query/input.smithy | 0 .../META-INF/smithy}/query/main.smithy | 0 .../META-INF/smithy}/query/xml-errors.smithy | 0 .../META-INF/smithy}/query/xml-lists.smithy | 0 .../META-INF/smithy}/query/xml-maps.smithy | 0 .../META-INF/smithy}/query/xml-structs.smithy | 0 .../rest-json/empty-input-output.smithy | 0 .../rest-json/endpoint-host-trait.smithy | 0 .../META-INF/smithy}/rest-json/errors.smithy | 0 .../smithy}/rest-json/http-headers.smithy | 0 .../smithy}/rest-json/http-labels.smithy | 0 .../smithy}/rest-json/http-payload.smithy | 0 .../rest-json/http-prefix-headers.smithy | 0 .../smithy}/rest-json/http-query.smithy | 0 .../smithy}/rest-json/json-lists.smithy | 0 .../smithy}/rest-json/json-maps.smithy | 0 .../smithy}/rest-json/json-structs.smithy | 0 .../META-INF/smithy}/rest-json/main.smithy | 0 .../smithy}/rest-xml/document-lists.smithy | 0 .../smithy}/rest-xml/document-maps.smithy | 0 .../smithy}/rest-xml/document-structs.smithy | 0 .../rest-xml/document-xml-attributes.smithy | 0 .../rest-xml/empty-input-output.smithy | 0 .../rest-xml/endpoint-host-trait.smithy | 0 .../META-INF/smithy}/rest-xml/errors.smithy | 0 .../smithy}/rest-xml/http-headers.smithy | 0 .../smithy}/rest-xml/http-labels.smithy | 0 .../smithy}/rest-xml/http-payload.smithy | 0 .../rest-xml/http-prefix-headers.smithy | 0 .../smithy}/rest-xml/http-query.smithy | 0 .../META-INF/smithy}/rest-xml/main.smithy | 0 .../META-INF/smithy}/shared-types.smithy | 0 .../smithy/aws/protocoltests/ModelTest.java | 17 +++++++++ 39 files changed, 53 insertions(+), 4 deletions(-) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/json-rpc-1-1/main.json (100%) create mode 100644 smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/manifest rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/query/empty-input-output.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/query/input-lists.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/query/input-maps.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/query/input.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/query/main.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/query/xml-errors.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/query/xml-lists.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/query/xml-maps.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/query/xml-structs.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/empty-input-output.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/endpoint-host-trait.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/errors.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/http-headers.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/http-labels.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/http-payload.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/http-prefix-headers.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/http-query.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/json-lists.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/json-maps.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/json-structs.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-json/main.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/document-lists.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/document-maps.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/document-structs.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/document-xml-attributes.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/empty-input-output.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/endpoint-host-trait.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/errors.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/http-headers.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/http-labels.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/http-payload.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/http-prefix-headers.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/http-query.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/rest-xml/main.smithy (100%) rename smithy-aws-protocol-tests/{model => src/main/resources/META-INF/smithy}/shared-types.smithy (100%) create mode 100644 smithy-aws-protocol-tests/src/test/java/software/amazon/smithy/aws/protocoltests/ModelTest.java diff --git a/smithy-aws-protocol-tests/build.gradle.kts b/smithy-aws-protocol-tests/build.gradle.kts index 1fcc1d00a2c..d1a42fcb428 100644 --- a/smithy-aws-protocol-tests/build.gradle.kts +++ b/smithy-aws-protocol-tests/build.gradle.kts @@ -17,10 +17,6 @@ description = "Defines protocol tests for AWS HTTP protocols." extra["displayName"] = "Smithy :: AWS :: Protocol Tests" extra["moduleName"] = "software.amazon.smithy.aws.protocoltests" -plugins { - id("software.amazon.smithy").version("0.4.2") -} - dependencies { api(project(":smithy-protocol-test-traits")) api(project(":smithy-aws-traits")) diff --git a/smithy-aws-protocol-tests/model/json-rpc-1-1/main.json b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/json-rpc-1-1/main.json similarity index 100% rename from smithy-aws-protocol-tests/model/json-rpc-1-1/main.json rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/json-rpc-1-1/main.json diff --git a/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/manifest b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/manifest new file mode 100644 index 00000000000..99df71b74be --- /dev/null +++ b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/manifest @@ -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 diff --git a/smithy-aws-protocol-tests/model/query/empty-input-output.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/empty-input-output.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/query/empty-input-output.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/empty-input-output.smithy diff --git a/smithy-aws-protocol-tests/model/query/input-lists.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/input-lists.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/query/input-lists.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/input-lists.smithy diff --git a/smithy-aws-protocol-tests/model/query/input-maps.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/input-maps.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/query/input-maps.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/input-maps.smithy diff --git a/smithy-aws-protocol-tests/model/query/input.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/input.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/query/input.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/input.smithy diff --git a/smithy-aws-protocol-tests/model/query/main.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/main.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/query/main.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/main.smithy diff --git a/smithy-aws-protocol-tests/model/query/xml-errors.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/xml-errors.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/query/xml-errors.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/xml-errors.smithy diff --git a/smithy-aws-protocol-tests/model/query/xml-lists.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/xml-lists.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/query/xml-lists.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/xml-lists.smithy diff --git a/smithy-aws-protocol-tests/model/query/xml-maps.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/xml-maps.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/query/xml-maps.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/xml-maps.smithy diff --git a/smithy-aws-protocol-tests/model/query/xml-structs.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/xml-structs.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/query/xml-structs.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/query/xml-structs.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/empty-input-output.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/empty-input-output.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/empty-input-output.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/empty-input-output.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/endpoint-host-trait.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/endpoint-host-trait.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/endpoint-host-trait.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/endpoint-host-trait.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/errors.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/errors.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/errors.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/errors.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/http-headers.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/http-headers.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/http-headers.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/http-headers.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/http-labels.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/http-labels.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/http-labels.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/http-labels.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/http-payload.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/http-payload.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/http-payload.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/http-payload.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/http-prefix-headers.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/http-prefix-headers.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/http-prefix-headers.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/http-prefix-headers.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/http-query.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/http-query.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/http-query.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/http-query.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/json-lists.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/json-lists.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/json-lists.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/json-lists.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/json-maps.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/json-maps.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/json-maps.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/json-maps.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/json-structs.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/json-structs.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/json-structs.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/json-structs.smithy diff --git a/smithy-aws-protocol-tests/model/rest-json/main.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/main.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-json/main.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-json/main.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/document-lists.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/document-lists.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/document-lists.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/document-lists.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/document-maps.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/document-maps.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/document-maps.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/document-maps.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/document-structs.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/document-structs.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/document-structs.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/document-structs.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/document-xml-attributes.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/document-xml-attributes.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/document-xml-attributes.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/document-xml-attributes.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/empty-input-output.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/empty-input-output.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/empty-input-output.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/empty-input-output.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/endpoint-host-trait.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/endpoint-host-trait.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/endpoint-host-trait.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/endpoint-host-trait.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/errors.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/errors.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/errors.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/errors.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/http-headers.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/http-headers.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/http-headers.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/http-headers.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/http-labels.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/http-labels.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/http-labels.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/http-labels.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/http-payload.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/http-payload.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/http-payload.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/http-payload.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/http-prefix-headers.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/http-prefix-headers.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/http-prefix-headers.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/http-prefix-headers.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/http-query.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/http-query.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/http-query.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/http-query.smithy diff --git a/smithy-aws-protocol-tests/model/rest-xml/main.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/main.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/rest-xml/main.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/rest-xml/main.smithy diff --git a/smithy-aws-protocol-tests/model/shared-types.smithy b/smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/shared-types.smithy similarity index 100% rename from smithy-aws-protocol-tests/model/shared-types.smithy rename to smithy-aws-protocol-tests/src/main/resources/META-INF/smithy/shared-types.smithy diff --git a/smithy-aws-protocol-tests/src/test/java/software/amazon/smithy/aws/protocoltests/ModelTest.java b/smithy-aws-protocol-tests/src/test/java/software/amazon/smithy/aws/protocoltests/ModelTest.java new file mode 100644 index 00000000000..3d73e334039 --- /dev/null +++ b/smithy-aws-protocol-tests/src/test/java/software/amazon/smithy/aws/protocoltests/ModelTest.java @@ -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(); + } +}