Skip to content

SierraSystems/FAMS3-POC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAMS3 Integration

The SearchApi takes a piece of information from a person and will execute a search against data providers.

Note

  • Projects are to be based on .NET Core 3.0
  • Message Broker is rabbitMq
  • All projects should have a corresponding test project

Architecture Goal

image

Project Structure

.
├── app                     # Application Source Files.
├── docs                    # Contains application documentations.
├── .gitignore              # Git ignore.
├── docker-compose.yml      # Docker Compose definition.
└── README.md               # This file.

Run

docker-compose up

Once the containers are up, execute the Entity Frameword migration

> dotnet tool install --global dotnet-ef
> cd app/SearchApi.Tracker
> dotnet ef database update

Check the health status of the api here

Download OpenAPi specification here

Access RabbitMq console here, use default rabbitmq username and password.

Access OmniDb here, you can configure the tool to point to postgres using the docker-compose.yml options.

You can interact with the search api using the following Postman Collection and Postman Environment

When a POST request is send to the people api, a searchRequested event is sent to the tracker. The traker stores the investigationState in the StateMachine Database.

Projects

SearchAPI

This is the API that will be called by the Scheduler Plugin to search for person sought

SearchApi.Tracker

The search api tracker application is responsible for tracking investigation on a Person.

you can configure the provider in the provider.configuration.json following this specification

{
  "providers": [
    {
      "name": "provider1"
    },
    {
      "name":  "provider2" 
    }
  ]
}

SearchAPI.Test

This is the test project for the Search API project

JobManager

This is the Scheduler Plugin

JobManager.Test

This is the test project for the Scheduler Plugin

Libs

SearchApi.Core

This class lib project encapsulate reusable components accross search api applications.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •