Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the object representation of the CloudWatch Alarm #485

Closed
wants to merge 3 commits into from

Conversation

msailes
Copy link
Collaborator

@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
Collaborator 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
Collaborator 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
Collaborator Author

msailes commented Jun 20, 2024

Ready to recheck

@@ -35,6 +35,8 @@
<maven.compiler.source>1.8</maven.compiler.source>
<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
Contributor

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
Collaborator 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