8.3 Issue migrating for AlarmNotificationProfileRecord

Hello, I’m currently migrating an 8.1 module with a custom alarm notification profile to 8.3, and I’ve run into an issue with the migration logic. I’ve followed the Slack notification profile example here but on running the migration logic, the notification profiles don’t appear to migrate over successfully.

From my 8.1 module, I have 4 records I would like to migrate over. 1 is a singleton, 1 holds account information for my module, and the other 2 are for voice/SMS notification. After installing my module, I can see in the ignition/data/config/resources folder the migration log, and I can see for my singleton and account record a log statement that lists where the data is migrated. I don’t see however where the other two records have migrated. The log only mentions that they have been migrated and that’s it.

My expectation would be that the migrated records would show up in the ignition/data/config/resources/core/com.inductiveautomation.alarm-notification folder. For added context, when the module is used to provision a brand new 8.3 install, that is where the 2 alarm notification profiles appear after creation, so I think the logic in my alarm notification extension points/records are fine. I am using the ExtensionPointRecordMigrationStrategy builder and am following the Slack example closely. For example:

ArrayList<IdbMigrationStrategy> strategies = new ArrayList<>();

// Migrate SMS Notification Profiles
strategies.add(ExtensionPointRecordMigrationStrategy
        .newBuilder(SmsNotificationExtensionPoint.TYPE_ID) // this TYPE_ID is used in the constructor of the extension point
        .resourceType(AlarmNotificationProfileConfig.RESOURCE_TYPE)
        .profileMeta(AlarmNotificationProfileRecord.META)
        .settingsRecordForeignKey(MessageNotificationProfileSettings.Profile)
        .settingsMeta(MessageNotificationProfileSettings.META)
        .settingsEncoder(encoder ->
                encoder
                // encoder logic here)
        )
        .build());

return strategies;

I’m also not seeing any warns/errors in the gateway log that point me in one direction or another on where I’ve failed. Any help would be appreciated, thanks.

Bump

I don't see anything obviously wrong, but I have no insight into your v8.1 record structures. The extension point migrator is only going to migrate the table META called out directly. You may need a custom migrator for anything else.