【问题标题】:How to re-set organisation for apigee learning edge tutorials?如何重新设置 apigee 学习边缘教程的组织?
【发布时间】:2019-05-16 16:27:36
【问题描述】:

我正在经历这个apigee tutorial。 当第一次调用这个script 时,它会询问用户的基本信息。错误地,我给出了错误的组织。

检查用户配置信息...

输入服务器上用户的密码 企业.apige
电子商务

密码:
在 api.enterprise.apigee.com 上验证凭据 ...
组织无效!
请重新运行脚本 使用正确的组织

当我重新运行脚本时,它并没有要求我提供组织。如何将组织设置为正确的名称

【问题讨论】:

    标签: apigee


    【解决方案1】:

    trunk\setup 中有一个userconf.sh 文件。

    滚动到文件顶部,你会看到类似这样的内容-

    # there are 2 main cases to handle:
    # (a) the user's $HOME/.learn-edge.rc file exists,
    # in which case we just dot it in; or
    # (b) it doesn't exist, in which case we prompt
    # for the values and write out to the config file.
    

    Apigee 会将您的所有基本信息内容写入$HOME/.learn-edge.rc。只需修改这个 -

    export org="youraccount-eval"
    

    到正确的值,它会工作。

    【讨论】:

      猜你喜欢
      • 2013-08-29
      • 2010-09-15
      • 1970-01-01
      • 1970-01-01
      • 2017-09-04
      • 1970-01-01
      • 2017-10-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多