Skip to content

add custom domain support#78

Merged
tanhe123 merged 1 commit into
masterfrom
add_custom_domain_support
Sep 20, 2018
Merged

add custom domain support#78
tanhe123 merged 1 commit into
masterfrom
add_custom_domain_support

Conversation

@CiCi503
Copy link
Copy Markdown
Collaborator

@CiCi503 CiCi503 commented Sep 17, 2018

add custom domain support

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Sep 17, 2018

CLA assistant check
All committers have signed the CLA.

Comment thread lib/validate/schema/function.js Outdated
'type': 'object',
'patternProperties': {
'^[a-zA-Z_][a-zA-Z0-9_-]{0,127}$': {
'^/': {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个正则应该是写错位置了?

console.log(green(`table store ${name} deploy success\n`));
} else if (resource.Type === 'Aliyun::Serverless::Log') {
// ignore, done by deployLogs
} else if (resource.Type === 'Aliyun::Serverless::CustomDomain') {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果 customDomain 在 service 之前,会存在 service 还没创建的情况,所以这里可以参考上面的 await deployLogs(tpl.Resources),保证 customDomain 的逻辑在 service 之后

protocol,
routeConfig
}) {
const fc = await getFcClient();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

package.json 中的 @alicloud/fc2 的版本需要更新为 2.0.5

@CiCi503 CiCi503 force-pushed the add_custom_domain_support branch from 6a9a0e4 to 87f656f Compare September 20, 2018 08:41
@CiCi503 CiCi503 force-pushed the add_custom_domain_support branch from 87f656f to dbe5eb2 Compare September 20, 2018 09:16
@tanhe123 tanhe123 merged commit 9b1a731 into master Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants