Skip to content

Conversation

@luigi617
Copy link

@luigi617 luigi617 commented Jul 16, 2025

  • Serializer will serialize only the data and not create a HttpRequest.
  • Change JAVA version to 17
  • Enable CIO, Jetty-jakarta engine (and Netty which was already supported)
  • Accept type checker
  • Creation of service generator tests
  • Unit tests will be refined in the next PR

Issue #

Description of changes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

luigi added 30 commits June 24, 2025 15:17
…hy-kotlin into server-sdk-main

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
…n into service-sdk-serde

# Conflicts:
#	codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/core/KotlinDependency.kt
#	codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/core/RuntimeTypes.kt
#	codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/service/ServiceStubGenerator.kt
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

luigi added 2 commits July 21, 2025 10:31
…ice-sdk-testing

# Conflicts:
#	codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/CodegenVisitor.kt
#	codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/core/KotlinDependency.kt
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

import java.nio.file.Path
import java.nio.file.Paths

fun main() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Our test projects don't normally need main() methods. Why couldn't this work be done in a @Before method or even manually written and checked into the repository?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is used to generate the service. In gradle.build.kts, you can see that the test depends on runServiceGenerator which will call this funciton. The reason why not having this in @Before method is that I want to separate the file for generating service and testing it. I don't understand what you meant by "manually written and checked into the repository".

Copy link
Contributor

@0marperez 0marperez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good! Just had some small suggestions, nit's and questions but the Java 17 changes would cause us to regress on the behavior introduced by #1297. That's the only blocking thing for me.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

luigi added 2 commits July 22, 2025 13:14
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

luigi added 2 commits July 22, 2025 14:10
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@luigi617 luigi617 merged commit 7806f7d into server-sdk-main Jul 22, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

acknowledge-artifact-size-increase no-changelog Indicates that a changelog entry isn't required for a pull request. Use sparingly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants