Skip to content

Cache规则校验工具 #13

@tayqassqan

Description

@tayqassqan

规则校验工具主要通过已知的页面描述规则文件,进行规则的校验,因在 #12 已经提到,规则的描述沿用了MIP Validator的配置语法, 因此规则校验工具也可以直接使用MIP Validator,使用时替换对应的rules.json即可。

方案包括:

  • 将MIP Validator npm install到mip-cache project中使用;
  • 使用时通过传入规则API让validator使用Cache规则进行校验;
  • 为工具添加e2e测试

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions