Some crazy management guy at Unbelievable Genius Org (UGO) has decided that the sanest thing would be to reboot their platform / services part. Money is not an issue ;) .
So it was proclaimed that the services should be rewritten from scratch, with the software design and language of your choosing.
To get things going here are the first 3 business transaction that need to be reimplemented.
A Company contains:
- id
- name
- credit card number
When a new company is created the services validates the credit card number.
- only even credit card numbers are valid
When a new company is created we also need to create a Demo Cloud for that Company. Demo Clouds are virtual and only for testing and getting a feeling.
A Demo Cloud has:
- id
- owner
When a Companies credit card is valid a new Live Cloud for that Company is created.
- id
- owner
- This obviously aims to build a service oriented architecture ;).
- For the sake of practical implementation skip all validation and state storing except for the highly secure and correct credit card validation ;) .
- Some messaging and queue system would be lovely to see :) .
- Don't hesitate to use different processes for the different business transactions.