-
Notifications
You must be signed in to change notification settings - Fork 15
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
Related to Issue 1005 in Strongbox: Addition of checkSumsMap property to liquibase #8
Conversation
Is there any actual code in this pull request? The file seems to be empty. Also, |
63ef5ff
to
83b7146
Compare
|
||
<changeSet id="v1.0.0.19" author="[email protected]"> | ||
|
||
<o:createProperty name="checkSums" type="linkmap" className="ArtifactEntry"/> |
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.
the type should be embeddedmap
as follows:
type="embeddedmap" linkedType="String"
@ogryniuk can you please also provide a screenshot from OrientDB Studio with |
@sbespalov I understand why we must have a screenshot but would need an advice. If I am right, OrientDb starts from a strongbox snapshot (at least, it is the way I started it recently). But snapshot is a tested working version of the project published on GitHub and my changes to the liquibase would evidently be absent from it. They would only be on my machine and nowhere else. So, how may I proceed in this situation? |
this is not required, you only need to have your |
@sbespalov I tried it but the browser did not load anything. Any ideas about what to do? I already looked into Firewall and Proxy settings, saw nothing unusual. Also had set to true an environment variable STRONGBOX_ORIENTDB_STUDIO_ENABLED, again with no result. |
Can you join our rocket chat? So we can manage it there
пт, 15 мар. 2019 г., 18:15 ogryniuk <[email protected]>:
… just strongbox-db$ mvn clean install should be enough.
@sbespalov <https://github.com/sbespalov> I tried it but the browser did
not load anything. Any ideas about what to do? I already looked into
Firewall and Proxy settings, saw nothing unusual. Also had set to true an
environment variable STRONGBOX_ORIENTDB_STUDIO_ENABLED, again with no
result.
[image: Opera Snapshot_2019-03-15_123125_localhost]
<https://user-images.githubusercontent.com/18189414/54426736-3cbca680-4721-11e9-8f5b-7e11d5e16a10.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVunQ09fMe1FDK_PSLbtzJQ2ZTzZl_Daks5vW4DQgaJpZM4boJEk>
.
|
@sbespalov Sure |
|
||
<changeSet id="v1.0.0.19" author="[email protected]"> | ||
|
||
<o:createProperty name="checkSums" type="embeddedmap" linkedType="String" className="ArtifactEntry"/> |
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.
As discussed previously, this should be checksums
, not checkSums
. (Could you also please change this in the ArtifactEntry
class?).
Also, as author
, could you please use the system id that we're using -- [email protected]
? Thanks! :)
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.
Good evening @carlspring ,
First I changed the variable name the way you asked but then looked at OrientDB schema for this entity (ArtifactEntry) and saw that all the properties in fact follow the naming convention checkSums (not checksums). See the snapshot attached above.
Thus, do not you think it is better to rename it back to checkSums?
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.
If this is the case, then you've spotted something that needs to be corrected. Could you please changes those to checksums
as well? Thanks!
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.
@ogryniuk I believe you see the database state from the moment when you initially used checkSums
word instead of checksums
. If you drop db
directory from the strongbox-web-core
, install strongbox-db
with checksums
, and then restart the strongbox
app I believe the database will be setup using proper field naming.
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.
If this is the case, then you've spotted something that needs to be corrected. Could you please changes those to checksums as well?
@carlspring I would need a clarification to be sure I will do what you wish. So, you would like that I remove capitalisation from all the properties in ArtifactEntry xml?
For each of the following properties: storageId, repositoryId, artifactCoordinates, tagSet. artifactPath, sizeInBytes, downloadCount, lastUpdatedlastUsed?
Is it so? Please confirm
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.
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.
@carlspring
In such case, know that it is already renamed checksums, as you can see it in the updated snapshot
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.
Okay, thanks for changing it! :)
What's the status of this task? |
@carlspring |
Thanks for the update! We require tests when code is changed, or added. @sbespalov , @fuss86 : Could you please give @ogryniuk some hints / links on how to implement some tests for this? Thanks! |
Closed in favour of #10 |
Added an xml file with the details of a new property