Add authoring guide, stack adapters, and CI layer distinction
- AUTHORING.md: instructions for teams writing requirements + tests - Stack adapters: java.patterns, python.patterns, go.patterns - Quality checklist for new requirements - Open question on adapter threshold for minor stacks
This commit is contained in:
4
.tests/adapters/go.patterns
Normal file
4
.tests/adapters/go.patterns
Normal file
@@ -0,0 +1,4 @@
|
||||
cloud_sdk_imports=cloud\.google\.com/go|aws-sdk-go|azure-sdk-for-go
|
||||
jwt_libraries=golang-jwt|dgrijalva/jwt
|
||||
auth_endpoints=HandleFunc.*"/login"|Handle.*"/authenticate"
|
||||
external_url=https?://(?!localhost|127\.0\.0\.1|10\.|192\.168\.)(?!.*reltio\.(com|net|io))
|
||||
4
.tests/adapters/java.patterns
Normal file
4
.tests/adapters/java.patterns
Normal file
@@ -0,0 +1,4 @@
|
||||
cloud_sdk_imports=com\.amazonaws\.|com\.google\.cloud\.|com\.azure\.
|
||||
jwt_libraries=io\.jsonwebtoken|com\.auth0\.jwt
|
||||
auth_endpoints=@PostMapping.*"/login"|@RequestMapping.*"/authenticate"
|
||||
external_url=https?://(?!localhost|127\.0\.0\.1|10\.|192\.168\.)(?!.*reltio\.(com|net|io))
|
||||
4
.tests/adapters/python.patterns
Normal file
4
.tests/adapters/python.patterns
Normal file
@@ -0,0 +1,4 @@
|
||||
cloud_sdk_imports=import boto3|from google\.cloud|from azure\.
|
||||
jwt_libraries=import jwt|from jose|from authlib
|
||||
auth_endpoints=@app\.route.*/login|@app\.post.*/authenticate|def login\(
|
||||
external_url=https?://(?!localhost|127\.0\.0\.1|10\.|192\.168\.)(?!.*reltio\.(com|net|io))
|
||||
Reference in New Issue
Block a user