Skip to content

Commit

Permalink
HOPSWORKS-862 (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkakantousis committed Jan 7, 2019
1 parent 499906e commit 10015c1
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 194 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ private String checkAndGetProjectUser(byte[] keyStore, char[] keyStorePwd) throw

return commonName;
} catch (Exception ex) {
throw new UserException(RESTCodes.UserErrorCode.AUTHENTICATION_FAILURE, Level.SEVERE, null, ex.getMessage());
throw new UserException(RESTCodes.UserErrorCode.AUTHENTICATION_FAILURE, Level.SEVERE, null, ex.getMessage(), ex);
}
}

Expand Down
16 changes: 0 additions & 16 deletions scripts/README.md

This file was deleted.

28 changes: 0 additions & 28 deletions scripts/dev-deploy-frontend.sh

This file was deleted.

110 changes: 0 additions & 110 deletions scripts/js.sh

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/scp-deploy-frontend.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash
# Deploy the frontend to the glassfish home directory and run bower
export SERVER=localvm
export SERVER=vm
export WEBPORT=35139
export key=private_key

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes vagrant@${SERVER} "cd /srv/hops/domains/domain1 && sudo chown -R glassfish:vagrant docroot && sudo chmod -R 775 *"

scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -r ../hopsworks-web/yo/app/ vagrant@${SERVER}:/srv/hops/domains/domain1/docroot
scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes ../hopsworks-web/yo/bower.json vagrant@${SERVER}:/srv/hops/domains/domain1/docroot/app

scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes ../hopsworks-web/yo/.bowerrc vagrant@${SERVER}:/srv/hops/domains/domain1/docroot/app
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes vagrant@${SERVER} "cd /srv/hops/domains/domain1/docroot/app && bower install && perl -pi -e \"s/getLocationBase\(\)/'http:\/\/${SERVER}:${WEBPORT}\/hopsworks'/g\" scripts/services/RequestInterceptorService.js"

37 changes: 0 additions & 37 deletions scripts/update-tables.sh

This file was deleted.

0 comments on commit 10015c1

Please sign in to comment.