diff --git a/commons-packet/commons-packet-service/src/main/java/io/mosip/commons/packetmanager/dto/AuthorizedRolesDTO.java b/commons-packet/commons-packet-service/src/main/java/io/mosip/commons/packetmanager/dto/AuthorizedRolesDTO.java index 89f7abeab6..e16892053c 100644 --- a/commons-packet/commons-packet-service/src/main/java/io/mosip/commons/packetmanager/dto/AuthorizedRolesDTO.java +++ b/commons-packet/commons-packet-service/src/main/java/io/mosip/commons/packetmanager/dto/AuthorizedRolesDTO.java @@ -10,7 +10,7 @@ @Component("authorizedRoles") -@ConfigurationProperties(prefix = "mosip.role.packetmanager") +@ConfigurationProperties(prefix = "mosip.role.commons-packet") @Getter @Setter public class AuthorizedRolesDTO { diff --git a/commons-packet/commons-packet-service/src/test/resources/application.properties b/commons-packet/commons-packet-service/src/test/resources/application.properties index 8316cb4365..898df88f0c 100644 --- a/commons-packet/commons-packet-service/src/test/resources/application.properties +++ b/commons-packet/commons-packet-service/src/test/resources/application.properties @@ -40,17 +40,16 @@ packetmanager.default.priority= mosip.kernel.auth.appids.realm.map={prereg:'preregistration',ida:'mosip',registrationclient:'mosip',regproc:'mosip',partner:'mosip',resident:'mosip'} #adding commons-packet-manager properties -mosip.role.packetmanager.postcreatepacket=REGISTRATION_PROCESSOR -mosip.role.packetmanager.getPutcreatepacket=REGISTRATION_PROCESSOR -mosip.role.packetmanager.postaddtag=REGISTRATION_PROCESSOR -mosip.role.packetmanager.postaddorupdatetag=REGISTRATION_PROCESSOR -mosip.role.packetmanager.postdeletetag=REGISTRATION_PROCESSOR -mosip.role.packetmanager.postinfo=REGISTRATION_PROCESSOR -mosip.role.packetmanager.postgettags=REGISTRATION_PROCESSOR -mosip.role.packetmanager.postvalidatepacket=REGISTRATION_PROCESSOR -mosip.role.packetmanager.postaudits=REGISTRATION_PROCESSOR -mosip.role.packetmanager.postmetainfo=METADATA_READ -mosip.role.packetmanager.postbiometrics=BIOMETRIC_READ -mosip.role.packetmanager.postdocument=DOCUMENT_READ -mosip.role.packetmanager.postsearchfields=DATA_READ -mosip.role.packetmanager.postsearchfield=DATA_READ \ No newline at end of file +mosip.role.commons-packet.putcreatepacket=REGISTRATION_PROCESSOR +mosip.role.commons-packet.postaddtag=REGISTRATION_PROCESSOR +mosip.role.commons-packet.postaddorupdatetag=REGISTRATION_PROCESSOR +mosip.role.commons-packet.postdeletetag=REGISTRATION_PROCESSOR +mosip.role.commons-packet.postinfo=REGISTRATION_PROCESSOR +mosip.role.commons-packet.postgettags=REGISTRATION_PROCESSOR +mosip.role.commons-packet.postvalidatepacket=REGISTRATION_PROCESSOR +mosip.role.commons-packet.postaudits=REGISTRATION_PROCESSOR +mosip.role.commons-packet.postmetainfo=METADATA_READ +mosip.role.commons-packet.postbiometrics=BIOMETRIC_READ +mosip.role.commons-packet.postdocument=DOCUMENT_READ +mosip.role.commons-packet.postsearchfields=DATA_READ +mosip.role.commons-packet.postsearchfield=DATA_READ \ No newline at end of file