This file contains hidden or 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
| qa_analysis_backend.1.b39ogyx68to4@qa-master-00 | Checking for script in /app/prestart.sh | |
| qa_analysis_backend.1.b39ogyx68to4@qa-master-00 | Running script /app/prestart.sh | |
| qa_analysis_backend.1.b39ogyx68to4@qa-master-00 | Error : | |
| qa_analysis_backend.1.b39ogyx68to4@qa-master-00 | could not translate host name "qa-postgres.ch30adwe5og8.us-west-2.rds.amazonaws.com" to address: Temporary failure in name resolution | |
| qa_analysis_backend.1.b39ogyx68to4@qa-master-00 | | |
| qa_analysis_backend.1.b39ogyx68to4@qa-master-00 | Error : | |
| qa_analysis_backend.1.b39ogyx68to4@qa-master-00 | could not translate host name "qa-postgres.ch30adwe5og8.us-west-2.rds.amazonaws.com" to address: Temporary failure in name resolution | |
| qa_analysis_backend.1.b39ogyx68to4@qa-master-00 | | |
| qa_analysis_backend.1.b39ogyx68to4@qa-master-00 | Error : | |
| qa_analysis_backend.1.b39ogyx68to4@qa-master-00 | could not translate host name "qa-postgres.ch30adwe5og8.us-west-2.rds.amazonaws.com" to address: Temporary failure in name resolut |
This file contains hidden or 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
| location /core/ { | |
| proxy_pass http://12.105.41.41:4010/core/; | |
| auth_basic off; | |
| client_max_body_size 0; | |
| # don't cache it | |
| proxy_no_cache 1; | |
| # even if cached, don't try to use it | |
| proxy_cache_bypass 1; | |
| } |
This file contains hidden or 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
| import * as elasticsearch from "elasticsearch"; | |
| import {Client} from "elasticsearch"; | |
| let config = require('config'); | |
| export class ElasticSearchInjectable { | |
| public client: Client; | |
| constructor() { |
This file contains hidden or 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
| import * as elasticsearch from "elasticsearch"; | |
| import {Client} from "elasticsearch"; | |
| let config = require('config'); | |
| export class ElasticSearchInjectable { | |
| public client: Client; | |
| constructor() { | |
| console.log("Pienso Elastic Search service layer starting..."); |
This file contains hidden or 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
| public async testConnection(): Promise<Connection> { | |
| await this.sleep(1000); | |
| try { | |
| console.log("Testing for valid connection to database..", await getConnectionOptions() ); | |
| connection = await createConnection(); | |
| return connection; | |
| } catch (e) { | |
| getConnectionManager().get().close(); | |
| console.log("Error encountered - waiting to try again - "); |
This file contains hidden or 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
| public async applyMapping(model: DTOModel): Promise<boolean> { | |
| // Todo: Jack Murphy - Here be Dragons!!!! This whole object should be processed by a single authority - IE ML tier. | |
| try { | |
| let lens: DTOLens = await this.lenses.createQueryBuilder('lens') | |
| .where(`lens.model = ${model.id}`) | |
| .leftJoinAndSelect("lens.model", "model") | |
| .leftJoinAndSelect("lens.modifiers", "modifiers") | |
| .getOne(); | |
| // mappings is an array where the index is the old id and the value is the new id |
This file contains hidden or 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
| #!/bin/bash | |
| if [ -z "$1" ]; then | |
| VERSION=manual | |
| else | |
| VERSION=$1 | |
| fi | |
| sudo docker build -t pienso/po-api:latest -t pienso/po-api:$VERSION . && | |
| sudo docker push pienso/po-api && |
This file contains hidden or 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
| <main [ngClass]="{minimal: sidebar.isNavbarCollapsed }" *ngIf="isLoggedIn"> | |
| <app-topbar></app-topbar> | |
| <navbar></navbar> | |
| <app-help-bar [ngClass]="{collapsed: sidebar.isHelpBarCollapsed }"></app-help-bar> | |
| <div id="content" class="container-fluid"> | |
| <router-outlet></router-outlet> | |
| </div> | |
| </main> | |
| <div *ngIf="!isLoggedIn"> |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| { | |
| "add" : { | |
| "doc" : { | |
| "id" : 1, | |
| "author" : "brenckman,m.", | |
| "bibliography" : "j. ae. scs. 25, 1958, 324.", | |
| "body" : "experimental investigation of the aerodynamics of a wing in a slipstream . an experimental study of a wing in a propeller slipstream was made in order to determine the spanwise distribution of the lift increase due to slipstream at different angles of attack of the wing and at different free stream to slipstream velocity ratios . the results were intended in part as an evaluation basis for different theoretical treatments of this problem . the comparative span loading curves, together with supporting evidence, showed that a substantial part of the lift increment produced by the slipstream was due to a /destalling/ or boundary-layer-control effect . the integrated remaining lift increment, after subtracting this destalling lift, was found to agree well with a potential flow theory . an empirical evaluation of the destalling effects was made for the specific c |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| { | |
| "animals": { | |
| "0": { | |
| "common": "Aardwolf", | |
| "family": "Proteles cristatus", | |
| "id": 0, | |
| "text": "The aardwolf (Proteles cristata) is a small, insectivorous mammal, native to East and Southern Africa. Its name means \"earth wolf\" in Afrikaans and Dutch. It is also called \"maanhaar jackal\" (Afrikaans for \"mane jackal\") or civet hyena, based on its habit of secreting substances from its anal gland, a characteristic shared with the civet. The aardwolf is in the same family as the hyena. Unlike many of its relatives in the order Carnivora, the aardwolf does not hunt large animals. It eats insects, mainly termites \u2013 one aardwolf can eat about 250,000 termites during a single night, using its long, sticky tongue to capture them. The aardwolf lives in the shrublands of eastern and southern Africa \u2013 open lands covered with stunted trees and shrubs. It is nocturnal, resting in burrows during the day and emerging at night to seek food. Its diet cons |