Index: APPS/EC/impl/ExterneVerkoopService/OfferteBesteller.cls.xml
===================================================================
diff -u -r50940 -r50952
--- APPS/EC/impl/ExterneVerkoopService/OfferteBesteller.cls.xml (.../OfferteBesteller.cls.xml) (revision 50940)
+++ APPS/EC/impl/ExterneVerkoopService/OfferteBesteller.cls.xml (.../OfferteBesteller.cls.xml) (revision 50952)
@@ -23,8 +23,13 @@
1
+
+TECH.PubSub.PubSubAPI
+1
+
+
-OfferteService:APPS.VKP.OfferteService="",KlantInstellingenService:APPS.common.impl.KlantInstellingenService="",OfferteVoorBestellingValidator:APPS.EC.Verkoop.impl.OfferteVoorBestellingValidator="",WinkelkarControleur:APPS.EC.Winkelkar.WinkelkarControleur="",BestelStatusUpdater:APPS.VKP.Offerte.BestelStatusUpdater=""
+OfferteService:APPS.VKP.OfferteService="",KlantInstellingenService:APPS.common.impl.KlantInstellingenService="",OfferteVoorBestellingValidator:APPS.EC.Verkoop.impl.OfferteVoorBestellingValidator="",WinkelkarControleur:APPS.EC.Winkelkar.WinkelkarControleur="",BestelStatusUpdater:APPS.VKP.Offerte.BestelStatusUpdater="",PubSubApi:TECH.PubSub.PubSubAPI=""
1
1
%Status
@@ -34,6 +39,7 @@
Set ..OfferteVoorBestellingValidator = $$$Inject(OfferteVoorBestellingValidator, ##class(APPS.EC.Verkoop.impl.OfferteVoorBestellingValidator).%New())
Set ..WinkelkarControleur = $$$Inject(WinkelkarControleur, ##class(APPS.EC.Winkelkar.impl.WinkelkarControleur).%New(KlantInstellingenService))
Set ..BestelStatusUpdater = $$$Inject(BestelStatusUpdater, ..OfferteService.GeefBestelStatusUpdater())
+ Set ..PubSubApi = $$$Inject(PubSubApi, ##class(TECH.PubSub.impl.PubSubAPI).%New())
Quit $$$OK
]]>
@@ -44,26 +50,24 @@
Index: APPS/EC/Verkoop/impl/OfferteVoorBestellingValidator.cls.xml
===================================================================
diff -u -r50940 -r50952
--- APPS/EC/Verkoop/impl/OfferteVoorBestellingValidator.cls.xml (.../OfferteVoorBestellingValidator.cls.xml) (revision 50940)
+++ APPS/EC/Verkoop/impl/OfferteVoorBestellingValidator.cls.xml (.../OfferteVoorBestellingValidator.cls.xml) (revision 50952)
@@ -38,15 +38,21 @@
1
+
+DOM.common.CommonAPI
+1
+
+
-WinkelkarService:APPS.EC.Winkelkar.WinkelkarService="",CheckoutTypeBepaler:APPS.EC.impl.ConfiguratorService.CheckoutTypeBepaler=""
+WinkelkarService:APPS.EC.Winkelkar.WinkelkarService="",CheckoutTypeBepaler:APPS.EC.impl.ConfiguratorService.CheckoutTypeBepaler="",CommonApi:DOM.common.CommonAPI=""
1
1
%Status
1
@@ -61,7 +67,7 @@
Set ..PersonalityID = PersonalityID
Set ..Meldingen = ##class(%ListOfObjects).%New()
- #dim Personality AS DOM.common.Personality = ##class(DOM.DomeinContext).Instance().GeefCommonAPI().GeefPersonality(PersonalityID)
+ #dim Personality AS DOM.common.Personality = ..CommonApi.GeefPersonality(PersonalityID)
Do Personality.Accept($this)
Quit (..Meldingen.Count() = 0)
Index: vhUnitTest/APPS/EC/impl/ExterneVerkoopService/OfferteBesteller/Test.cls.xml
===================================================================
diff -u -r50940 -r50952
--- vhUnitTest/APPS/EC/impl/ExterneVerkoopService/OfferteBesteller/Test.cls.xml (.../Test.cls.xml) (revision 50940)
+++ vhUnitTest/APPS/EC/impl/ExterneVerkoopService/OfferteBesteller/Test.cls.xml (.../Test.cls.xml) (revision 50952)
@@ -3,55 +3,79 @@
vhUnitTest.TestCase
-
-aTestName:%String
-
-
-
-
+