Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page Properties
https://gobiiproject.atlassian.net/browse/GE-216

Target release

2.2.3

Epic

Jira Legacy
serverSystem JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId3ed8d091-172c-31ee-8b1a-f688a0e72656
key

Document status

Status
titleDRAFT

Document owner

Yaw Nti-Addae

Designer

KevinPalis

Tech lead

Angel Manica Raquel

Technical writers

QA

Yaw Nti-Addae

...

Requirement

User Story

Importance

Jira Issue

1

Add crop

  • Create a PostgreSQL database for the given database name with nomenclature for crop database as “gobii_cropname”, e.g. gobii_maize, gobii_wheat, gobii_rice

  • Populate the newly created database with basic liquibase seed data (context: general, seed_general)

  • Load the given seed data for PI contacts (typically provided by the organization/client)

  • Duplicate the WAR file of an existing crop (ex. gobii_dev.war, gobii_wheat.war) as gobii_<cropname>.war

  • Ensure that the new WAR file is expanded by tomcat (usually via the manager’s redeploy/deploy functionality)

  • Add the corresponding entries to the gobii-web.xml file (the entire crop xml block)

  • Create the new crop’s subdirectory in gobii_bundle/crops/*

  • Create the corresponding cron jobs for the new crop

  • Redeploy the new gobii-*.war application

  • Modify Marker Portal’s XML to add Extract UI for new crop

Status
colourRed
titleHIGH

2

 Edit crop

  1. Backup GDM (including files and database) 

  2. Stop CRON service for crop

  3. Stop Tomcat service for crop

 Rename
  1. Rename PostgreSQL database for the given database name to new name

  2. Rename the WAR file of an existing crop (ex. gobii_dev.war, gobii_wheat.war) as gobii_<newcropname>.war

  3. Ensure that the new WAR file is expanded by tomcat (usually via the manager’s redeploy/deploy functionality)

  4. Edit the corresponding entries to the gobii-web.xml file (the entire crop xml block)

  5. Rename the crop’s subdirectory in gobii_bundle/crops/*

  6. Rename the corresponding cron jobs for the new crop

  7. Redeploy the new gobii-*.war application

  8. Start CRON service for new crop

 

Status
colourYellow
titlemedium

 

3

Delete crop

  1. Backup GDM (including files and database)

  2. Stop CRON service for crop

  3. Stop Tomcat service for crop

  4. Drop PostgreSQL database for the given database name

  5. Edit liquibase to reflect changes

Stop web service for crop in Tomcat
  1. Remove crop service from Tomcat

  2. Edit the corresponding entries to the gobii-web.xml file (the entire crop xml block)

  3. Delete crop’s subdirectory in gobii_bundle/crops/*

  4. Remove the corresponding cron jobs for crop

Status
colourGreen
titlelow

...