Skip to content

Inconsistent naming #3

@Sufyaan-Kazi

Description

@Sufyaan-Kazi

As discussed, I tried to automate deployment using scripts but web-ui trips up the script.

I have a file called “microservices.list” and using the values in here many scripts can avoid duplication in the scripts (create/delete)
e.g. buildAndDeploy reads the list, finds entry "Accounts-service”, this helps the script find the right folder to execute build and cf push, the resulting app in PCF is called “accounts". However, this trips up the delete script ... but thats fine, I just put in logic to remove the word “-service” when it loops through the same list finding apps to delete.

BUT then you have folder “web-ui” which creates an app called webtrader and never has the word “service" so both build and delete script fall over.

i don't want the script to drive future naming of microservices, so happy to think of another way .....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions