Skip to content

uplift to net8.0 adapt std plugin export sample file#1

Open
dubnemo wants to merge 1 commit into
kelly-nelson:mainfrom
dubnemo:main
Open

uplift to net8.0 adapt std plugin export sample file#1
dubnemo wants to merge 1 commit into
kelly-nelson:mainfrom
dubnemo:main

Conversation

@dubnemo
Copy link
Copy Markdown

@dubnemo dubnemo commented Jul 19, 2025

@knelson-farmbeltnorth please consider merging this into your original converter function app and deploying to your Azure resource group. I have include a sample JSON used for testing the SII plugin.
I believe the file location error on framework-to-standard-type-mappings.json will be present as well.

The ISO plugin and the ADM representations have file location override get set methods, whereas it seems these are not available in the ADAPT Standard Plugin.
image

Something like the following ...

AgGateway.ADAPT.StandardPlugin.TypeMappingsFileLocation = System.IO.Path.Combine(executionContext.FunctionDirectory, ".", "framework-to-standard-type-mappings.json") ;
// not sure if this is needed
AgGateway.ADAPT.StandardPlugin.StandardDataTypesFileLocation =  System.IO.Path.Combine(executionContext.FunctionDirectory, ".", "adapt-data-type-definitions.json");
// other resources needed?

Another method besides executionContext is application variables, but the variable still needs to be public in the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant