Michael Nygard
Michael Nygard
Create a new top-level module. Make a pedestal service called toy-store. It will be our "production" system for this example. Add lein aliases to the top level that will start...
We will need a way for the simulation to load its data into the production system. Instead of going directly through the database, this example will load it via an...
Create a new CLI command that instructs the simulation to load the data it needs into the production system. Implement that command by POSTing to the admin URLs of the...
Write the action for :action.type/purchase-confirm, in namespace simtest.actions.purchase-confirm. Must POST to /checkout-confirm. In this toy version of the target system, we are not doing a real checkout process. Instead we...
Write the action for :action.type/abandon-checkout, in namespace simtest.actions.abandon-checkout. Must simply record in the action log that the agent abandoned. As with a real system, users do not notify our app...
Write the action for :action.type/process-enter, in namespace simtest.actions.process-enter. Must record that the agent began the checkout process. Must also issue an HTTP POST to a URL representing checkout. For the...
Write action for :action.type/page-request (fetch of any page), in namespace simtest.actions.page-request. Must issue HTTP request to a URL determined by the :page/type on the action record. Must record the response...
Implement action for :action.type/start-session, in namespace simtest.actions.start-session. Should simply make a record in the action log.
Write the action for :action.type/abandon-session, in namespace simtest.actions.abandon-session. Must simply record the abandonment in the action log.
The step of "./bin/devenv install" is failing part way through. It leaves the vagrantbox without a valid running docker process. Looks like this might be a problem with recent Ubuntu...