Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Commit

Permalink
Updated controllers (Limes, TripleGeo, GeoLift) for saving with
Browse files Browse the repository at this point in the history
authentication.
  • Loading branch information
jj authored and jj committed May 16, 2014
1 parent 62b2b66 commit 749cee8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
# Vaadin cache dir
/src/main/webapp/VAADIN/gwt-unitCache
/src/main/webapp/VAADIN/widgetsets
/target
6 changes: 3 additions & 3 deletions src/main/webapp/js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ $scope.LaunchLimes = function(){
$scope.save = function(){

var parameters = {
endpoint: ConfigurationService.getSPARQLEndpoint() ,
endpoint: AccountService.getUsername() == null ? ConfigurationService.getPublicSPARQLEndpoint() : ConfigurationService.getSPARQLEndpoint(),
uriBase : ConfigurationService.getUriBase()
};

Expand Down Expand Up @@ -1536,7 +1536,7 @@ var GeoliftCtrl = function($scope, $http, ConfigurationService, flash, ServerErr

var parameters = {
rdfFile: "result.ttl",
endpoint: ConfigurationService.getSPARQLEndpoint(),
endpoint: AccountService.getUsername()== null ? ConfigurationService.getPublicSPARQLEndpoint() : ConfigurationService.getSPARQLEndpoint(),
graph: $scope.saveDataset.replace(':', ConfigurationService.getUriBase()),
uriBase : ConfigurationService.getUriBase(),
username: AccountService.getUsername()
Expand Down Expand Up @@ -2107,7 +2107,7 @@ var TripleGeoCtrl = function($scope, $http, ConfigurationService, flash, ServerE
var parameters = {
rdfFile: "result."+fileType,
fileType: fileType,
endpoint: ConfigurationService.getSPARQLEndpoint() ,
endpoint: AccountService.getUsername()==null ? ConfigurationService.getPublicSPARQLEndpoint() : ConfigurationService.getSPARQLEndpoint(),
graph: $scope.saveDataset.replace(':', ConfigurationService.getUriBase()),
uriBase : ConfigurationService.getUriBase(),
username: AccountService.getUsername()
Expand Down

0 comments on commit 749cee8

Please # to comment.