aerogearcatalog / ios-app-apb

Apache License 2.0
2 stars 11 forks source link

before deleting the client we should do a get #4

Open maleck13 opened 6 years ago

maleck13 commented 6 years ago

It is possible for the client representation to be removed without invoking this APB, so we should be more defensive and perform a get client and check it is present before performing the delete, . If it is not present we can simply exit with an ok status

@JameelB ping WDYT ?

JameelB commented 6 years ago

@maleck13 I think this would be great. Is it also possible to ensure that all other configurations that might've been created or left over, like secrets, are removed?

maleck13 commented 6 years ago

The mobile client apbs don't create any additional resources. So I think it would be out of their scope to try and manage things that they hadn't created