Skip to content

Chair4ce/blackPearl

Repository files navigation

The Black Pearl

The Black Pearl is a Crew Web Page created for DGS-1 to better equip analysts by reliably directing them to mission critical intelligence resources.

The Black Pearl

Stable Executables

In the master/artifacts folder, you can find the latest stable builds of The Black Pearl.

Differences

  • io: Meant for deployment on geointservices.io. Uses Basic Authentication at website.com/login to sign in.
  • muhj: Meant for deployment on muhj workstations. Uses Smart Card Authentication at website.com/ to sign in.

Endpoints

  • /admin: Administrator functions such as updating clocks, weather, acronyms, etc.
  • /metrics: Metric information based on the usage of The Black Pearl
  • /login: (IO Only) Allows the user to log in with either of the following accounts:
    • CROSS.JORDAN.MIDDLE.0123456789
    • YODA.MASTER.MIDDLE.0123456789

Installing (Production)

Prerequisites

Instructions

Download the latest stable jar for your use case.

Run the following commands in Command Prompt to create the database:

mysql -u root -p -e "create database blackpearldev;"
mysql -u root -p -e "create user 'blackpearl'@'localhost';"
mysql -u root -p -e "GRANT ALL PRIVILEGES ON blackpearldev.* TO 'blackpearl'@'localhost';"

Windows - Create Database

Create the following Environmental Variables:

BLACKPEARL_DB_URL : jdbc:mysql://localhost:3306/blackpearldev?useSSL=false
BLACKPEARL_DB_USERNAME : blackpearl

Windows Environment Variables

Run the following command to start the Black Pearl.

java -jar <path-to-executable>\blackpearl-<type>.jar

Access The Black Pearl at one of the following urls.

io: http://localhost:8080/
muhj: https://localhost:8080/

Installing (Development)

If you wish to install The Black Pearl on a development computer, follow the Production commands, then follow these instructions.

Prerequisites

Instructions

Clone the repository

git clone git@gitlab.devops.geointservices.io:dgs1sdt/blackpearl.git

Install Dependencies & Test

cd <git_dir>\blackpearl\scripts
.\tests.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published