This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Dev process for importing a customer project
Antoaneta edited this page Oct 11, 2021
·
6 revisions
- Pull the latest changes from XSK project.
- 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.
- 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
- Build the project with the command
mvn -T 1C clean install -Dmaven.test.skip=true -DskipTests -Dmaven.javadoc.skip=true
- Start Docker app.
- 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 .
. - 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 - 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
- XSK should be reachable on
http://localhost:8080/services/v4/web/ide/index.html
with username/password as dirigible/dirigible - 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
) - Drag and drop the file in the import area and press Upload All button.
- 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)
- Refresh the browser and the project directory structure should be visible in the Workspace tab.
- Once the project is imported press Publish all button to start processing of artifacts.
- During the process of processing you can check the Problems view (Problems Facade) for any errors that might pop up.