++ changes

This commit is contained in:
Nico Schottelius 2019-01-20 17:32:48 +01:00
parent fea145cf37
commit c92dd70632

View file

@ -25,9 +25,15 @@
# - infra.ungleich.ch checks that user has >= 1 ssh keys registered, otherwise gives error message # - infra.ungleich.ch checks that user has >= 1 ssh keys registered, otherwise gives error message
# - infra.ungleich.ch then connects to pay.ungleich.ch verifying that the user can "afford" the VM / books it # - infra.ungleich.ch then connects to pay.ungleich.ch verifying that the user can "afford" the VM / books it
# infra passes (user, product, productvariant) # infra passes (user, product, productvariant)
# --> infra needs to be able to derive a product from the parameters! # --> infra needs to be able to derive a product from the parameters to pass to pay.ungleich.ch
# --> if user is not able to afford, return error to the user # --> if user is not able to afford, return error to the user
# - # - pay.ungleich.ch stores the order / subscription (depending on the type)
# - Variant a)
# - infra.ungleich.ch returns { OK + ticket number }
# - client can poll / get the status of the VM on infra.ungleich.ch
# - Meanwhile infra.ungleich.ch then creates the VM/configures the VM/ensures the ssh key(s) are added
# - Variant b)
# - infra.ungleich.ch then creates the VM/configures the VM/ensures the ssh key(s) are added
# #
# #
# #