Example #1
0
    def Epilog(self, resources_were_displayed):
        super(DeployBeta, self).Epilog(resources_were_displayed)

        # Print link to Endpoints Management UI
        if not self.validate_only:
            management_url = services_util.GenerateManagementUrl(
                self.service_name,
                properties.VALUES.core.project.Get(required=True))
            log.status.Print('To manage your API, go to: ' + management_url)
Example #2
0
    def Epilog(self, resources_were_displayed):
        # Print this to screen not to the log because the output is needed by the
        # human user. Only print this when not doing a validate-only run.
        if resources_were_displayed and not self.validate_only:
            log.status.Print(
                ('\nService Configuration [{0}] uploaded for '
                 'service [{1}]\n').format(self.service_config_id,
                                           self.service_name))

            management_url = services_util.GenerateManagementUrl(
                self.service_name,
                properties.VALUES.core.project.Get(required=True))
            log.status.Print('To manage your API, go to: ' + management_url)