Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement individual CMR service components #8

Open
2 of 10 tasks
oubiwann opened this issue Nov 30, 2017 · 4 comments
Open
2 of 10 tasks

Implement individual CMR service components #8

oubiwann opened this issue Nov 30, 2017 · 4 comments
Labels

Comments

@oubiwann
Copy link
Member

oubiwann commented Nov 30, 2017

  • mock-echo (done in 783818a)
  • cubby (done in 6640171)
  • metadata-db
  • access-control
  • index-set
  • indexer
  • ingest
  • search
  • virtual-product
  • bootstrap
@oubiwann
Copy link
Member Author

Dev system creates apps in this order:

(def app-startup-order
  "Defines the order in which applications should be started"
  [:mock-echo 
   :cubby 
   :metadata-db 
   :access-control
   :index-set 
   :indexer 
   :ingest 
   :search 
   :virtual-product 
   :bootstrap])

@oubiwann
Copy link
Member Author

Current order of deployment for CMR:

cd ../metadata-db-app
cmr_deploy $1
cd ../index-set-app
cmr_deploy $1
cd ../indexer-app
cmr_deploy $1
cd ../search-app
cmr_deploy $1
cd ../ingest-app
cmr_deploy $1
cd ../bootstrap-app
cmr_deploy $1

@oubiwann
Copy link
Member Author

In the docker build script for individual services, this is the order of service starts:

    cd ../cubby-app
    build-and-run-container "cmr-cubby" 3007

    cd ../metadata-db-app
    build-and-run-container "cmr-metadata-db" 3001

    cd ../access-control-app
    build-and-run-container "cmr-access-control" 3011

    cd ../search-app
    build-and-run-container "cmr-search" 3003

    cd ../bootstrap-app
    build-and-run-container "cmr-bootstrap" 3006

    cd ../virtual-product-app
    build-and-run-container "cmr-virtual-product" 3009

    cd ../index-set-app
    build-and-run-container "cmr-index-set" 3005

    cd ../indexer-app
    build-and-run-container "cmr-indexer" 3004

    cd ../ingest-app
    build-and-run-container "cmr-ingest" 3002

@oubiwann
Copy link
Member Author

oubiwann commented Dec 7, 2017

The Components library uses dependencies for start-up order, so that's probably more useful to list here. Note that since the system-with-connections is what indicates service dependencies, this is what we can use for service deps in out Component system implementation.

Mock Echo

embedded-systems:

  • None

system-with-connections:

  • access-control

project.clj deps:

  • common-app-lib
  • transmit-lib

Cubby

embedded-systems:

  • None

system-with-connections:

  • access-control
  • echo-rest

project.clj deps:

  • acl-lib
  • common-app-lib
  • common-lib
  • elastic-utils-lib
  • transmit-lib

Metadata DB

embedded-systems:

  • None

system-with-connections:

  • access-control
  • echo-rest

project.clj deps:

  • acl-lib
  • common-app-lib
  • common-lib
  • message-queue-lib
  • oracle-lib

Access Control

embedded-systems:

  • None

system-with-connections:

  • access-control
  • cubby
  • echo-rest
  • metadata-db
  • urs

project.clj deps:

  • acl-lib
  • common-app-lib
  • common-lib
  • elastic-utils-lib
  • message-queue-lib
  • metadata-db-app
  • transmit-lib
  • umm-spec-lib

Index Set

embedded-systems:

  • None

system-with-connections:

  • access-control
  • echo-rest

project.clj deps:

  • acl-lib
  • common-app-lib
  • elastic-utils-lib

Indexer

embedded-systems:

  • None

system-with-connections:

  • access-control
  • cubby
  • echo-rest
  • index-set
  • kms
  • metadata-db
  • search
  • urs

project.clj deps:

  • acl-lib
  • common-app-lib
  • elastic-utils-lib
  • message-queue-lib
  • transmit-lib
  • umm-lib
  • umm-spec-lib

Ingest

embedded-systems:

  • None

system-with-connections:

  • access-control
  • cubby
  • echo-rest
  • indexer
  • kms
  • metadata-db
  • search

project.clj deps:

  • acl-lib
  • common-app-lib
  • message-queue-lib
  • oracle-lib
  • transmit-lib
  • umm-lib
  • umm-spec-lib

Search

embedded-systems:

  • metadata-db

system-with-connections:

  • access-control
  • cubby
  • echo-rest
  • index-set
  • kms
  • metadata-db

project.clj deps:

  • collection-renderer-lib
  • common-app-lib
  • common-lib
  • elastic-utils-lib
  • message-queue-lib
  • orbits-lib
  • spatial-lib
  • umm-lib
  • umm-spec-lib

Virtual Product

embedded-systems:

  • None

system-with-connections:

  • ingest
  • metadata-db
  • search

project.clj deps:

  • common-app-lib
  • common-lib
  • message-queue-lib
  • transmit-lib
  • umm-lib

Bootstrap

embedded-systems:

  • access-control
  • indexer
  • metadata-db

system-with-connections:

  • cubby
  • echo-rest
  • indexer
  • index-set
  • kms
  • metadata-db

project.clj deps:

  • access-control-app
  • common-app-lib
  • indexer-app
  • metadata-db-app
  • oracle-lib
  • transmit-lib
  • virtual-product-app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant