[
https://issues.apache.org/jira/browse/AIRAVATA-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16755196#comment-16755196
]
ASF subversion and git services commented on AIRAVATA-2938:
-----------------------------------------------------------
Commit c4e86858efe160c09371404ae3a86d79e8c0feec in airavata's branch
refs/heads/airavata-2938-change-db-initialization-in-registry-server-to-use-registry-refactoring-code
from Marcus Christie
[ https://gitbox.apache.org/repos/asf?p=airavata.git;h=c4e8685 ]
AIRAVATA-2938 More code cleanup
Appears we don't use (may never have used) AiravataDerbyServer
> Change DB initialization in Registry server to use registry-refactoring code
> ----------------------------------------------------------------------------
>
> Key: AIRAVATA-2938
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2938
> Project: Airavata
> Issue Type: Bug
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
>
> TODO
> * [x] Move DB intialization code to airavata-commons. Code in registry-core
> is duplicated in airavata-sharing-registry-server and
> airavata-credential-store.
> ** Don't need a connection pool (JdbcStorage) for initializing a database
> ** Single DBInitializer class that takes a config object with JDBC properties
> etc.
> ** Each database has its own initialization class that can also have a
> postInit method to do any database setup
> * [x] Update distribution bin assembly to include db scripts from
> registry-refactoring
> * [x] Update RegistryAPIServer to call DBInitializers from
> registry-refactoring
> * [x] code cleanup: DatabaseCreator copies
> ** (/) CredentialStoreInitUtil
> ** (/) orchestrator-core Initialize
> ** (/) registry-refactoring: expcatalog Initialize.java
> ** (/) registry-refactoring: replicacatalog Initialize.java
> ** (/) registry-refactoring: workflowcatalog Initialize.java
> ** -registry-core: appcatalog Initailize.java- registry-core is deprecated so
> no need to convert these
> ** -registry-core: expcatalog Initialize.java-
> ** -registry-core: replicacatalog Initialize.java-
> ** (/) registry-server: appcatalog AppCatalogInitUtil
> ** (/) registry-server: DatabaseCreator
> ** (/) registry-server: ExpCatalogInitUtil
> ** (/) registry-server: ReplicaCatalogInitUtil
> ** (/) registry-server: WorkflowCatalogInitUtil
> ** (/) sharing-registry-server: JPAUtils
> ** (/) sharing-registry-server: Initialize
> ** -registry-tool: DBMigrator- not going to touch this now
> ** (/) gfac-service: Initialize
> * [x] code cleanup: DBInitializer copies
> ** (/) profile-service-commons: Utils.java
> ** (/) CredentialStoreInitiUtil
> ** -registry-core: Utils- registry-core is deprecated so no need to convert
> * [x] code cleanup: DerbyUtils.java copies
> ** AiravataDerbyServer
> ** other locations listed in above lists
> * [x] code cleanup: Merge DerbyUtils.java and DerbyDBManager.java
> * [ ] run a DB schema diff between a clean database initialized by these
> refactored scripts and a live existing Airavata develop database
> (dbdev.scigap.org)
> * [x] move Derby start code out of DBInitializer?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)