This example runs a Sites: list request from the Google Search Console API.
- Access to a Google (service) account through Application Default Credentials, Compute Engine Credentials or Service Account JSON.
- The GCP project that corresponds to the account has to enable the Google Search Console API.
- Access to a Search Console property (domain or url) with that account (otherwise the response will be empty).
- This module must be built and NiFi restarted.
- Upload example template.
- Add example template ("Template" action in top navigation).
- Click anywhere to focus the process group.
- Open process group configuration.
- Open "Controller Services" tab.
- Configure "GCPCredentialsControllerService".
- Open "Properties" tab.
- Select authentication (Application Default Credentials, Compute Engine Credentials or Service Account JSON).
- Enable "GCPCredentialsControllerService".
- Enable "GCPOauth2AccessTokenProvider" (no configuration required).
- Close process group configuration window.
- Right click "InvokeHTTP" and select "Run Once" from menu.
- When the processor has finished and the view has been refreshed it should say "Queued 1 (xxx bytes)" on the Connection.
- Right click Connection and select "List Queue" from menu.
- Download or view content (icons in last column).