Commit Graph
98 Commits
Author SHA1 Message Date
Tu Tran 8846f6f8bb bug5260: Fix to fetch Chargebee configration with GWT RPC, add howto wiki for Chargebee configuration 2021-02-05 10:36:52 +07:00
Tu Tran 3dbd84aaeb bug5260: improve and fix SubscriptionApiRequestProcessorImpl process logic 2021-01-28 11:02:06 +07:00
Tu Tran aeb1e271a2 bug5260: synchronizing access to the queue and the processing flag, improve method names, refactor and improve Chargebee*Request classes 2021-01-21 10:45:12 +07:00
Tu Tran 95933240a0 Merge branch 'master' into bug5260 2021-01-20 10:09:04 +07:00
Tu Tran 48895830aa Merge branch 'master' into bug5260 2021-01-15 10:52:30 +07:00
Tu Tran d314db7a34 bug5260: Fix bugs, and improve comments 2021-01-15 10:51:34 +07:00
Tu Tran 7664aa0c18 Merge branch 'bug5260' of ssh://sapsailing.com/home/trac/git into bug5260 2021-01-14 18:17:47 +07:00
Tu Tran 17ae9e1ce0 bug5260: Refactor to use queue for subscription api requests 2021-01-14 18:17:15 +07:00
Tu Tran 4e789aee43 Merge branch 'master' into bug5260 2021-01-12 17:08:17 +07:00
Tu Tran 974f858674 Merge branch 'master' into bug5260 2021-01-05 11:11:43 +07:00
Tu Tran 59b084015a bug5260: Update subscription api service to use callback param instead of Future to prevent thread blocked 2021-01-05 11:10:28 +07:00
Tu Tran 316e06348b bug5260: Refactor and improve logic of fetching and updating user subscriptions in background 2020-12-28 18:12:26 +07:00
Tu Tran e1044bccff bug5260: fix issue with no Chargebee service configuration found on startup, introduce api service isActive method 2020-12-20 11:42:25 +07:00
Tu Tran 6af7cc03d5 Revert "bug5260: disable subscription background task in case no Chargebee configuration found"
This reverts commit 5f21a88d6a.
2020-12-20 10:52:45 +07:00
Tu Tran 5f21a88d6a bug5260: disable subscription background task in case no Chargebee configuration found 2020-12-20 10:46:58 +07:00
Tu Tran 21da17899c bug5260: turn com.sap.sailing.gwt.home.shared.ExperimentalFeatures class into interface 2020-12-18 09:57:08 +07:00
Tu Tran 0d6282c0be Merge branch 'master' into bug5260 2020-12-17 11:06:58 +07:00
Tu Tran 0685ad870a bug5260: Hide subscription tab in user profile by default 2020-12-17 10:50:30 +07:00
Tu Tran d6625dbeeb Merge master 2020-12-10 11:40:51 +07:00
Tu Tran f3e1f6405c bug5260: Refactor GWT subscription service to split into 2 services, one for read and one for write operations 2020-12-07 16:56:54 +07:00
Tu Tran d1aaccd3ad bug5260: move SubscriptionData and SubscriptionDataHandler into com.sap.sse.security, rename BaseSubscriptionServiceImpl -> SubscriptionServiceImpl 2020-12-06 16:27:19 +07:00
Tu Tran 734a9eff62 merge master 2020-12-03 11:16:34 +07:00
Tu Tran 49308a0577 bug5260: Refactor ChargebeeSubscriptionServiceImpl 2020-11-27 14:45:43 +07:00
Tu Tran fe29839e70 Merge branch 'master' into bug5260 2020-11-27 14:17:36 +07:00
Tu Tran ef5df52d8b bug5260: Improve cancelling subscription logic 2020-11-26 16:21:25 +07:00
Tu Tran c8bda78050 bug5260: fix cancel subscription 2020-11-24 09:34:24 +07:00
Tu Tran 1b4ad3471e bug5260: add schedule background task for fetching and updating user subscriptions 2020-11-21 17:36:32 +07:00
Tu Tran 3f5c3ef8e2 bug5260: Refactor to move subscription api services into com.sap.sse.security 2020-11-17 17:26:34 +07:00
Tu Tran 43a4822abe bug5260: Add background schedule task to perform updating user subscriptions 2020-11-12 17:47:45 +07:00
Tu Tran 1cc651ce36 Merge branch 'master' into bug5260 2020-11-11 11:13:07 +07:00
Tu Tran aa4c3f80a7 Merge branch 'bug5260' of ssh://sapsailing.com/home/trac/git into bug5260 2020-11-06 10:19:50 +07:00
Tu Tran babdc9ef33 bug5260: Fix null exception on UserImpl.getSubscriptions 2020-11-06 10:19:20 +07:00
Tu Tran 659bf7dccd bug5260: fix return type for User.getSubscriptions(), and check for new subscription active in SecurityServiceImpl.updateRolesOnSubscriptionChange 2020-11-04 16:34:35 +07:00
Tu Tran da1bb1a791 Merge branch 'master' into bug5260 2020-11-04 11:29:16 +07:00
Tu Tran b8513e8c04 Merge branch 'master' into bug5260 2020-10-29 14:33:29 +07:00
Tu Tran 70ab155f54 bug5260: improve shouldUpdateUserRolesForSubscription, implement logic for checking overlapping roles on removing premium roles 2020-10-28 17:21:24 +07:00
Tu Tran a0ffff2343 bug5260: Fix Chargebee.js has been already initialized warning 2020-10-27 16:49:33 +07:00
Tu Tran 322ab669b6 bug5260: add persistence layer for subscription 2020-10-23 17:23:54 +07:00
Tu Tran 1176108c4f Merge branch 'master' into bug5260 2020-10-08 10:24:44 +07:00
Tu Tran 7eacf12948 Merge branch 'master' into bug5260 2020-10-07 10:56:48 +07:00
Tu Tran a75deb3b65 Payment: Refactor and Improve subscription abstraction layers 2020-10-07 10:55:26 +07:00
Tu Tran e1625ef1cb Merge branch 'master' into bug5260 2020-10-05 09:47:43 +07:00
Tu Tran 95cd14a711 Payment: Refactor and improve abstract layer for backend implementation 2020-09-30 17:28:26 +07:00
Tu Tran 2a11f25ce2 Payment: merge master 2020-09-30 09:15:25 +07:00
Tu Tran 6cbd40ddac Payment: Fix subscription service backend config 2020-09-30 09:11:15 +07:00
Tu Tran 9b970136ce Payment: Refactor to improve abstraction layer on payment frontend services 2020-09-23 17:54:20 +07:00
Tu Tran 034bd34147 Payment: Merge changes from master 2020-09-22 14:27:01 +07:00
Tu Tran d3a225268e Payment: Fix logging info, fix comments, improve webhook json plain string attribute with contants 2020-09-22 12:02:08 +07:00
Tu Tran 7199d55ed0 Merge branch 'master' into bug5260 2020-09-17 15:44:07 +07:00
Tu Tran 606dbd806e Merge branch 'bug5260' of ssh://sapsailing.com/home/trac/git into bug5260 2020-09-16 17:29:42 +07:00
Tu Tran 39808b5b70 Payment: Change Subscription timestamps long type into TimePoint 2020-09-16 17:29:11 +07:00
Tu Tran 68fce9bcb5 Merge branch 'master' into bug5260 2020-09-15 11:05:46 +07:00
Tu Tran 7bb4859017 Payment: fix missing method for UserProxy 2020-09-01 11:27:21 +07:00
Tu Tran b0617fc8db Merge branch 'master' into bug5260 2020-09-01 10:06:26 +07:00
Tu Tran b8062a059d Payment: Fix bugs on handling webhook events, add logs 2020-09-01 10:04:19 +07:00
Tu Tran 2b70ba99bf Payment: Fix bugs on handling webhook events, add logs 2020-08-31 17:24:13 +07:00
Tu Tran 9bc12a2747 Merge branch 'master' into bug5260 2020-08-31 10:22:03 +07:00
Tu Tran afcd3c1d02 Payment: Handle subscription paused and resumed 2020-08-27 16:10:28 +07:00
Tu Tran 4a40228176 Payment: Update webhook handler and subscription model data structure to handle invoice and refund event types 2020-08-25 16:52:25 +07:00
Tu Tran f4c7d701ed Merge branch 'master' into bug5260 2020-08-24 10:08:48 +07:00
Tu Tran 1a201899f5 Merge branch 'master' into bug5260 2020-08-20 17:15:51 +07:00
Tu Tran 77c0ab9cf1 Payment: Fix subscription user roles assignment logic 2020-08-20 17:10:56 +07:00
Tu Tran ccda7d243e Payment: merge master 2020-07-30 17:20:17 +07:00
Tu Tran 571e90910d Merge branch 'master' into bug5260 2020-07-30 11:01:24 +07:00
Tu Tran 0a05e72c0a Payment: merge master 2020-07-29 16:00:03 +07:00
Tu Tran 8554299091 Payment: Fix user subscription plan roles assignment 2020-07-29 11:49:32 +07:00
Tu Tran 436c90eba8 Payment: Refactor and update to support multiple subscriptions for a user at a time 2020-07-28 18:12:09 +07:00
Tu Tran bad67dd2fe Payment: Update Chargebee webhook handler 2020-07-16 17:21:42 +07:00
Tu Tran d8143b71fe Merge branch 'master' into bug5260 2020-07-16 14:48:21 +07:00
Tu Tran d33b1f56ba Payment: Fix assign role with qualification for subscribed user 2020-07-15 17:52:57 +07:00
Tu Tran 2340d51bbe Payment: Refactor webhook authentication, and add permission verifying filter 2020-07-14 18:23:23 +07:00
Tu Tran 04a6fd184c Payment: Fix wrong path name after refactoring 2020-07-13 18:08:25 +07:00
Tu Tran f3d8c07523 Payment: Merge master 2020-07-09 17:25:26 +07:00
Tu Tran 670dbe0e93 Payment: refactoring code as feedbacks 2020-07-09 16:55:33 +07:00
Tu Tran aa108de21f Merge master 2020-06-17 17:10:01 +07:00
Tu Tran 803c5edddb Payment: remove unnecessary import 2020-05-29 14:35:41 +07:00
Tu Tran ba000a0dd9 Merge branch 'master' into bug5260 2020-05-29 10:16:58 +07:00
Tu Tran c28eb86da6 Payment: Refactor and fix code format 2020-05-29 10:15:05 +07:00
Tu Tran 61edb7b2f4 Payment: Gain roles for subscribed user 2020-05-25 17:56:11 +07:00
Tu Tran 0cc7385f2b Payment: Update code formatting, code comments 2020-05-22 18:00:57 +07:00
Tu Tran 7b00a14e50 Payment: reset SailingServer OSX launch arguments changes 2020-05-22 16:44:11 +07:00
Tu Tran 7e8f71d58d Payment: Fix code formatting 2020-05-22 16:36:27 +07:00
Tu Tran 5006fa1b88 Payment: Refactor code 2020-05-22 11:46:13 +07:00
Tu Tran b1120fa31b Payment: Refactor to remove unnecesary getJsonValue method 2020-05-21 17:12:11 +07:00
Tu Tran 233330b269 Merge branch 'master' into bug5260 2020-05-21 17:04:37 +07:00
Tu Tran 9b439686a1 Payment: Refactor code, add Shiro basic authentication filter for webhooks 2020-05-21 17:02:56 +07:00
Tu Tran 655756e3b9 Payment: Update code comments, refactor webhook event class, refactor webhook basic auth handler 2020-05-21 11:52:43 +07:00
Tu Tran 844b445bd8 Payment: merge master 2020-05-19 14:36:35 +07:00
Tu Tran 5ae0f226d1 Payment: add comments, format the code 2020-05-19 11:26:17 +07:00
Tu Tran 440f584ddf Payment: add comments to code 2020-05-18 18:02:51 +07:00
Tu Tran 4fd2410f52 Payment: fix webhooks handling with event time 2020-05-14 11:51:33 +07:00
Tu Tran 646d986e3f Payment: fix subscription status displayed text 2020-05-13 11:56:36 +07:00
Tu Tran 0bff29e211 Payment: Add Starter plan to demonstrate changing subscritption plan for customer 2020-05-13 11:35:19 +07:00
Tu Tran 805641c28a Payment: add webhook endpoint security: http basic auth verification 2020-05-12 17:52:30 +07:00
Tu Tran a00fecc847 Payment: allow opening user subscription portal 2020-05-11 11:11:23 +07:00
Tu Tran a18a12c2e7 Add handlers for cancelling subscription 2020-05-10 16:03:27 +07:00
Tu Tran 8b131c30f2 Payment: handle chargebee webhooks, update UI with subscription data 2020-05-07 18:26:55 +07:00
Tu Tran fb176e2b64 Show payment checkout popup on frontend. Add checkout RPC handlers 2020-05-05 18:00:11 +07:00