CSV

Configure POB to write procurement opportunities to a comma separated values (CSV) file.

Last Updated: 27 May 2022 • Page Author: Jillur Quddus

Overview

A comma separated values (CSV) file is a delimited text file that uses a comma to separate values. This page provides instructions on how to configure POB to write procurement opportunities to a local CSV file.

For further information regarding CSV files, please visit https://en.wikipedia.org/wiki/Comma-separated_values.

Setup

To configure POB to write procurement opportunities to a local CSV file, we simply need to update POB's Application Configuration. To do this, open src/main/resources/application.yml in the pob-configuration Maven module in your preferred text editor or IDE, enable the native CSV publisher and provide a path to the local CSV file (note that if this file does not exist then POB will automatically create it) as follows:

publishers:
    - id: csv
      enabled: true
      publisherClass: ai.hyperlearning.pob.data.publishers.csv.CsvPublisher
      properties:
        path: /home/myuser/pob.csv

Deployment

You are now ready to deploy POB to your chosen target environment (for example a self-managed environment, or to the Amazon Web Services (AWS) or Microsoft Azure cloud computing platforms respectively). Once successfully deployed, POB will append procurement opportunities to the given CSV file.

Last updated