File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7979
8080echo " test nodejs runtime with auto ..."
8181cd nodejs
82+ export fc_component_function_name=nodejs18-$( uname) -$( uname -m) -$RANDSTR
83+ s deploy -y -t s_auto.yaml
84+ s invoke -e ' {"hello":"fc nodejs with auto"}' -t s_auto.yaml
85+ s info -y -t s_auto.yaml
86+ s remove -y -t s_auto.yaml
8287
8388echo " test nodejs runtime with oss config auto ..."
8489export fc_component_function_name=nodejs18-$( uname) -$( uname -m) -$RANDSTR
@@ -87,12 +92,6 @@ s invoke -e '{"hello":"fc nodejs with oss config auto"}' -t ./s_oss_config_auto.
8792s info -y -t ./s_oss_config_auto.yaml
8893s remove -y -t ./s_oss_config_auto.yaml
8994
90- export fc_component_function_name=nodejs18-$( uname) -$( uname -m) -$RANDSTR
91- s deploy -y -t s_auto.yaml
92- s invoke -e ' {"hello":"fc nodejs with auto"}' -t s_auto.yaml
93- s info -y -t s_auto.yaml
94- s remove -y -t s_auto.yaml
95-
9695echo " test nodejs runtime with more vpc and nas auto ..."
9796export fc_component_function_name=nodejs16-$( uname) -$( uname -m) -$RANDSTR
9897s deploy -y -t ./s_lock_auto.yaml
Original file line number Diff line number Diff line change @@ -13,14 +13,6 @@ export * from './trigger';
1313export * from './base' ;
1414export * from './async_invoke_config' ;
1515
16- export interface IOSSCorsRule {
17- allowedOrigin : string [ ] ;
18- allowedMethod : string [ ] ;
19- allowedHeader ?: string [ ] ;
20- exposeHeader ?: string [ ] ;
21- maxAgeSeconds ?: number ;
22- }
23-
2416export interface IProps extends IFunction {
2517 region : IRegion ;
2618 triggers ?: ITrigger [ ] ;
@@ -29,7 +21,6 @@ export interface IProps extends IFunction {
2921 provisionConfig ?: IProvisionConfig ;
3022 scalingConfig ?: IScalingConfig ;
3123 endpoint ?: string ;
32- cors ?: IOSSCorsRule [ ] ;
3324 supplement ?: any ;
3425 annotations ?: any ;
3526}
You can’t perform that action at this time.
0 commit comments