This page contains the test cases for SOR Skill's migration
SOR Skill's Migration
Skills data is stored as SOR in MDMSv2 and needs mapping. After mapping, update the skills info in individuals' details and muster rolls with SOR. Use the provided migration script to help with this data update.
This migration is Mukta-specific, it will not be part of our master code.
To migrate data follow the steps given below:
Create Labour-Sor Mapping:
Add the following mapping to the expense.sor.migration.mapping
field in the application properties: `{"UNSKILLED.CARPENTER":"SOR_000016", "SKILLED.CARPENTER":"SOR
You can also override it in the Helm (click here).
Use the Specific Build:
egovio/expense-calculator-db:sor-migration-8007f0108-142
Click here to access the branch and change details.
Build and Deploy:
Deploy the build provided above or build and deploy from the code linked above if custom changes are required.
Use the curl below to migrate the data.
Create table eg_sor_migration( id character varying(128), is_migration_successful boolean) ;
Query the eg_wms_attendance_summary table and check if “skillCode” in additionalDetails has been migrated from UNSKILLED.CARPENTER -> SOR_000016
Example:
Old data: additionalDetails : { …… skillCode : UNSKILLED.CARPENTER …… }
New data: additionalDetails : { …… skillCode : SOR_000016 …… }
Verification in DB for an individual: Query the individual_skill table and check if “type” and “level” are migrated to “SOR” and “SOR_code” respectively.
Example.:
Old data:
Type: CARPENTER
Level: UNSKILLED
New data:
Type: SOR
Level: SOR_000016
Once the migration is complete remove the environment variables added for migration.
The release chart for this version here.
Core Services
Dashboard
dashboard-analytics:works-ce24e33829-11
Signed Audit
audit-service-db:v1.0.0-24873ba-4
Not changed
Access Control
egov-accesscontrol:v1.1.3-72f8a8f87b-24
Not changed
Encryption
egov-enc-service:v1.1.3-44558a0-3
Not changed
File store
egov-filestore:v1.2.4-72f8a8f87b-10
Not changed
Hrms
egov-hrms:v1.2.5-1715164454-6
Not changed
ID Gen
egov-idgen:v1.2.3-72f8a8f87b-7
Not changed
Indexer
egov-indexer:v1.1.7-f52184e6ba-25
Not changed
Localization
egov-localization:v1.1.3-72f8a8f87b-6
Not changed
Location
egov-location:v1.1.4-72f8a8f87b-6
Not changed
MDMS
egov-mdms-service:v1.3.2-72f8a8f87b-12
Not changed
MDMS-V2
egovio/mdms-v2:mdms-v2-ref-fix-761cd136b7-31
Not changed
SMS Notification
egov-notification-sms:v1.1.3-48a03ad7bb-10
Not changed
User OTP
egov-otp:v1.2.3-e30d33c5ee-13
Not changed
pdf-service
pdf-service:v1.2.1-5ad7ffbc29-42
Not changed
Persister
egov-persister:v1.1.5-6cfa52c1f9-3
Not changed
URL Shortening
egov-url-shortening:v1.1.3-6cfa52c1f9-1
Not changed
User
egov-user:v1.2.7-cb9eb30-5
Not changed
Workflow
egov-workflow-v2:v1.2.2-cae8f24502-3
Not changed
inbox
inbox:v1.3.0-32c61b6-11
Not changed
Ingress Controller
nginx-ingress-controller:0.26.1
Not changed
Oauth2
quay.io/pusher/oauth2_proxy:v5.1.0
Not changed
User OTP
user-otp:v1.1.6-e30d33c5ee-8
Not changed
Zuul - API Gateway
zuul:v1.3.1-96b24b0d72-39
Not changed
Attendance
attendance:v1.0.0-743b0814-46
Not changed
Bank Account
bankaccounts:v0.1.4-3292733c8-38
Fixed pagination issue
Contract
contracts:v1.0.0-743b0814-86
Not changed
Estimate
estimates:v1.0.0-743b0814-86
Not changed
Muster Roll
muster-roll:v1.0.1-3292733c8-49
Skills migration to SOR
Project Management
project:v1.0.1-8d350429f4-79
Not changed
Organization
organisation:v0.2.0-ccbd4695-91
Not changed
Individual Service
individual:v1.1.1-6c6afa0a83-155
Not changed
Expense
expense:v1.0.0-743b0814-108
Not changed
Expense-Calculator
expense-calculator:v2.0.1-3292733c8-147
Rate migration to SOR
Measurement Registry
measurement-registry:v1.0.0-743b0814-15
Not changed
Measurement Service
measurement-service:v1.0.0-743b0814-44
Not changed
Works-Pdf
works-pdf:v1.0.2-227a4c3f-48
Not changed
No Change
No Change
Devops Changes is linked
New release features, enhancements, and fixes
DIGIT-Works release v1.1 release offers no functional changes. The non-functional changes in this release include the capability to migrate the Skills master to the Schedule of Rates master.
Functional changes
NA
Non-functional changes
Migration of skills master to SOR master present in mdmsV2 - refer to for the steps for data migration.
Below is the list of known issues that need to be addressed as part of the platform roadmap:
Multiple measurements can not be created at the same time for one contract.
Integrated error queue implementation for all services along with the necessary measures for addressing issues, is required. In situations of unrecoverable failures, this setup will provide a means to trigger prompt alerts and implement corrective actions.
Establishing alert mechanisms for critical errors, particularly in the context of billing, is required.
Managing offline & low connectivity use cases as a best practice.
The services should include the workflow as part of the payload and push it into the Kafka topic for persistence.
Separate SMS-related localization from all services and migrate it to a dedicated service.
Performance testing and benchmarking of services.
Security audit.
Multiple mdms-v2 calls in services are needed because mdms-v2 returns only one master response.
Code refactoring of works-services like
Remove unused models
Change package names
Remove duplicate validation logic
Works builds
Works MDMS
Works Config
Works Devops
Skill migration to SOR
Muster roll Service
Added MDMS-v2 Config
Rates Migration to SOR
Expense Calculator Service
Added MDMS-v2 Config