Skip to content

Upgrade Spring boot to 2.0.2.RELEASE and spring security to 2.3.3.RELEASE#8

Open
danapsimer wants to merge 6 commits into
Mert-Z:masterfrom
danapsimer:master
Open

Upgrade Spring boot to 2.0.2.RELEASE and spring security to 2.3.3.RELEASE#8
danapsimer wants to merge 6 commits into
Mert-Z:masterfrom
danapsimer:master

Conversation

@danapsimer

Copy link
Copy Markdown

Upgrading to the latest spring boot and latest spring security brings with it significant changes to spring-data-cassandra. This PR represents changes to keep the implementation largely the same while accommodating the changes in API.

Comment thread .gitignore
nbbuild/
dist/
nbdist/
.nb-gradle/ No newline at end of file

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

newline please.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This will be automatically fixed for you when you do a git pull.

Comment thread settings.gradle
@@ -0,0 +1 @@
rootProject.name = 'spring-oauth2-cassandra-token-store' No newline at end of file

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

newline please

@Override
public SchemaAction getSchemaAction() {
return SchemaAction.CREATE_IF_NOT_EXISTS;
return SchemaAction.RECREATE;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This can be problematic for a rolling upgrade. Shouldn't we keep the existing tokens in the DB since we are not altering DB schema?

@Mert-Z Mert-Z left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

nice wrap up 👍

@Mert-Z Mert-Z mentioned this pull request Sep 27, 2018
@Mert-Z

Mert-Z commented Sep 27, 2018

Copy link
Copy Markdown
Owner

Just a side note; it would also be nice to use new Cassandra 3.x materialised views instead of data duplication. That will avoid so many inserts on multiple tables and decrease the risk of having stale/unsync data between tables. On the other hand this will require migration of existing data to the new schema which can be costly. Can be done in a future story may be. :)

Comment thread build.gradle
apply plugin: 'maven'

version = '0.0.1-SNAPSHOT'
group = 'mertz.security'

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

group = 'com.github.mert-z'
This will be automatically fixed for you when you do a git pull.

@Mert-Z

Mert-Z commented Oct 25, 2018 via email

Copy link
Copy Markdown
Owner

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.

2 participants