szkielet paczki MARS-1409
This commit is contained in:
46
MARS_Packages/REL02_POST/MARS-1409/README.md
Normal file
46
MARS_Packages/REL02_POST/MARS-1409/README.md
Normal file
@@ -0,0 +1,46 @@
|
||||
# MARS-1409: Add A_WORKFLOW_HISTORY_KEY to A_SOURCE_FILE_RECEIVED
|
||||
|
||||
## Overview
|
||||
Package for adding A_WORKFLOW_HISTORY_KEY column to A_SOURCE_FILE_RECEIVED table and updating FILE_MANAGER package to populate this value during file registration.
|
||||
|
||||
## Purpose
|
||||
Direct tracking of workflow history keys in file registration for improved diagnostics and simplified archival queries.
|
||||
|
||||
## Structure
|
||||
```
|
||||
MARS-1409/
|
||||
├── .gitignore
|
||||
├── install_mars1409.sql # Master installation script
|
||||
├── rollback_mars1409.sql # Master rollback script
|
||||
├── verify_packages_version.sql # Version verification
|
||||
├── track_package_versions.sql # Version tracking
|
||||
├── 01_MARS_1409_add_workflow_history_key_column.sql
|
||||
├── 02_MARS_1409_install_CT_MRDS_FILE_MANAGER_SPEC.sql
|
||||
├── 03_MARS_1409_install_CT_MRDS_FILE_MANAGER_BODY.sql
|
||||
├── 04_MARS_1409_verify_installation.sql
|
||||
├── 90_MARS_1409_verify_rollback.sql
|
||||
├── 91_MARS_1409_rollback_workflow_history_key_column.sql
|
||||
├── 92_MARS_1409_rollback_FILE_MANAGER_SPEC.sql
|
||||
├── 93_MARS_1409_rollback_FILE_MANAGER_BODY.sql
|
||||
├── new_version/ # Updated packages
|
||||
│ ├── FILE_MANAGER.pkg # TO BE COPIED
|
||||
│ └── FILE_MANAGER.pkb # TO BE COPIED
|
||||
├── rollback_version/ # Previous versions
|
||||
│ ├── FILE_MANAGER.pkg # TO BE COPIED
|
||||
│ └── FILE_MANAGER.pkb # TO BE COPIED
|
||||
└── log/ # Installation logs
|
||||
```
|
||||
|
||||
## Status
|
||||
**SCAFFOLD CREATED** - Ready for implementation
|
||||
|
||||
## Next Steps
|
||||
1. Copy current FILE_MANAGER packages to rollback_version/
|
||||
2. Implement column addition (01_*.sql)
|
||||
3. Update FILE_MANAGER package to populate A_WORKFLOW_HISTORY_KEY
|
||||
4. Test and validate changes
|
||||
5. Complete rollback scripts
|
||||
|
||||
## Related Tickets
|
||||
- Based on MARS-828 package structure
|
||||
- Supports FILE_ARCHIVER workflow tracking improvements
|
||||
Reference in New Issue
Block a user