Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.showcase.synapse.delivery
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.delivery
Commits
90826b75
Commit
90826b75
authored
Sep 13, 2023
by
lemin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ccc
parent
cdb5f319
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/delivery/AxonConfig.java
+20
-0
MsaDeliveryApplication.java
...com/showcase/synapse/delivery/MsaDeliveryApplication.java
+2
-0
No files found.
src/main/java/com/showcase/synapse/delivery/AxonConfig.java
0 → 100644
View file @
90826b75
package
com
.
showcase
.
synapse
.
delivery
;
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/delivery/MsaDeliveryApplication.java
View file @
90826b75
...
...
@@ -2,8 +2,10 @@ package com.showcase.synapse.delivery;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.context.annotation.Import
;
@SpringBootApplication
@Import
({
AxonConfig
.
class
})
public
class
MsaDeliveryApplication
{
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