Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.showcase.synapse.product
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
com.showcase.synapse
com.showcase.synapse.product
Commits
9119debd
Commit
9119debd
authored
Sep 13, 2023
by
lemin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccc
parent
6c65b136
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
AxonConfig.java
src/main/java/com/showcase/synapse/product/AxonConfig.java
+20
-0
MsaProductApplication.java
...a/com/showcase/synapse/product/MsaProductApplication.java
+2
-0
No files found.
src/main/java/com/showcase/synapse/product/AxonConfig.java
0 → 100644
View file @
9119debd
package
com
.
showcase
.
synapse
.
product
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
com.thoughtworks.xstream.XStream
;
@Configuration
public
class
AxonConfig
{
@Bean
public
XStream
xStream
()
{
XStream
xStream
=
new
XStream
();
xStream
.
allowTypesByWildcard
(
new
String
[]
{
"com.showcase.synapse.**"
});
return
xStream
;
}
}
\ No newline at end of file
src/main/java/com/showcase/synapse/product/MsaProductApplication.java
View file @
9119debd
...
@@ -2,8 +2,10 @@ package com.showcase.synapse.product;
...
@@ -2,8 +2,10 @@ package com.showcase.synapse.product;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.context.annotation.Import
;
@SpringBootApplication
@SpringBootApplication
@Import
({
AxonConfig
.
class
})
public
class
MsaProductApplication
{
public
class
MsaProductApplication
{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment