Aucune description

= db041edf87 some changes il y a 2 ans
src db041edf87 some changes il y a 2 ans
test 252b9f8df6 first commit il y a 3 ans
.eslintrc.js 252b9f8df6 first commit il y a 3 ans
.gitignore 252b9f8df6 first commit il y a 3 ans
.prettierrc 252b9f8df6 first commit il y a 3 ans
README.md 6ec7e2f86a updated documentation il y a 2 ans
nest-cli.json 252b9f8df6 first commit il y a 3 ans
package-lock.json 6ec7e2f86a updated documentation il y a 2 ans
package.json 6ec7e2f86a updated documentation il y a 2 ans
tsconfig.build.json 252b9f8df6 first commit il y a 3 ans
tsconfig.json db818af906 add fismessage and change pipe to subscribe il y a 2 ans

README.md

Client Prototype

Description

Nest framework TypeScript starter repository.

Client Prototype is just sending the query request command to microservices and microservice return the response.

REQUEST URL

REQUEST - Plantation site

POST http://localhost:3003/request
{
	"type": "site",
	"databaseName": "fisJRSB",
}

REQUEST - FisApp DATASERVICE

Method 1 - Data Request

 POST   http://localhost:3003/request 
 {
    	"className":"APAccountProfileDataService",
        "type": "dataservice",
        "returnFormatType": "byBatchOf10",
        "filter": "a",
        "requestID": "BBB"
 }

Method 2 - fisApp

 POST   http://localhost:3003/default
{
  "header": {
    "messageType": "Query",
    "messageID": "942ecfe2-8734-4cff-998e-6a2a5a39c464",
    "messageName": "Query",
    "dateCreated": "2022-03-11T02:19:50.923Z",
    "isAggregate": false,
    "messageProducerInformation": {
      "origin": {
        "userApplication": {
          "userAppId": "getQueryMessage",
          "userAppName": "Client"
        }
      },
      "components": "Presentation"
    },
    "security": {
      "ucpId": "ABC"
    },
    "messageDataLocation": {
      "isEmbaded": true
    },
    "messageDataFormat": {
      "dataFormat": "Json"
    },
    "requestExecutionMode": 0,
    "resquestTimeOut": 0,
    "query": "General"
  },
  "data": {
    "className": "APAccountProfileDataService",
    "type": "dataservice",
    "returnFormatType": "byBatchOf10",
    "filter": "a",
    "requestID": "BBB"
  }
}

Method 3 - Microservice command

Observable

this.client.send<string, FisQueryMessage>('QUERY',<FisQueryMessage>)

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.