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

✨ Reflection fixes with Llama 70b #52

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pranavgaikwad
Copy link

Compare this with #45 to see the difference.

Notice that there are no longer bad updates made (omitted code, functionality changes, among other minor things)

<version>7.0</version>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-api</artifactId>
<version>8.0.0</version>

Choose a reason for hiding this comment

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

Note to ourselves, I want to update the dependency agent to actuall not give the version here.

The version should come from the POM because the Quarkus BOM is actually like a platform in that it has all the dependent versions that should be used with a specific version of Quarkus.


import com.redhat.coolstore.model.Product;
import com.redhat.coolstore.service.ProductService;

@RequestScoped
@Path("/products")
@Consumes(MediaType.APPLICATION_JSON)

Choose a reason for hiding this comment

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

Should this be removed?

import io.smallrye.reactive.messaging.jms.JmsPoolTypeImpl;
import io.smallrye.reactive.messaging.jms.JmsPoolTypeImpl;
import io.smallrye.reactive.messaging.jms.JmsPoolTypeImpl;

Choose a reason for hiding this comment

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

This is probably a problem :)

return BigDecimal.valueOf(value * percentOfTotal)
.setScale(2, RoundingMode.HALF_UP)
.doubleValue();
return value * percentOfTotal;

Choose a reason for hiding this comment

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

I don't know if this is a valid change, a BigDecimal should probably still be used IIRC about dealing money things in Java

import javax.jms.Topic;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import io.smallrye.reactive.messaging.Channel;

Choose a reason for hiding this comment

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

I do notice that io.smallrye is not added to the pom, are you still getting mvn compile time errors?

Copy link
Author

Choose a reason for hiding this comment

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

@shawn-hurley so there is an issue about maven parsing I am fixing now. The issue is that - we add a bad quarkus dip but we don't fix that because of parsing issues and then from that point onwards, we always get the same error in pom ignoring everything else.

# This file should be renamed to application.properties
Copy link
Contributor

Choose a reason for hiding this comment

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

I filed konveyor/kai#502 to track being able to handle this rename/move of file

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