Move com.wbrawner.budgetserver to com.wbrawner.twigs.server

This commit is contained in:
William Brawner 2021-07-05 19:07:19 -06:00
parent ab73dfcc76
commit 00ffbbe303
30 changed files with 31 additions and 31 deletions

View file

@ -32,7 +32,7 @@ dependencies {
description = "twigs-server" description = "twigs-server"
val twigsMain = "com.wbrawner.budgetserver.TwigsServerApplication" val twigsMain = "com.wbrawner.twigs.server.TwigsServerApplication"
tasks.bootJar { tasks.bootJar {
mainClassName = twigsMain mainClassName = twigsMain

View file

@ -1,3 +1,3 @@
package com.wbrawner.budgetserver package com.wbrawner.twigs.server
data class ErrorResponse(val message: String) data class ErrorResponse(val message: String)

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver package com.wbrawner.twigs.server
import org.springframework.boot.SpringApplication import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.boot.autoconfigure.SpringBootApplication
@ -13,4 +13,4 @@ open class TwigsServerApplication {
SpringApplication.run(TwigsServerApplication::class.java, *args) SpringApplication.run(TwigsServerApplication::class.java, *args)
} }
} }
} }

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver package com.wbrawner.twigs.server
import com.wbrawner.budgetserver.budget.Budget import com.wbrawner.budgetserver.budget.Budget
import com.wbrawner.budgetserver.permission.Permission import com.wbrawner.budgetserver.permission.Permission

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.budget package com.wbrawner.twigs.server.budget
import com.wbrawner.budgetserver.category.Category import com.wbrawner.budgetserver.category.Category
import com.wbrawner.budgetserver.permission.UserPermission import com.wbrawner.budgetserver.permission.UserPermission

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.budget package com.wbrawner.twigs.server.budget
import com.wbrawner.budgetserver.currentUser import com.wbrawner.budgetserver.currentUser
import com.wbrawner.budgetserver.permission.Permission import com.wbrawner.budgetserver.permission.Permission

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.budget package com.wbrawner.twigs.server.budget
import org.springframework.data.repository.PagingAndSortingRepository import org.springframework.data.repository.PagingAndSortingRepository

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.category package com.wbrawner.twigs.server.category
import com.wbrawner.budgetserver.budget.Budget import com.wbrawner.budgetserver.budget.Budget
import com.wbrawner.budgetserver.randomString import com.wbrawner.budgetserver.randomString

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.category package com.wbrawner.twigs.server.category
import com.wbrawner.budgetserver.ErrorResponse import com.wbrawner.budgetserver.ErrorResponse
import com.wbrawner.budgetserver.currentUser import com.wbrawner.budgetserver.currentUser

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.category package com.wbrawner.twigs.server.category
import com.wbrawner.budgetserver.budget.Budget import com.wbrawner.budgetserver.budget.Budget
import org.springframework.data.domain.Pageable import org.springframework.data.domain.Pageable

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.config package com.wbrawner.twigs.server.config
import com.wbrawner.budgetserver.user.UserRepository import com.wbrawner.budgetserver.user.UserRepository
import org.springframework.beans.factory.annotation.Autowired import org.springframework.beans.factory.annotation.Autowired

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.config package com.wbrawner.twigs.server.config
import org.springframework.context.annotation.Configuration import org.springframework.context.annotation.Configuration
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.config package com.wbrawner.twigs.server.config
import com.wbrawner.budgetserver.passwordresetrequest.PasswordResetRequestRepository import com.wbrawner.budgetserver.passwordresetrequest.PasswordResetRequestRepository
import com.wbrawner.budgetserver.session.UserSessionRepository import com.wbrawner.budgetserver.session.UserSessionRepository

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.config package com.wbrawner.twigs.server.config
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken import org.springframework.security.authentication.UsernamePasswordAuthenticationToken
import org.springframework.security.core.GrantedAuthority import org.springframework.security.core.GrantedAuthority

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.config package com.wbrawner.twigs.server.config
import org.springframework.security.core.AuthenticationException import org.springframework.security.core.AuthenticationException
import org.springframework.security.web.AuthenticationEntryPoint import org.springframework.security.web.AuthenticationEntryPoint

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.config package com.wbrawner.twigs.server.config
import org.springframework.security.authentication.AuthenticationManager import org.springframework.security.authentication.AuthenticationManager
import org.springframework.security.core.context.SecurityContextHolder import org.springframework.security.core.context.SecurityContextHolder

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.config package com.wbrawner.twigs.server.config
import com.wbrawner.budgetserver.session.UserSessionRepository import com.wbrawner.budgetserver.session.UserSessionRepository
import com.wbrawner.budgetserver.twoWeeksFromNow import com.wbrawner.budgetserver.twoWeeksFromNow

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.passwordresetrequest package com.wbrawner.twigs.server.passwordresetrequest
import com.wbrawner.budgetserver.randomString import com.wbrawner.budgetserver.randomString
import com.wbrawner.budgetserver.user.User import com.wbrawner.budgetserver.user.User

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.passwordresetrequest package com.wbrawner.twigs.server.passwordresetrequest
import org.springframework.data.repository.PagingAndSortingRepository import org.springframework.data.repository.PagingAndSortingRepository

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.permission package com.wbrawner.twigs.server.permission
import com.wbrawner.budgetserver.budget.Budget import com.wbrawner.budgetserver.budget.Budget
import com.wbrawner.budgetserver.user.User import com.wbrawner.budgetserver.user.User

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.permission package com.wbrawner.twigs.server.permission
import com.wbrawner.budgetserver.budget.Budget import com.wbrawner.budgetserver.budget.Budget
import com.wbrawner.budgetserver.user.User import com.wbrawner.budgetserver.user.User

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.session package com.wbrawner.twigs.server.session
import com.wbrawner.budgetserver.randomString import com.wbrawner.budgetserver.randomString
import com.wbrawner.budgetserver.twoWeeksFromNow import com.wbrawner.budgetserver.twoWeeksFromNow

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.session package com.wbrawner.twigs.server.session
import org.springframework.beans.factory.annotation.Autowired import org.springframework.beans.factory.annotation.Autowired
import org.springframework.scheduling.annotation.Scheduled import org.springframework.scheduling.annotation.Scheduled

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.session package com.wbrawner.twigs.server.session
import org.springframework.data.repository.PagingAndSortingRepository import org.springframework.data.repository.PagingAndSortingRepository
import java.util.* import java.util.*

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.transaction package com.wbrawner.twigs.server.transaction
import com.wbrawner.budgetserver.budget.Budget import com.wbrawner.budgetserver.budget.Budget
import com.wbrawner.budgetserver.category.Category import com.wbrawner.budgetserver.category.Category

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.transaction package com.wbrawner.twigs.server.transaction
import com.wbrawner.budgetserver.ErrorResponse import com.wbrawner.budgetserver.ErrorResponse
import com.wbrawner.budgetserver.category.Category import com.wbrawner.budgetserver.category.Category

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.transaction package com.wbrawner.twigs.server.transaction
import com.wbrawner.budgetserver.budget.Budget import com.wbrawner.budgetserver.budget.Budget
import com.wbrawner.budgetserver.category.Category import com.wbrawner.budgetserver.category.Category

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.user package com.wbrawner.twigs.server.user
import com.wbrawner.budgetserver.randomString import com.wbrawner.budgetserver.randomString
import org.springframework.security.core.GrantedAuthority import org.springframework.security.core.GrantedAuthority

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.user package com.wbrawner.twigs.server.user
import com.wbrawner.budgetserver.ErrorResponse import com.wbrawner.budgetserver.ErrorResponse
import com.wbrawner.budgetserver.budget.BudgetRepository import com.wbrawner.budgetserver.budget.BudgetRepository

View file

@ -1,4 +1,4 @@
package com.wbrawner.budgetserver.user package com.wbrawner.twigs.server.user
import org.springframework.data.repository.PagingAndSortingRepository import org.springframework.data.repository.PagingAndSortingRepository
import java.util.* import java.util.*