Microservices - Migration from Monolith
Consider this migration plan code snippet:
What will be the output if
services = ['auth', 'payment', 'order']
migrated = []
for s in services:
migrate_service(s)
migrated.append(s)
if not test_service(s):
rollback_service(s)
break
print(migrated)What will be the output if
test_service('payment') returns False?