Comments (4)
@ignasi35 Not sure if you are pointing toward these https://github.com/lagom/online-auction-java/blob/master/user-api/src/main/java/com/example/auction/user/api/User.java#L17
from online-auction-java.
Hi @lakhina. This issue refers to the serialization engine behind the persistence layer.
Lagom uses two different serialization solutions: one for the service layer (API) and another one to exchange information between the nodes of the akka cluster (pubsub, akka-persistence, etc...).
This issue refers to the later.
Some back-story:
- Akka provided serializers for several well-known types in both scala and java. Unfortunately,
java.util.Optional
was not on that list originally. In order to implement a Lagom persistent entity where aState
could beOptional<MyBasketOrder>
(orOptional<PItem>
) a serializer for java'sOptional
was required. While it was not provided in Akka itself we developed our own for the online-auction app. Currently akka provides one so we should remove our custom serializer and let akka's pick up.
from online-auction-java.
@ignasi35 From my understanding at this point we have to replace usage of com.lightbend.lagom.serialization
with usage of serialization from akka.
Am I going wrong?
from online-auction-java.
@lakhina we have to make sure [JOptionalSerializer](https://github.com/lagom/online-auction-java/blob/b6bea26afad45461a43c437dfd8ea70e52d783a4/item-impl/src/main/java/com/example/serializer/JOptionalSerializer.java)
(and related code) is removed but the application still works. ;-)
from online-auction-java.
Related Issues (20)
- Logout causes (UI and logs) exception HOT 1
- event store uniqueness , saga ,optimistic ui updates HOT 1
- TransportException on home page HOT 2
- Nav controller initialization failure in Japan locale HOT 1
- InvalidQueryException: Cannot execute this query as it might involve data filtering and thus may have unpredictable performance. HOT 1
- sbt runAll raise errro Unknown CF HOT 1
- logback stacktrace (NPE) when running in devmode HOT 3
- Disable java serialization completely HOT 1
- Add integration tests on Bidding Service
- Add LO4K8s instructions (remove ConductR) HOT 1
- Upgrade Elasticsearch to 6.x
- Replace the deprecated JavaTestKit with current equivalent
- Search service api expects a request body for GET request
- Replace ReadSideTestDriver with testkit-provided
- Cleanup Service descriptor for SearchService
- Upgrade to Lagom 1.5 HOT 1
- Upgrade to JUnit 5
- Fine tune Kafka logger levels
- Setup mergify
- Setup probot-settings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from online-auction-java.