Skip to content

IoT Edge Module that execute PL/SQL Oracle query and send the result to IoT Hub

License

Notifications You must be signed in to change notification settings

IOTD-Americas/OracleReaderModule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

IoT Edge Module that reads from Oracle Server using a static PL/SQL query

This module use Environmental variables, you can set them in the deployment manifest. Deployment manifest extract:

"OracleReaderModule": {
	"version": "1.0",
	"type": "docker",
	"status": "running",
	"restartPolicy": "always",
	"settings": {
		"image": "myacr.azurecr.io/OracleReaderModule.amd64",
		"createOptions": {}
	},
	"env": {
		"ConnectionString": {
		"value": "User Id=YOURUSER;Password=YOURPASSW;Data Source=IPYOURSERVER:YOURPORT/YOURSID;"
		},
		"SqlQuery": {
		"value": "SELECT top 1 * FROM MyTable"
		},
		"IsSqlQueryJson": {
		"value": "false"
		},
		"PoolingIntervalMiliseconds": {
		"value": "60000"
		},
		"MaxBatchSize": {
		"value": "200"
		},
		"Verbose": {
		"value": "true"
		}
	}
}

"IsSqlQueryJson": true --only used when query output is json, in any other case false

Roadmap improvements

  • Secure connection string
  • Support Stored Procedures

About

IoT Edge Module that execute PL/SQL Oracle query and send the result to IoT Hub

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages