Open AO database importer packages to other plugins

Description

Sometimes a plugin needs to restore some data from an external source into its AO tables. In case a table has @AutoIncrement primary key, it is a problem, which requires different solutions depending on the RDBMS involved.

(If you wonder why would a plugin want to restore its data when JIRA can do it, at least consider a feature similar to "Import Project" in JIRA.)

The problem is already solved in the AO in the *AroundImporter classes, with "before" and "after" methods, but the packages - com.atlassian.activeobjects.backup, com.atlassian.dbexporter, com.atlassian.dbexporter.importer are not exported and cannot be directly used by plugins.

While I'm not asking for a full API to do the restore operation by hand, but just including these packages in the OSGi exports, so we can depend on them directly. (Right now we have to go through the other plugin's ClassLoader.)

Environment

None

Testing Notes

Add notes...

Status

Assignee

Unassigned

Reporter

Igor Sereda [ALM Works]

Labels

None

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Story Points

0.25

Priority

Critical
Configure