This week on the podcast, Kyle shares his Rundeck plugin for OCI that will dynamically provides OCI nodes to Rundeck, and then Dan and Kyle discuss the difference between sync and async messaging and how that affects the Integration Broker.
Show Notes
- PsMpWebAppDeployInstall Follow-up @ 1:30
- SR Codes @ 4:30
- Integration Broker Infrastructure: Sync vs Async @ 5:45
- Rundeck OCI Plugin @ 20:00
Happy new year to the psadmin.io team. Thanks for some great discussion around IB and OCI to brighten up the first week of the year.
On a Python note: You can execute complex search queries against OCI resources in Python (and other languages) using the
ResourceSearcClient
class (https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/resource_search.html#)search = oci.resource_search.ResourceSearchClient(config)
sdetails = oci.resource_search.models.StructuredSearchDetails()
sdetails.query = "query instance resources where lifeCycleState = 'RUNNING'"
#query = "query all resources where (definedTags.namespace = 'myspace' && definedTags.key = 'mytag' && definedTags.value = 'myvalue') "
result = search.search_resources(search_details=sdetails, limit=1000).data
print("Number of instances found = {}".format(len(result.items)))
for resource in result.items:
resourceDetails = compute.get_instance(instance_id=resource.identifier).data