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
    
  
  
    
  | type Handler interface { | |
| ServeHTTP(ResponseWriter, *Request) // routing implementer | |
| } | |
| type HandlerFunc func(ResponseWriter, *Request) | |
| // ServeHTTP calls f(w, r). | |
| func (f HandlerFunc) ServeHTTP(w ResponseWriter, r *Request) { | |
| f(w, r) | |
| } | 
  
    
      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
    
  
  
    
  | // func loginController(w http.ResponseWriter, r *http.Request) { | |
| // if r.Method == "GET" { | |
| // data, err := ioutil.ReadFile("public/index.html") | |
| // if err != nil { | |
| // panic(err) | |
| // } | |
| // fmt.Fprintf(w, string(data)) | |
| // } else { | |
| // r.ParseForm() | 
  
    
      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
    
  
  
    
  | var app = require('express')(); | |
| var http = require('http').Server(app); | |
| var io = require('socket.io')(http); | |
| var port = process.env.PORT || 3000; | |
| app.get('/', function(req, res){ | |
| res.sendFile(__dirname + '/index.html'); | |
| }); | |
| let queue = []; | 
  
    
      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
    
  
  
    
  | (26 sloc) 827 Bytes | |
| version: '2' | |
| services: | |
| stara-frontend: | |
| build: | |
| context: . | |
| # Supply environment variables - use STARA prefix for the ones that go to UI | |
| environment: | |
| - MODE=development | 
  
    
      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 { LOCALE_ID, NgModule } from '@angular/core'; | |
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | |
| import { DateInputsModule } from '@progress/kendo-angular-dateinputs'; | |
| import { AppComponent } from './app.component'; | |
| /* Loading CLDR data */ | |
| // import { load } from '@progress/kendo-angular-intl'; | 
  
    
      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
    
  
  
    
  | if [ "$MODE" == "development" ] || [ "$MODE" == "singletest" ]; then | |
| CONFIG_OUTFILE="/app/angular/src/assets/config.json" | |
| # Clean cached version, if any | |
| if [ -f "$CONFIG_OUTFILE" ]; then | |
| rm -f $CONFIG_OUTFILE | |
| fi | |
| else | |
| CONFIG_OUTFILE="/app/angular/dist/assets/config.json" | 
  
    
      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
    
  
  
    
  | ################################################################ | |
| # Note, for performance reasons the order of statements matters! | |
| ################################################################ | |
| # CIS = Docker security guidelines 1.13.0 | |
| # Skipped CIS: 4.4 (by infra) | |
| # CIS 4.2. trusted base image, versio pinning | |
| # !!! OBS OBS OBS! When updating FROM, also update exact same name to .gitlab-ci.yml / BASE_IMAGE !!!! | 
  
    
      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
    
  
  
    
  | version: '2' | |
| services: | |
| stara-frontend: | |
| build: | |
| context: . | |
| # Supply environment variables - use STARA prefix for the ones that go to UI | |
| environment: | |
| - MODE=development | |
| - STARA_BACKEND_URL=http://it-dl723-hki:8040/web | 
  
    
      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
    
  
  
    
  | { | |
| "request": { | |
| "plcDataset": { | |
| "dsServiceOrder": { | |
| "prods:hasChanges": true, | |
| "eServiceOrder": [ | |
| { | |
| "prods:id": "eServiceOrder17088768", | |
| "prods:rowState": "created", | |
| "OrderNum": 0, | 
  
    
      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
    
  
  
    
  | { | |
| "request": { | |
| "plcDataset": { | |
| "dsServiceOrder": { | |
| "prods:hasChanges": true, | |
| "eServiceOrder": [ | |
| { | |
| "prods:id": "eServiceOrder17088768", | |
| "prods:rowState": "created", | |
| "OrderNum": 0, |