Move com.wbrawner.budgetserver to com.wbrawner.twigs.server
This commit is contained in:
parent
ab73dfcc76
commit
00ffbbe303
30 changed files with 31 additions and 31 deletions
|
@ -32,7 +32,7 @@ dependencies {
|
|||
|
||||
description = "twigs-server"
|
||||
|
||||
val twigsMain = "com.wbrawner.budgetserver.TwigsServerApplication"
|
||||
val twigsMain = "com.wbrawner.twigs.server.TwigsServerApplication"
|
||||
|
||||
tasks.bootJar {
|
||||
mainClassName = twigsMain
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
package com.wbrawner.budgetserver
|
||||
package com.wbrawner.twigs.server
|
||||
|
||||
data class ErrorResponse(val message: String)
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver
|
||||
package com.wbrawner.twigs.server
|
||||
|
||||
import org.springframework.boot.SpringApplication
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
|
@ -13,4 +13,4 @@ open class TwigsServerApplication {
|
|||
SpringApplication.run(TwigsServerApplication::class.java, *args)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver
|
||||
package com.wbrawner.twigs.server
|
||||
|
||||
import com.wbrawner.budgetserver.budget.Budget
|
||||
import com.wbrawner.budgetserver.permission.Permission
|
|
@ -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.permission.UserPermission
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.budget
|
||||
package com.wbrawner.twigs.server.budget
|
||||
|
||||
import com.wbrawner.budgetserver.currentUser
|
||||
import com.wbrawner.budgetserver.permission.Permission
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.budget
|
||||
package com.wbrawner.twigs.server.budget
|
||||
|
||||
import org.springframework.data.repository.PagingAndSortingRepository
|
||||
|
|
@ -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.randomString
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.category
|
||||
package com.wbrawner.twigs.server.category
|
||||
|
||||
import com.wbrawner.budgetserver.ErrorResponse
|
||||
import com.wbrawner.budgetserver.currentUser
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.category
|
||||
package com.wbrawner.twigs.server.category
|
||||
|
||||
import com.wbrawner.budgetserver.budget.Budget
|
||||
import org.springframework.data.domain.Pageable
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.config
|
||||
package com.wbrawner.twigs.server.config
|
||||
|
||||
import com.wbrawner.budgetserver.user.UserRepository
|
||||
import org.springframework.beans.factory.annotation.Autowired
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.config
|
||||
package com.wbrawner.twigs.server.config
|
||||
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity
|
|
@ -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.session.UserSessionRepository
|
|
@ -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.core.GrantedAuthority
|
|
@ -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.web.AuthenticationEntryPoint
|
|
@ -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.core.context.SecurityContextHolder
|
|
@ -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.twoWeeksFromNow
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.passwordresetrequest
|
||||
package com.wbrawner.twigs.server.passwordresetrequest
|
||||
|
||||
import com.wbrawner.budgetserver.randomString
|
||||
import com.wbrawner.budgetserver.user.User
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.passwordresetrequest
|
||||
package com.wbrawner.twigs.server.passwordresetrequest
|
||||
|
||||
import org.springframework.data.repository.PagingAndSortingRepository
|
||||
|
|
@ -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.user.User
|
|
@ -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.user.User
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.session
|
||||
package com.wbrawner.twigs.server.session
|
||||
|
||||
import com.wbrawner.budgetserver.randomString
|
||||
import com.wbrawner.budgetserver.twoWeeksFromNow
|
|
@ -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.scheduling.annotation.Scheduled
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.session
|
||||
package com.wbrawner.twigs.server.session
|
||||
|
||||
import org.springframework.data.repository.PagingAndSortingRepository
|
||||
import java.util.*
|
|
@ -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.category.Category
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.transaction
|
||||
package com.wbrawner.twigs.server.transaction
|
||||
|
||||
import com.wbrawner.budgetserver.ErrorResponse
|
||||
import com.wbrawner.budgetserver.category.Category
|
|
@ -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.category.Category
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.user
|
||||
package com.wbrawner.twigs.server.user
|
||||
|
||||
import com.wbrawner.budgetserver.randomString
|
||||
import org.springframework.security.core.GrantedAuthority
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.user
|
||||
package com.wbrawner.twigs.server.user
|
||||
|
||||
import com.wbrawner.budgetserver.ErrorResponse
|
||||
import com.wbrawner.budgetserver.budget.BudgetRepository
|
|
@ -1,4 +1,4 @@
|
|||
package com.wbrawner.budgetserver.user
|
||||
package com.wbrawner.twigs.server.user
|
||||
|
||||
import org.springframework.data.repository.PagingAndSortingRepository
|
||||
import java.util.*
|
Loading…
Reference in a new issue