Skip to content

Migrating from SDW websocket depositor to SDW Depositor Submodule

hmusavi edited this page Feb 6, 2019 · 5 revisions

Overview

The new Situation Data Warehouse supports depositing messages over a REST interface, instead of using Websockets.

The ODE team has created a new SDW Depositor module for this service that can be used as a standalone depositor or as an ODE submodule. This document is meant to guide users who currently use the Websocket interface and want to migrate to the new REST interface and SDW Depositor module.

Instructions

Note that pulling the latest updates will require migrating to the new .env file setup:

  1. Make a backup of your existing environment file .env and then delete it
  2. Remove any local changes you have made to sample.env, if any (git checkout -- sample.env)
  3. Pull the latest release of the ODE (instructions)
  4. Rename sample.env to .env
  5. Copy the values from your backup env file to the new .env file
  6. Choose whether to use the built-in WebSocket depositor or the new SDW Depositor service
    • If using the SDW Service set the following variables in your .env
      • SDW_USERNAME
      • SDW_PASSWORD
      • If needed, override the default SDW configuration with these values:
        • SDW_DESTINATION_URL
        • SDW_GROUP_ID
        • SDW_KAFKA_PORT
        • SDW_SUBSCRIPTION_TOPIC
    • If using the built-in WebSocket depositor
      • Set ODE_DEPOSIT_SDW_MESSAGES_OVER_WEBSOCKET=true
      • Remove or comment out the jpo-sdw-depositor from your docker-compose.yml
      • Transfer the old ODE_DDS_* environment variables from the old .env into the new .env
  7. Build and deploy as usual

Releases

Change Notices

Informational Reference

  • Decode a file with asn1c
  • Deposit BSM to S3
  • Docker fix for SSL issues due to corporate network
  • Docker management
  • ECDSA Primer
  • Filter BSMs through PPM module
  • Geofence Filtering for PPM
  • Import BSMs from RSU log file
  • Import TIMs from RSU log file
  • jpo security svcs Integration
  • Link host directory to Docker directory
  • Migrating from SDW websocket depositor to SDW Depositor Submodule
  • ODE Release Deployment
  • ODE Release Preparation
  • Prepare a fresh Ubuntu instance for ODE installation
  • Process for Handling Bugs (Code Defects)
  • Run the ODE using the ASN codec module
  • Query RSU for set TIMs
  • Schema Version 6 Change Notice
  • Signed Message File Import
  • TIM REST Endpoint Changes
  • Using the .env configuration file
  • Using the ODE test harness

Test Procedures

  • Delete TIM on RSU test
  • Event Logger Test
  • Import Decode and Deliver BSM Test
  • Manage SNMP Test
  • Sending PDM to RSU Test
  • Sending TIM to RSU Test
  • Submit_TIM_To_SDW Test

Archived

  • Log File Changes (schemaVersion=4)
  • Receive BSMs over UDP
  • Receive ISD via UDP and deposit to SDC
  • Receive VSD via UDP and deposit to SDC
  • Run the crypto test vectors code with ODE team's OSS encoder
  • SchemaVersion 5 Change Notice
Clone this wiki locally