Sensor that uses resources
I'd like to create a sensor that triggers a job for each email in an inbox matching certain criteria.
I have already created a resource which my ops use to interact with a gmail account. That gmail resource is itself dependent on another resource which supplies authentication credentials. I'd like to reuse these resources with my sensor, but it seems like
@sensor
doesn't support providing resources.
Any tips on reusing resources with sensors?