airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Christie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRAVATA-2938) Change DB initialization in Registry server to use registry-refactoring code
Date Thu, 24 Jan 2019 22:13:00 GMT

     [ https://issues.apache.org/jira/browse/AIRAVATA-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcus Christie updated AIRAVATA-2938:
--------------------------------------
    Description: 
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
* [ ] 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: 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
** gfac-service: Initialize
* [ ] code cleanup: DBInitializer copies
** profile-service-commons: Utils.java
** (/) CredentialStoreInitiUtil
** registry-core: Utils
* [ ] code cleanup: DerbyUtils.java copies
** AiravataDerbyServer
** other locations listed in above lists
* [ ] code cleanup: Merge DerbyUtils.java and DerbyDBManager.java

  was:
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
* [ ] 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: 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
* [ ] code cleanup: DBInitializer copies
** profile-service-commons: Utils.java
** (/) CredentialStoreInitiUtil
** registry-core: Utils
* [ ] code cleanup: DerbyUtils.java copies
** AiravataDerbyServer
** other locations listed in above lists
* [ ] code cleanup: Merge DerbyUtils.java and DerbyDBManager.java


> 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
> * [ ] 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: 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
> ** gfac-service: Initialize
> * [ ] code cleanup: DBInitializer copies
> ** profile-service-commons: Utils.java
> ** (/) CredentialStoreInitiUtil
> ** registry-core: Utils
> * [ ] code cleanup: DerbyUtils.java copies
> ** AiravataDerbyServer
> ** other locations listed in above lists
> * [ ] code cleanup: Merge DerbyUtils.java and DerbyDBManager.java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message