You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This file should be renamed to application.properties
quarkus.datasource.jdbc.url=jdbc:mysql://localhost:3306/coolstore
quarkus.datasource.db-kind=mysql
quarkus.datasource.username=root
quarkus.datasource.password=password
quarkus.hibernate-orm.database.generation=none
quarkus.hibernate-orm.sql-load-script=import.sql
quarkus.hibernate-orm.show-sql=false
quarkus.hibernate-orm.format-sql=true
quarkus.hibernate-orm.use-sql-comments=true
quarkus.hibernate-orm.jdbc.use-get-generated-keys=false
Note this is both rename AND move, as persistence.xml was under src/main/resources/META-INF/ and we are moving up 1 directory, so no longer under META-INF
The text was updated successfully, but these errors were encountered:
@pranavgaikwad
On the IDE side we anticipated this functionality and introduced following Change type inspired by Git extension types.
export interface Change {
// relative file path before the change, may be empty if file was created in this change
original: string;
// relative file path after the change, may be empty if file was deleted in this change
modified: string;
// diff in unified format - tested with git diffs
diff: string;
}
Can you send array of such objects instead of the current response?
Map solution response to internal format using only information from the
provided diff.
Main advantages:
1. automatically map files to corresponding diffs - apply/discard
operations are file based and require single-file diff
2. allows incremental update to support add/delete/rename
3. file paths in git diffs are relative to repository root which
usually maps to VS Code workspace
Main disadvantage is increasing the dependency on the git diff format.
Reference-Url: konveyor/kai#502
Signed-off-by: Radoslaw Szwajkowski <[email protected]>
This issue is tracking our ability to detect and execute when the LLM tells us that a given file should be renamed/moved.
For this specific example we would want to:
src/main/resources/application.properties
src/main/resources/application.properties
with entries derived from the oldersrc/main/resources/META-INF/persistence.xml
src/main/resources/META-INF/persistence.xml
See src/main/resources/META-INF/persistence.xml from coolstore sample and recommendation to change its contents and rename/move to application.properties
Note this is both rename AND move, as persistence.xml was under
src/main/resources/META-INF/
and we are moving up 1 directory, so no longer underMETA-INF
The text was updated successfully, but these errors were encountered: