Working with the Sample Project

The plug-in packages sample projects with the installer. The sample projects show how TIBCO ActiveMatrix BusinessWorks Plug-in for OData works.

After installing the plug-in, the samples are available in the TIBCO_HOME/bw/palettes/odata/version_number/samples directory.

These samples run on different container platform. The available platform options are Docker mode or Cloud Foundry mode.

Note: By default, the Cloud Foundry mode is selected.

To select the mode, go to Windows > Preferences > BusinessWorks Container Edition > Container Platform > Select Platform. Select the appropriate platform from the drop-down list.

For more information, refer to Switching the Container Platform in TIBCO BusinessWorks™ Container Edition User's Guide.

  • CreateAndQuerySample

    Use CreateAndQuery sample when using Docker mode in TIBCO Business Studio Container Edition which contains one process.

    Process.bwp

    It shows how to create and query data from an OData server.

    Note: You need to configure fileName field with the filePath of their corresponding environment.
  • ODataTestSample

    Use ODataTestSample sample when using the Cloud Foundry mode or the Docker mode in TIBCO Business Studio Container Edition which contains one process.

    TestODataActivity.bwp

    It shows how to create and query data from an OData server.

  • ODataTestServiceSample
    ODataTestServiceSample sample contains the following two processes:
    • Service.bwp: In this process, the OData service performs the QUERY, READ, CREATE, UPDATE and DELETE operations. The service is created using the CSDL file of TripPinService.
    • Client.bwp: This is a Client process, which uses OData Query and OData Modify activities to retrieve data from the OData Server. This process is used to invoke the operations on the OData resource.

    It shows how to create and test OData service.

    Note: You must to configure fileName field with the filePath of their corresponding environment.