XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • dcp.jboss.org (DCP)
    • None
    • RHD-Sprint 30

      export DCP_URL=https://dcp.stage.jboss.org
      export DCP_USER=jbossorg
      export DCP_PASS=
      
      curl -u $DCP_USER:$DCP_PASS -X POST $DCP_URL/v2/rest/indexer/stackoverflow_question/_stop
      
      cd ~/git/searchisko-configuration/data/query/
      sh init-query.sh stackoverflow.json $DCP_URL $DCP_USER $DCP_PASS
      
      cd ~/git/searchisko-configuration/mappings
      sh init_mapping.sh sys_projects/project.json $DCP_URL/v2/rest/sys/es/search $DCP_USER $DCP_PASS
      
      cd ~/git/searchisko-configuration/data/project/
      sh init-project.sh amq.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh bpmsuite.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh brms.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh cdk.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh datagrid.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh datavirt.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh developertoolset.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh devstudio.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh eap.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh fuse.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh mobileplatform.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh openshift.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh rhel.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh softwarecollections.project $DCP_URL $DCP_USER $DCP_PASS
      sh init-project.sh webserver.project $DCP_URL $DCP_USER $DCP_PASS
      
      
      cd ~/git/searchisko-configuration/data/provider/
      sh init-provider.sh stackoverflow.json $DCP_URL $DCP_USER $DCP_PASS
      
      curl -u $DCP_USER:$DCP_PASS -X DELETE $DCP_URL/v2/rest/sys/es/search/data_stackoverflow_question
      
      cd ~/git/searchisko-configuration/indexes
      sh init_index.sh data_stackoverflow_question.json $DCP_URL/v2/rest/sys/es/search $DCP_USER $DCP_PASS
      
      cd ~/git/searchisko-configuration/mappings
      sh init_mapping.sh data_stackoverflow_question/stackoverflow_question.json $DCP_URL/v2/rest/sys/es/search $DCP_USER $DCP_PASS
      
      cd ~/git/searchisko-configuration/rivers
      sh init_river.sh stackoverflow_question.json $DCP_URL/v2/rest/sys/es/search $DCP_USER $DCP_PASS
      
      curl -u $DCP_USER:$DCP_PASS -X POST $DCP_URL/v2/rest/indexer/stackoverflow_question/_restart 
      curl -u $DCP_USER:$DCP_PASS -X POST $DCP_URL/v2/rest/indexer/stackoverflow_question/_force_reindex
      

              lkrzyzan@redhat.com Libor Krzyzanek
              lkrzyzan@redhat.com Libor Krzyzanek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: