Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DFM/ACDC - FGT integration support #119

Open
joaoluis-pdm opened this issue Sep 1, 2022 · 2 comments
Open

DFM/ACDC - FGT integration support #119

joaoluis-pdm opened this issue Sep 1, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@joaoluis-pdm
Copy link
Contributor

Support provisioning of a few products, batches, and serial numbers used in the demo of PharmaLedger-IMI/acdc-components#30

@joaoluis-pdm
Copy link
Contributor Author

fgt-tst-pl runned out of disk space #124

Creating a wsCreateStuffDfm2.js script just to support a dfm2 scenario to perform the missing shipments and sales.

@joaoluis-pdm
Copy link
Contributor Author

joaoluis-pdm commented Nov 16, 2022

Mutate the latest events to match ALPV1.

acdc TST:

-- eventdId a1494ad0-e755-44fa-9847-e82f47e15d6d "createdOn": "2022-09-09T17:03:01.633Z"
acdc=> update eventinput set eventinputdata='{"productCode":"02113100000028","batch":"ALPV1","serialNumber":"93342708522623", "expiryDate":"290620","snCheckDateTime":"2022-07-17T13:41:39.121Z","snCheckLocation":{"latitude":42.242979,"longitude":-3.658588},"did":"AcdcEventDataGenerator","batchDsuStatus":true,"productDsuStatus":false}' where eventinputid='05ed621a-bcac-4d8f-9493-cd9096521a91';

acdc=> UPDATE appresource SET value='https://api-mah-bayer-fgt-dev.pharmaledger.pdmfc.com/traceability' WHERE key='fgt.url';

acdc=> UPDATE appresource SET value='Onfvp GHSVZwHkZmZ5ZwR5ByEbnKZkp1A1L2uOHmAwqKWyHTSmp3pjpzD=' WHERE key='fgt.authorization';

acdc=> UPDATE appresource SET value='0.9.1' WHERE key='acdc.version';

acdc DEV:

-- eventdId ae06686e-d142-4212-9328-f8b7a6df2c48 "createdOn": "2022-08-23T10:58:15.122Z"
acdc=> update eventinput set eventinputdata='{"productCode":"02113100000028","batch":"ALPV1","serialNumber":"93342708522623", "expiryDate":"290620","snCheckDateTime":"2022-07-17T13:41:39.121Z","snCheckLocation":{"latitude":42.242979,"longitude":-3.658588},"did":"AcdcEventDataGenerator","batchDsuStatus":true,"productDsuStatus":false}' where eventinputid='fe006e8e-8310-4004-890f-cef5223337ac';


acdc=> UPDATE appresource SET value='https://api-mah-bayer-fgt-dev.pharmaledger.pdmfc.com/traceability' WHERE key='fgt.url';

acdc=> UPDATE appresource SET value='Onfvp GHSVZwHkZmZ5ZwR5ByEbnKZkp1A1L2uOHmAwqKWyHTSmp3pjpzD=' WHERE key='fgt.authorization';

acdc=> UPDATE appresource SET value='0.9.1' WHERE key='acdc.version';

Both environments point to https://fgt-dev.pharmaledger.pdmfc.com for the time being.

joaoluis-pdm added a commit to PharmaLedger-IMI/acdc-components that referenced this issue Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant