forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dependency upgrades, server and platform module updates, linting wip
- Loading branch information
Showing
190 changed files
with
6,337 additions
and
4,719 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright 2015-2016, Google, Inc. | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# [START app_yaml] | ||
runtime: nodejs | ||
env: flex | ||
# [END app_yaml] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
module.exports = { | ||
// The REST API server settings. | ||
"rest": { | ||
"ssl": false, | ||
"address": "dspace7.4science.it", | ||
"port": 80, | ||
// Angular2 UI server settings. | ||
ui: { | ||
ssl: false, | ||
host: 'localhost', | ||
port: 3000, | ||
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript | ||
"nameSpace": "/dspace-spring-rest/api" | ||
nameSpace: '/' | ||
}, | ||
// Angular2 UI server settings. | ||
"ui": { | ||
"ssl": false, | ||
"address": "localhost", | ||
"port": 3000, | ||
// The REST API server settings. | ||
rest: { | ||
ssl: false, | ||
host: 'dspace7.4science.it', | ||
port: 80, | ||
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript | ||
"nameSpace": "/" | ||
nameSpace: '/dspace-spring-rest/api' | ||
}, | ||
"cache": { | ||
cache: { | ||
// how long should objects be cached for by default | ||
"msToLive": 15 * 60 * 1000, // 15 minute | ||
"control": "max-age=60" // revalidate browser | ||
msToLive: 15 * 60 * 1000, // 15 minute | ||
control: 'max-age=60' // revalidate browser | ||
}, | ||
"universal": { | ||
// Angular Universal settings | ||
"preboot": true, | ||
"async": true | ||
} | ||
logDirectory: '.', | ||
// NOTE: rehydrate or replay | ||
// rehydrate will transfer prerender state to browser state, actions do not need to replay | ||
// replay will transfer an array of actions to browser, actions replay automatically | ||
prerenderStrategy: 'replay', | ||
// NOTE: will log all redux actions and transfers in console | ||
debug: true | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
module.exports = { | ||
// Angular2 UI server settings. | ||
ui: { | ||
ssl: false, | ||
host: 'localhost', | ||
port: 3000, | ||
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript | ||
nameSpace: '/' | ||
}, | ||
// The REST API server settings. | ||
rest: { | ||
ssl: false, | ||
host: 'dspace7.4science.it', | ||
port: 80, | ||
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript | ||
nameSpace: '/dspace-spring-rest/api' | ||
}, | ||
cache: { | ||
// how long should objects be cached for by default | ||
msToLive: 15 * 60 * 1000, // 15 minute | ||
control: 'max-age=60' // revalidate browser | ||
}, | ||
logDirectory: '.', | ||
// NOTE: rehydrate or replay | ||
// rehydrate will transfer prerender state to browser state, actions do not need to replay | ||
// replay will transfer an array of actions to browser, actions replay automatically | ||
prerenderStrategy: 'rehydrate', | ||
// NOTE: will log all redux actions and transfers in console | ||
debug: true | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import { ProtractorPage } from './pagenotfound.po'; | ||
|
||
describe('protractor PageNotFound', function() { | ||
describe('protractor PageNotFound', () => { | ||
let page: ProtractorPage; | ||
|
||
beforeEach(() => { | ||
page = new ProtractorPage(); | ||
}); | ||
|
||
it('should contain element ds-pagenotfound when navigating to page that doesnt exist"', () => { | ||
it('should contain element ds-pagenotfound when navigating to page that doesnt exist', () => { | ||
page.navigateToNonExistingPage(); | ||
expect(page.elementTagExists("ds-pagenotfound")).toEqual(true); | ||
expect<any>(page.elementTagExists('ds-pagenotfound')).toEqual(true); | ||
}); | ||
|
||
it('should not contain element ds-pagenotfound when navigating to existing page"', () => { | ||
it('should not contain element ds-pagenotfound when navigating to existing page', () => { | ||
page.navigateToExistingPage(); | ||
expect(page.elementTagExists("ds-pagenotfound")).toEqual(false); | ||
expect<any>(page.elementTagExists('ds-pagenotfound')).toEqual(false); | ||
}); | ||
}); |
Oops, something went wrong.