-
Notifications
You must be signed in to change notification settings - Fork 4
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
Remove database #39
Remove database #39
Conversation
2e6b3eb
to
5299637
Compare
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.
Looking good.
Please add more words to the commit body of each commit (where it makes sense) explaining the what/why. Having more info in the commits will help us later on if we ever need to circle back to these changes.
emc-metalnx-core/src/main/java/com/emc/metalnx/services/interfaces/IRODSServices.java
Outdated
Show resolved
Hide resolved
irodsext-data-profiler/src/main/java/com/emc/metalnx/core/domain/dao/impl/UserDaoImpl.java
Show resolved
Hide resolved
irodsext-data-profiler/src/main/java/com/emc/metalnx/core/domain/dao/impl/UserDaoImpl.java
Show resolved
Hide resolved
irodsext-data-profiler/src/main/java/com/emc/metalnx/core/domain/dao/impl/UserDaoImpl.java
Show resolved
Hide resolved
emc-metalnx-core/src/main/java/com/emc/metalnx/core/domain/dao/generic/GenericDaoImpl.java
Outdated
Show resolved
Hide resolved
9f9355e
to
196b75a
Compare
Anything else left to do for this PR? |
No, other than possible changes for unit tests. I haven't run them yet. I am going to look at them today. |
I've never run the unit tests for this repo, so it's not clear me that they are important. If you're confident that these changes work for metalnx, squash the commits to taste and we'll get this merged. |
196b75a
to
2147d84
Compare
I squashed them all down to one commit. (I saved off the original in a separate branch in case we want to go back to multiple commits.) I put each specific change as a bullet in that one commit. |
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 you're happy with it, pound it.
- Reimplemented UserDaoImpl.java to use Jargon calls to iRODS. - Remove code that involves with favorites, bookmarks, templates, and profiles. - Remove code for unused user fields. - Remove references to hibernate and javax.persistence and all database update code. - Moved UserDaoImpl.java and IRODSServices.java to avoid cyclic dependency. - Add new required dependency for emc-metalnx-core to depend on jargon-zipservice and jargon-ticket. - Change build->tasks to build->target as seems to be required due to maven update. - Remove UserDao dependency on GenericDao. Remove GenericDao and GenericDaoImpl as these have DB specific functionality.
2147d84
to
c3a10be
Compare
done |
This is the code for the Metalnx database removal.
I haven't run the tests yet and they probably need some tweaking. I will probably get that in another pull request.