Browse Source

change to domain proxy

Stephen Wong 1 year ago
parent
commit
24d79c5f50

+ 3 - 3
package-lock.json

@@ -28660,9 +28660,9 @@
       "dev": true
     },
     "prettier": {
-      "version": "2.3.2",
-      "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.2.tgz",
-      "integrity": "sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==",
+      "version": "2.7.1",
+      "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz",
+      "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==",
       "dev": true
     },
     "prettier-linter-helpers": {

+ 1 - 1
package.json

@@ -72,7 +72,7 @@
     "eslint-config-prettier": "^8.3.0",
     "eslint-plugin-prettier": "^3.4.0",
     "jest": "27.0.6",
-    "prettier": "^2.3.2",
+    "prettier": "^2.7.1",
     "supertest": "^6.1.3",
     "ts-jest": "^27.0.3",
     "ts-loader": "^9.2.3",

+ 1 - 1
src/FisAppQueryModule/DefaultQuery/Fis-GraphQLQueryGenerator

@@ -1 +1 @@
-Subproject commit d37cdd5ec74e7bad7c15d2a16c3c346e22dcde9e
+Subproject commit 92f459910d885134797846149af039b946403326

+ 170 - 170
src/FisAppQueryModule/dataservice.classesList.json

@@ -1,172 +1,172 @@
 {
-    "AccountProfileDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Account Profile Data",
-            "parameter": "accountType=AP"
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "APAccountProfileDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Account Profile Data",
-            "parameter": "accountType=AP"
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "ARAccountProfileDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Account Profile Data",
-            "parameter": "accountType=AR"
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "CMAccountProfileDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Account Profile Data",
-            "parameter": "accountType=CM"
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "DocumentDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Document Data",
-            "parameter": "subsystemcode=AP"
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "ARInvoiceDocumentDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Document Data",
-            "parameter": "doccategory=IV,subsystemcode=AR"
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "APInvoiceDocumentDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Document Data",
-            "parameter": "doccategory=RC,subsystemcode=AR"
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "ARReceiptDocumentDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Document Data",
-            "parameter": "doccategory=RC,subsystemcode=AR"
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "APReceiptDocumentDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Document Data",
-            "parameter": "doccategory=RC,subsystemcode=AP"
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "OrganisationProfileDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Organisation Profile Data",
-            "parameter": ""
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "ProductProfileDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Product Profile Data",
-            "parameter": ""
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "ServiceProgramProfileDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Service Program Profile Data",
-            "parameter": ""
-        },
-        "dataName": "ServiceProgramProfileData",
-        "ucpId": "5viut3562"
-    },
-    "FisServiceProgramProfileDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Fis Service Program Data",
-            "parameter": "serviceTypeCode=dataservice"
-        },
-        "dataName": "ServiceProgramProfileSecurityAccessRightData",
-        "ucpId": "5viut3562"
-    },
-    "RoleTypeProfileDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Role Type Profile Data",
-            "parameter": ""
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "LeaveBalanceDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Leave Balance Data",
-            "parameter": ""
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "LeaveHistoryDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Leave Application Data",
-            "parameter": ""
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    },
-    "LeaveTypeProfileDataService": {
-        "http": {},
-        "CurrentState": "Ready",
-        "currentData": {
-            "serviceId": "Leave Type Profile Data",
-            "parameter": ""
-        },
-        "dataName": "DataService",
-        "ucpId": "5viut3562"
-    }
+        "AccountProfileDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Account Profile Data",
+                        "parameter": "accountType=AP"
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "APAccountProfileDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Account Profile Data",
+                        "parameter": "accountType=AP"
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "ARAccountProfileDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Account Profile Data",
+                        "parameter": "accountType=AR"
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "CMAccountProfileDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Account Profile Data",
+                        "parameter": "accountType=CM"
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "DocumentDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Document Data",
+                        "parameter": "subsystemcode=AP"
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "ARInvoiceDocumentDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Document Data",
+                        "parameter": "doccategory=IV,subsystemcode=AR"
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "APInvoiceDocumentDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Document Data",
+                        "parameter": "doccategory=RC,subsystemcode=AR"
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "ARReceiptDocumentDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Document Data",
+                        "parameter": "doccategory=RC,subsystemcode=AR"
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "APReceiptDocumentDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Document Data",
+                        "parameter": "doccategory=RC,subsystemcode=AP"
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "OrganisationProfileDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Organisation Profile Data",
+                        "parameter": ""
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "ProductProfileDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Product Profile Data",
+                        "parameter": ""
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "ServiceProgramProfileDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Service Program Profile Data",
+                        "parameter": ""
+                },
+                "dataName": "ServiceProgramProfileData",
+                "ucpId": "90bw7u584"
+        },
+        "FisServiceProgramProfileDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Fis Service Program Data",
+                        "parameter": "serviceTypeCode=dataservice"
+                },
+                "dataName": "ServiceProgramProfileSecurityAccessRightData",
+                "ucpId": "90bw7u584"
+        },
+        "RoleTypeProfileDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Role Type Profile Data",
+                        "parameter": ""
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "LeaveBalanceDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Leave Balance Data",
+                        "parameter": ""
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "LeaveHistoryDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Leave Application Data",
+                        "parameter": ""
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        },
+        "LeaveTypeProfileDataService": {
+                "http": {},
+                "CurrentState": "Ready",
+                "currentData": {
+                        "serviceId": "Leave Type Profile Data",
+                        "parameter": ""
+                },
+                "dataName": "DataService",
+                "ucpId": "90bw7u584"
+        }
 }

+ 1 - 1
src/common-service-channel/common-service-channel.controller.ts

@@ -1,6 +1,6 @@
 import { Controller, Post, Req } from '@nestjs/common';
 import { Observable } from 'rxjs';
-import { DataServiceMessage } from 'src/FisAppQueryModule/entities/DataService.entity';
+import { DataServiceMessage } from '../FisAppQueryModule/entities/DataService.entity';
 
 import { DataServiceManager } from '../FisAppQueryModule/Manager.dataservice';
 

+ 7 - 1
tsconfig.build.json

@@ -1,4 +1,10 @@
 {
   "extends": "./tsconfig.json",
-  "exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
+  "exclude": [
+    "node_modules", 
+    "test", 
+    "dist", 
+    "**/*spec.ts",
+    "src/FisAppQueryModule/DefaultQuery/Fis-GraphQLQueryGenerator/GraphQLSourceInput/*"
+  ]
 }

+ 3 - 3
tsconfig.json

@@ -1,5 +1,5 @@
 {
-  "compilerOptions": {
+  "compilerOptions": {  
     "module": "commonjs",
     "declaration": true,
     "removeComments": true,
@@ -9,10 +9,10 @@
     "target": "es2017",
     "sourceMap": true,
     "outDir": "./dist",
-    "baseUrl": "./",
     "incremental": true,
     "skipLibCheck": true,
-    "resolveJsonModule" : true
+    "resolveJsonModule" : true 
   },
   "include": ["src/**/*","src/**/**/*","src/**/dlls/*.dll"]
+  // NOTE: More options at tsconfig.build.json
 }