Code Monkey home page Code Monkey logo

Comments (6)

stevemar avatar stevemar commented on May 19, 2024 1

We've done that before in some apps, like https://github.com/IBM/watson-discovery-news/blob/master/manifest.yml#L13 so yah, go ahead and submit a PR if you'd like

from watson-banking-chatbot.

markstur avatar markstur commented on May 19, 2024 1

yes, please set it to false. The timestamp should be unique enough. The random route was only needed when the host name was specified in the manifest. It looks like that part was already fixed.

from watson-banking-chatbot.

sauravraiguru avatar sauravraiguru commented on May 19, 2024

If we make it false, the 1st deployment will work, but post that all deployments you need to put in your own app-name to make it unique.

  • I suppose we should keep it as it is, it fails only sometimes when there is an exact conflict in datetime() while deploying, else the developer can always change the route name before 'deploy' in toolchain.

from watson-banking-chatbot.

RiyaMRoy04 avatar RiyaMRoy04 commented on May 19, 2024

@sauravraiguru Thanks for the suggestion. But have been facing this issue due to "long hostname with random words" while random route is enabled(as shown in screenshot below). There is a character limit for hostname due to which deployment fails at first attempt most of the times! When random route is set to false it just picks up timestamp and host name will be much shorter and still unique!
picture1

And you can't change "route name" before 'deploy' in toolchain when the random route is enabled.You can only change APP NAME. It still picks up the random route(shown in the screenshot below). Telling a developer to change the "APP NAME" is a workaround but again a manual process! Hence, had suggested it!
screen shot 2017-10-06 at 7 09 58 pm

Thanks @stevemart I think we should set it to false since sometimes it is just failing to deploy in the first attempt itself.

from watson-banking-chatbot.

sauravraiguru avatar sauravraiguru commented on May 19, 2024

@RiyaMRoy04 Thanks for the information! I did try it a few times & it did not fail, but anyway timestamp is best way to keep the APP_NAME unique. As suggested you can send in a PR.

P.S If this is a known issue that APP_NAME is having a char_limit & this is exceeded by random-route, we should let the CF team know about this.

from watson-banking-chatbot.

RiyaMRoy04 avatar RiyaMRoy04 commented on May 19, 2024

@sauravraiguru I was talking about HOST NAME or ROUTE NAME and not APP NAME. Thanks, shall send PR.. It failed in many instances when we had done workshop and had to re-deploy multiple times. Hence!

from watson-banking-chatbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.