-
Notifications
You must be signed in to change notification settings - Fork 0
adds a name to the composite modifications + updates the composite creation endpoint #762
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
base: main
Are you sure you want to change the base?
Changes from all commits
fa928be
7f03a37
26e728c
5ce5826
d26f7cf
1f0171b
1d4877a
9786107
36330ff
6df7492
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <?xml version="1.1" encoding="UTF-8" standalone="no"?> | ||
| <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd"> | ||
| <changeSet author="deharbemat (generated)" id="1770384121049-15"> | ||
| <addColumn tableName="composite_modification"> | ||
| <column defaultValue="My Composite" name="composite_name" type="varchar(255)"/> | ||
| </addColumn> | ||
|
Comment on lines
3
to
6
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's no issue if it hasn't a default name for preexisting composite modifications ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see how it could happen but I can add one just in case. Like "My composite" ? The thing is that this name is useless for now and can be useful ony if the composite is inserted into gridstudy, and then it gets a name. How I see it : the front interface will use the name of the composite in grid-explore (its element name) as a default value and then call the endpoint with it. But you are right : better to add one just in case.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Like this : ? 9786107 |
||
| </changeSet> | ||
| </databaseChangeLog> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be added to modificationContextInfos ? Like do you think it would be possible to replace List from the Pair to a list of records/dto containing UUID and their coresponding compositeName ?
compositeName would be optional to keep the system working for copying non composite modifications
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know. I don't think any of those ways is satisfying because it will be useful only for INSERT_COMPOSITE. At least here the other action types can completely ignore that parameter, no structure has to be changed. But I don't like it either.
What do you think @SlimaneAmar ?