Skip to content

Added the object representation of the CloudWatch Alarm#485

Closed
msailes wants to merge 3 commits intoaws:mainfrom
msailes:main
Closed

Added the object representation of the CloudWatch Alarm#485
msailes wants to merge 3 commits intoaws:mainfrom
msailes:main

Conversation

@msailes
Copy link
Contributor

@msailes msailes commented Jun 14, 2024

Issue #, if available:

#484

Description of changes:

I added a test dependency to serialisation so I could write a unit test with the correct serialisation configuration for Jackson.

Target (OCI, Managed Runtime, both):

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

…omposite types)

Updated encoding properties to remove warnings
@msailes
Copy link
Contributor Author

msailes commented Jun 14, 2024

There is a design decision on whether there should be one class or two? The two different types of alarms use different attributes.

@msailes
Copy link
Contributor Author

msailes commented Jun 20, 2024

What do you think about having both use cases model as a single class?

I think having two is awkward because some attributes won't make sense in one case. But the alternative of having two is awkward if CloudWatch continues to make different events in the future.

Moved the tests to the test module
@msailes
Copy link
Contributor Author

msailes commented Jun 20, 2024

Ready to recheck

<maven.compiler.target>1.8</maven.compiler.target>
<lombok.version>1.18.22</lombok.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Copy link
Member

Choose a reason for hiding this comment

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

@msailes is this change required in this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No. There was a warning in the build logs, I added these to remove the warning.

@msailes msailes closed this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants