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
{ | |
"name": "test-app", | |
"version": "0.0.0", | |
"license": "MIT", | |
"angular-cli": {}, | |
"scripts": { | |
"start": "ng serve", | |
"postinstall": "typings install", | |
"lint": "tslint \"src/**/*.ts\"", | |
"test": "ng test", |
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
## SSL Settings | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_prefer_server_ciphers on; | |
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH"; | |
ssl_ecdh_curve secp384r1; | |
ssl_session_timeout 1d; | |
ssl_session_cache shared:SSL:10m; | |
ssl_session_tickets off; | |
ssl_stapling on; |
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
export class TypeHelper { | |
static nullOrUndefined(variable:any):boolean { | |
return (variable === undefined || variable === null); | |
} | |
static value(variable:any, optional:any):any { | |
if (TypeHelper.nullOrUndefined(variable)) { | |
return optional; | |
} else { | |
return variable; |
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
<plugin> | |
<groupId>com.github.kongchen</groupId> | |
<artifactId>swagger-maven-plugin</artifactId> | |
<version>${maven-swagger-plugin.version}</version> | |
<configuration> | |
<apiSources> | |
<apiSource> | |
<locations>de.mdk</locations> | |
<apiVersion>1.0</apiVersion> | |
<basePath>http://project</basePath> |