Skip to content
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 Oracle DB support. #895

Merged

Conversation

larsbijl
Copy link
Contributor

Remove Oracle as we no longer plan to support it.

@larsbijl
Copy link
Contributor Author

@bcipriano I've had an initial pass at removing this. please feel free to use this branch it if there is a better way of removing it.

Copy link
Collaborator

@DiegoTavares DiegoTavares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, except that the tests seem to have failed.

@larsbijl
Copy link
Contributor Author

larsbijl commented Feb 6, 2021

Maybe someone with more java experience knows how to resolve this? @bcipriano @splhack ?

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cueDataSource' defined in class path resource [conf/spring/applicationContext-postgres-datasource.xml]: Cannot create inner bean 'util:property-path#6eb3da71' of type [org.springframework.beans.factory.config.PropertyPathFactoryBean] while setting bean property 'url'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'util:property-path#6eb3da71': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'url' of bean class [com.imageworks.spcue.test.TestDatabaseSetupPostgres]: Getter for property 'url' threw exception; nested exception is java.lang.reflect.InvocationTargetException```

@larsbijl larsbijl changed the title Remove Oracle DB support. WIP: Remove Oracle DB support. Feb 6, 2021
@splhack
Copy link
Contributor

splhack commented Feb 6, 2021

Still some settings and code have references to Oracle.
Also I think we need to remove Trackit references too, because it seems like relies on Oracle.
Here is the patch to remove those. ./gradlew test passed on macOS.
https://gist.github.com/splhack/a0fff658d1051d77431ad2b8f58e7e17

@larsbijl
Copy link
Contributor Author

larsbijl commented Feb 7, 2021

superstar! thanks @splhack

@larsbijl larsbijl force-pushed the 8400-remove-oracle-db branch 2 times, most recently from 285134b to 64e4c9b Compare February 7, 2021 12:48
@larsbijl larsbijl mentioned this pull request Feb 7, 2021
@larsbijl larsbijl linked an issue Feb 7, 2021 that may be closed by this pull request
Copy link
Collaborator

@bcipriano bcipriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we can also remove the cuebot/tns/ directory, this is storing some Oracle config.

I'm seeing some unrelated changes in the diff here, possible this just needs a merge from master?

@larsbijl
Copy link
Contributor Author

Rebased this properly this time (i hope)

@larsbijl larsbijl changed the title WIP: Remove Oracle DB support. Remove Oracle DB support. Mar 6, 2021
@splhack splhack mentioned this pull request Mar 29, 2021
Copy link
Collaborator

@bcipriano bcipriano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Sorry for taking so long. Will just need one more rebase then we can merge.

@larsbijl larsbijl merged commit 49bdf56 into AcademySoftwareFoundation:master Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop Oracle DB support
4 participants