publish.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Type: Application
  2. Name: rabbitmq-trigger-fc-event-springboot
  3. Provider:
  4. - 阿里云
  5. Version: 0.0.2
  6. Description: 快速部署一个具备 RabbitMQ 触发器 Event 类型的函数到阿里云函数计算
  7. HomePage: https://github.com/devsapp/start-fc
  8. Tags:
  9. - 函数计算
  10. - 新手入门
  11. Category: 新手入门
  12. Service:
  13. 函数计算:
  14. Runtime: Custom
  15. Authorities:
  16. - AliyunFCFullAccess
  17. - AliyunEventBridgeFullAcces
  18. Parameters:
  19. type: object
  20. additionalProperties: false # 不允许增加其他属性
  21. required: # 必填项
  22. - region
  23. - serviceName
  24. - functionName
  25. - instanceId
  26. - virtualHostName
  27. - queueName
  28. properties:
  29. region:
  30. title: 地域
  31. type: string
  32. default: cn-qingdao
  33. description: 创建应用所在的地区
  34. enum:
  35. - cn-beijing
  36. - cn-hangzhou
  37. - cn-shanghai
  38. - cn-qingdao
  39. - cn-zhangjiakou
  40. - cn-huhehaote
  41. - cn-shenzhen
  42. - cn-chengdu
  43. - cn-hongkong
  44. - ap-southeast-1
  45. - ap-southeast-2
  46. - ap-southeast-3
  47. - ap-southeast-5
  48. - ap-northeast-1
  49. - eu-central-1
  50. - eu-west-1
  51. - us-west-1
  52. - us-east-1
  53. - ap-south-1
  54. serviceName:
  55. title: 服务名
  56. type: string
  57. default: rabbitmq-trigger-quick-start
  58. description: 服务名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-128 之间
  59. functionName:
  60. title: 函数名
  61. type: string
  62. default: rabbitmq-trigger-event-function-springboot
  63. description: 数据预处理函数名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-128 之间
  64. instanceId:
  65. title: rabbitmq 实例 id
  66. type: string
  67. description: rabbitmq 实例id, 可在 rabbitmq 控制台获取
  68. virtualHostName:
  69. title: rabbitmq 实例下的 Vhost 名称
  70. type: string
  71. description: rabbitmq 实例的 Vhost 名称, Vhost 用作逻辑隔离
  72. queueName:
  73. title: rabbitmq 实例下的消息队列名称
  74. type: string
  75. description: rabbitmq 实例下的消息队列, 消息都会被投入到一个或多个队列中