Dev process for importing a customer project - SAP-archive/xsk GitHub Wiki

  1. Pull the latest changes from XSK project.
  2. To run the application against Hana instance you should replace the parameters HANA_URL, HANA_USERNAME and HANA_PASSWORD in '/releng/server/env-variable.env' file with the ones that is correct for your trial Hana instance account.
  3. Make sure your trial Database is in RUNNING mode. You need to start it manually every day. Navigate as following trial>dev>SAP HANA Cloud>Manage SAP HANA Cloud
  4. Build the project with the command mvn -T 1C clean install -Dmaven.test.skip=true -DskipTests -Dmaven.javadoc.skip=true
  5. Start Docker app.
  6. Change the directory in XSK project to /releng/server and build a docker image tagged with name "dirigiblelabs/xsk" with the command: docker build -t dirigiblelabs/xsk . .
  7. To run the docker image execute: docker run -p 8080:8080 -p 8000:8000 --rm -e JPDA_ADDRESS=0.0.0.0:8000 -e JPDA_TRANSPORT=dt_socket --env-file env-variables.env dirigiblelabs/xsk OR
  8. To run the docker image in DEBUG mode execute: docker run --name dirigible --rm -e JPDA_ADDRESS=0.0.0.0:8000 -e JPDA_TRANSPORT=dt_socket -p 8000:8000 -p 8080:8080 -p 8081:8081 --env-file env-variables.env dirigiblelabs/xsk
  9. XSK should be reachable on http://localhost:8080/services/v4/web/ide/index.html with username/password as dirigible/dirigible
  10. Go to Import tab where you can import compressed zip file of the customer project.(You can find them uploaded in XSK MS Teams channel under General->Files->XSC Projects)
  11. Drag and drop the file in the import area and press Upload All button.
  12. The process could take several minutes depending on the size of the project. (There is a limitation of the project's size that can be uploaded though)
  13. Refresh the browser and the project directory structure should be visible in the Workspace tab.
  14. Once the project is imported press Publish all button to start processing of artifacts.
  15. During the process of processing you can check the Problems view (Problems Facade) for any errors that might pop up.