diff --git a/openapi/components/schemas/workflows/common-import-credentials.yml b/openapi/components/schemas/workflows/common-import-credentials.yml deleted file mode 100644 index 0f9ff58f4..000000000 --- a/openapi/components/schemas/workflows/common-import-credentials.yml +++ /dev/null @@ -1,34 +0,0 @@ -id: https://w3id.org/traceability/#common-import-credentials -title: Common Import Credentials -description: >- - Common credentials for an importation workflow. -tags: - - Steel - - Agriculture - - Ecommerce -credentials: - - id: https://w3id.org/traceability/#CommercialInvoiceCredential - name: Commercial Invoice Credential - - id: https://w3id.org/traceability/#CTPATCertificate - name: CTPAT Certificate - - id: https://w3id.org/traceability/#IntentToImportCredential - name: Intent To Import Credential - - id: https://w3id.org/traceability/#MultiModalBillOfLadingCredential - name: Multimodal Bill Of Lading Credential - - id: https://w3id.org/traceability/#PurchaseOrderCredential - name: Purchase Order Credential -mermaid: >- - sequenceDiagram - title: Common Import Credentials - participant A as Importer - participant B as Customs Broker - participant C as TraceAPI - participant D as CBP - A->>C: IntentToImport - C->>C: Verification - C->>D: Authorized Data - A->>C: CommercialInvoice - A->>C: PurchaseOrder - B->>C: MultiModalBillOfLading - A->>C: CTPAT (Verify) - C->>D: Authorized Data diff --git a/openapi/openapi.bundled.json b/openapi/openapi.bundled.json index f059a5b99..c4b1e2aa7 100644 --- a/openapi/openapi.bundled.json +++ b/openapi/openapi.bundled.json @@ -937681,55 +937681,6 @@ } } }, - "/schemas/workflows/common-import-credentials.yml": { - "get": { - "tags": [ - "workflows" - ], - "responses": { - "200": { - "description": "successfully issued common-import-credentials schema.", - "content": { - "application/yml": { - "schema": { - "id": "https://w3id.org/traceability/#common-import-credentials", - "title": "Common Import Credentials", - "description": "Common credentials for an importation workflow.", - "tags": [ - "Steel", - "Agriculture", - "Ecommerce" - ], - "credentials": [ - { - "id": "https://w3id.org/traceability/#CommercialInvoiceCredential", - "name": "Commercial Invoice Credential" - }, - { - "id": "https://w3id.org/traceability/#CTPATCertificate", - "name": "CTPAT Certificate" - }, - { - "id": "https://w3id.org/traceability/#IntentToImportCredential", - "name": "Intent To Import Credential" - }, - { - "id": "https://w3id.org/traceability/#MultiModalBillOfLadingCredential", - "name": "Multimodal Bill Of Lading Credential" - }, - { - "id": "https://w3id.org/traceability/#PurchaseOrderCredential", - "name": "Purchase Order Credential" - } - ], - "mermaid": "sequenceDiagram\n title: Common Import Credentials\n participant A as Importer\n participant B as Customs Broker\n participant C as TraceAPI\n participant D as CBP\n A->>C: IntentToImport\n C->>C: Verification\n C->>D: Authorized Data\n A->>C: CommercialInvoice\n A->>C: PurchaseOrder\n B->>C: MultiModalBillOfLading\n A->>C: CTPAT (Verify)\n C->>D: Authorized Data" - } - } - } - } - } - } - }, "/schemas/workflows/intent-to-import.yml": { "get": { "tags": [ diff --git a/openapi/openapi.yml b/openapi/openapi.yml index 4d7fef191..489d8a1a8 100644 --- a/openapi/openapi.yml +++ b/openapi/openapi.yml @@ -3492,19 +3492,6 @@ paths: $ref: './components/schemas/workflows/cbp-steel-tech-demo-2023.yml' - /schemas/workflows/common-import-credentials.yml: - get: - tags: - - workflows - responses: - '200': - description: 'successfully issued common-import-credentials schema.' - content: - application/yml: - schema: - $ref: './components/schemas/workflows/common-import-credentials.yml' - - /schemas/workflows/intent-to-import.yml: get: tags: diff --git a/sections/workflows.html b/sections/workflows.html index 6acfb4ac5..1c55efa04 100644 --- a/sections/workflows.html +++ b/sections/workflows.html @@ -372,63 +372,6 @@
sequenceDiagram - title: Common Import Credentials - participant A as Importer - participant B as Customs Broker - participant C as TraceAPI - participant D as CBP - A->>C: IntentToImport - C->>C: Verification - C->>D: Authorized Data - A->>C: CommercialInvoice - A->>C: PurchaseOrder - B->>C: MultiModalBillOfLading - A->>C: CTPAT (Verify) - C->>D: Authorized Data-
Common credentials for an importation workflow.
- Credentials Used: -id: https://w3id.org/traceability/#common-import-credentials -title: Common Import Credentials -description: >- - Common credentials for an importation workflow. -tags: - - Steel - - Agriculture - - Ecommerce -credentials: - - id: https://w3id.org/traceability/#CommercialInvoiceCredential - name: Commercial Invoice Credential - - id: https://w3id.org/traceability/#CTPATCertificate - name: CTPAT Certificate - - id: https://w3id.org/traceability/#IntentToImportCredential - name: Intent To Import Credential - - id: https://w3id.org/traceability/#MultiModalBillOfLadingCredential - name: Multimodal Bill Of Lading Credential - - id: https://w3id.org/traceability/#PurchaseOrderCredential - name: Purchase Order Credential -mermaid: >- - sequenceDiagram - title: Common Import Credentials - participant A as Importer - participant B as Customs Broker - participant C as TraceAPI - participant D as CBP - A->>C: IntentToImport - C->>C: Verification - C->>D: Authorized Data - A->>C: CommercialInvoice - A->>C: PurchaseOrder - B->>C: MultiModalBillOfLading - A->>C: CTPAT (Verify) - C->>D: Authorized Data -- -
sequenceDiagram participant A as Importer of Record diff --git a/testsuite/jest-html-reporters-attach/result.js b/testsuite/jest-html-reporters-attach/result.js index b4b55af55..9711f3c0b 100644 --- a/testsuite/jest-html-reporters-attach/result.js +++ b/testsuite/jest-html-reporters-attach/result.js @@ -1 +1 @@ -window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":2,"numPassedTests":5,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":2,"numTotalTests":5,"startTime":1721934723431,"success":false,"testResults":[{"leaks":false,"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1721934724530,"runtime":909,"slow":false,"start":1721934723621},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/yaml-schema.sanity.test.js","testResults":[{"ancestorTitles":[],"duration":146,"failureDetails":[],"failureMessages":[],"fullName":"can validate schema with loader.","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"can validate schema with loader."}],"failureMessage":null},{"leaks":false,"numFailingTests":0,"numPassingTests":4,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1721934726091,"runtime":2482,"slow":false,"start":1721934723609},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/schemas-sanity.test.js","testResults":[{"ancestorTitles":[],"duration":2,"failureDetails":[],"failureMessages":[],"fullName":"schemas is an array","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"schemas is an array"},{"ancestorTitles":[],"duration":1,"failureDetails":[],"failureMessages":[],"fullName":"all schemas have an example","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas have an example"},{"ancestorTitles":[],"duration":8,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid json","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid json"},{"ancestorTitles":[],"duration":1680,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid"}],"failureMessage":null}],"wasInterrupted":false,"config":{"bail":0,"changedFilesWithAncestor":false,"collectCoverage":false,"collectCoverageFrom":[],"coverageDirectory":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/coverage","coverageProvider":"babel","coverageReporters":["json","text","lcov","clover"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":3,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"passWithNoTests":false,"projects":[],"reporters":[["default",{}],["/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/jest-html-reporters/index.js",{"maxWorkers":1,"pageTitle":"Traceability Vocabulary Test Suite","publicPath":"../../docs/testsuite","filename":"index.html","expand":true}]],"rootDir":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas","runTestsByPath":false,"skipFilter":false,"testFailureExitCode":1,"testPathPattern":"","testSequencer":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"watch":false,"watchAll":false,"watchman":true},"endTime":1721934726115,"_reporterOptions":{"publicPath":"../../docs/testsuite","filename":"index.html","expand":true,"pageTitle":"Traceability Vocabulary Test Suite","hideIcon":false,"testCommand":"npx jest","openReport":false,"failureMessageOnly":false,"enableMergeData":false,"dataMergeLevel":1,"maxWorkers":1},"attachInfos":{}}) \ No newline at end of file +window.jest_html_reporters_callback__({"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":2,"numPassedTests":5,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":2,"numTotalTests":5,"startTime":1723749643912,"success":false,"testResults":[{"leaks":false,"numFailingTests":0,"numPassingTests":1,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1723749645030,"runtime":921,"slow":false,"start":1723749644109},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/yaml-schema.sanity.test.js","testResults":[{"ancestorTitles":[],"duration":159,"failureDetails":[],"failureMessages":[],"fullName":"can validate schema with loader.","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"can validate schema with loader."}],"failureMessage":null},{"leaks":false,"numFailingTests":0,"numPassingTests":4,"numPendingTests":0,"numTodoTests":0,"perfStats":{"end":1723749646534,"runtime":2435,"slow":false,"start":1723749644099},"skipped":false,"testFilePath":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/__tests__/schemas-sanity.test.js","testResults":[{"ancestorTitles":[],"duration":2,"failureDetails":[],"failureMessages":[],"fullName":"schemas is an array","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"schemas is an array"},{"ancestorTitles":[],"duration":1,"failureDetails":[],"failureMessages":[],"fullName":"all schemas have an example","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas have an example"},{"ancestorTitles":[],"duration":9,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid json","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid json"},{"ancestorTitles":[],"duration":1651,"failureDetails":[],"failureMessages":[],"fullName":"all schemas examples are valid","invocations":1,"location":null,"numPassingAsserts":0,"status":"passed","title":"all schemas examples are valid"}],"failureMessage":null}],"wasInterrupted":false,"config":{"bail":0,"changedFilesWithAncestor":false,"collectCoverage":false,"collectCoverageFrom":[],"coverageDirectory":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/coverage","coverageProvider":"babel","coverageReporters":["json","text","lcov","clover"],"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"expand":false,"findRelatedTests":false,"forceExit":false,"json":false,"lastCommit":false,"listTests":false,"logHeapUsage":false,"maxConcurrency":5,"maxWorkers":3,"noStackTrace":false,"nonFlagArgs":[],"notify":false,"notifyMode":"failure-change","onlyChanged":false,"onlyFailures":false,"passWithNoTests":false,"projects":[],"reporters":[["default",{}],["/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/jest-html-reporters/index.js",{"maxWorkers":1,"pageTitle":"Traceability Vocabulary Test Suite","publicPath":"../../docs/testsuite","filename":"index.html","expand":true}]],"rootDir":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas","runTestsByPath":false,"skipFilter":false,"testFailureExitCode":1,"testPathPattern":"","testSequencer":"/home/runner/work/traceability-vocab/traceability-vocab/packages/traceability-schemas/node_modules/@jest/test-sequencer/build/index.js","updateSnapshot":"new","useStderr":false,"watch":false,"watchAll":false,"watchman":true},"endTime":1723749646555,"_reporterOptions":{"publicPath":"../../docs/testsuite","filename":"index.html","expand":true,"pageTitle":"Traceability Vocabulary Test Suite","hideIcon":false,"testCommand":"npx jest","openReport":false,"failureMessageOnly":false,"enableMergeData":false,"dataMergeLevel":1,"maxWorkers":1},"attachInfos":{}}) \ No newline at end of file