Routines to populate MPG GrandSlam database.
application.properties
file in same directory (see below for details).java -jar grandslam-populator-batch-x.y.jar
File application.properties
(commented option are optional):
# MPG credentials
mpg.email = foo.bar@gmail.com
mpg.password = KXXXXXXXU
# Database connection
spring.datasource.url = jdbc:mysql://localhost:3306/db
spring.datasource.username = foo
spring.datasource.password = bar
# Only check MPG data to evaluate leagues/users includes/excludes.
# Use '--job.check.only=true' as command line parameter
#job.check.only = true
# Include/exclude leagues
#mpg.leagues.include = KX24XMUJ,KLGXSSUM
#mpg.leagues.exclude = LJT3FXDX
# Include/exclude users (MPG id) ; by default users intersection of leagues is used
#mpg.users.include = 955966
#mpg.users.exclude = 1570437,2237823
# Default logs
#logging.level.root=WARN
#logging.level.o.s.batch.core.job.SimpleStepHandler=INFO
#logging.level.org.blonding.mpg=INFO
# Temporary display all SQL queries
#spring.jpa.properties.hibernate.format_sql = true
#logging.level.org.hibernate.SQL = DEBUG
Prerequisite:
Execute:
mvn package
Release:
git reset --hard origin/main
git branch -m next-version
mvn -B clean release:clean release:prepare -Dusername=yourGitHubLogin -Dpassword=yourGitHubPasswordOrToken
After that, you would have to create pull-request from next-version
branch and rebase it on main
for next version development.