Skip to content

Commit

Permalink
DMP-2221: Checkin correction to SOAPUI. Also added postman equivalent…
Browse files Browse the repository at this point in the history
… file (exl… (#258)
  • Loading branch information
mestebanez authored Feb 9, 2024
1 parent c273409 commit 28953ec
Show file tree
Hide file tree
Showing 4 changed files with 607 additions and 80 deletions.
231 changes: 231 additions & 0 deletions README-ContextRegistryService-postman-project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
{
"info": {
"_postman_id": "ddd82b4a-91c3-45af-8c63-6cf858dc7996",
"name": "ContextRegistryService",
"description": "\n",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "15829068",
"_collection_link": "https://speeding-resonance-716248.postman.co/workspace/darts-gateway~2dacd0ff-d9b8-4288-9aba-128732a590f2/collection/15829068-ddd82b4a-91c3-45af-8c63-6cf858dc7996?action=share&source=collection_link&creator=15829068"
},
"item": [
{
"name": "register",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "text/xml; charset=utf-8"
}
],
"body": {
"mode": "raw",
"raw": "<S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\">\n <S:Header>\n <ServiceContext token=\"temporary/127.0.0.1-1700061962100--7690714146928305881\" xmlns=\"http://context.core.datamodel.fs.documentum.emc.com/\" xmlns:ns2=\"http://properties.core.datamodel.fs.documentum.emc.com/\" xmlns:ns3=\"http://profiles.core.datamodel.fs.documentum.emc.com/\" xmlns:ns4=\"http://query.core.datamodel.fs.documentum.emc.com/\" xmlns:ns5=\"http://content.core.datamodel.fs.documentum.emc.com/\" xmlns:ns6=\"http://core.datamodel.fs.documentum.emc.com/\">\n <Identities password=\"{{passwordToUse}}\" repositoryName=\"moj_darts\" userName=\"{{userToUse}}\" xsi:type=\"RepositoryIdentity\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"></Identities>\n <Profiles allowAsyncContentTransfer=\"false\" allowCachedContentTransfer=\"false\" isProcessOLELinks=\"false\" transferMode=\"MTOM\" xsi:type=\"ns3:ContentTransferProfile\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"></Profiles>\n </ServiceContext>\n </S:Header>\n <S:Body>\n <ns8:register xmlns:ns8=\"http://services.rt.fs.documentum.emc.com/\" xmlns:ns7=\"http://core.datamodel.fs.documentum.emc.com/\" xmlns:ns6=\"http://content.core.datamodel.fs.documentum.emc.com/\" xmlns:ns5=\"http://query.core.datamodel.fs.documentum.emc.com/\" xmlns:ns4=\"http://profiles.core.datamodel.fs.documentum.emc.com/\" xmlns:ns3=\"http://properties.core.datamodel.fs.documentum.emc.com/\" xmlns:ns2=\"http://context.core.datamodel.fs.documentum.emc.com/\">\n <context>\n <ns2:Identities xsi:type=\"ns2:RepositoryIdentity\" repositoryName=\"moj_darts\" password=\"{{passwordToUse}}\" userName=\"{{userToUse}}\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"></ns2:Identities>\n <ns2:Profiles xsi:type=\"ns4:ContentTransferProfile\" isProcessOLELinks=\"false\" allowAsyncContentTransfer=\"false\" allowCachedContentTransfer=\"false\" transferMode=\"MTOM\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"></ns2:Profiles>\n </context>\n <host>http://localhost:8070/service/darts/</host>\n </ns8:register>\n </S:Body>\n</S:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{gatewayurl}}",
"host": [
"{{gatewayurl}}"
]
}
},
"response": []
},
{
"name": "register with auth token",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "text/xml; charset=utf-8"
}
],
"body": {
"mode": "raw",
"raw": "<S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\">\n \t<S:Header>\n <wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\"><wsse:BinarySecurityToken QualificationValueType=\"http://schemas.emc.com/documentum#ResourceAccessToken\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\" wsu:Id=\"RAD\">{{tokenToUse}}</wsse:BinarySecurityToken></wsse:Security>\n \t</S:Header>\n \t<S:Body>\n <ns8:register xmlns:ns8=\"http://services.rt.fs.documentum.emc.com/\" xmlns:ns7=\"http://core.datamodel.fs.documentum.emc.com/\" xmlns:ns6=\"http://content.core.datamodel.fs.documentum.emc.com/\" xmlns:ns5=\"http://query.core.datamodel.fs.documentum.emc.com/\" xmlns:ns4=\"http://profiles.core.datamodel.fs.documentum.emc.com/\" xmlns:ns3=\"http://properties.core.datamodel.fs.documentum.emc.com/\" xmlns:ns2=\"http://context.core.datamodel.fs.documentum.emc.com/\">\n <context>\n <ns2:Identities xsi:type=\"ns2:RepositoryIdentity\" repositoryName=\"moj_darts\" password=\"{{passwordToUse}}\" userName=\"{{userToUse}}\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"></ns2:Identities>\n <ns2:Profiles xsi:type=\"ns4:ContentTransferProfile\" isProcessOLELinks=\"false\" allowAsyncContentTransfer=\"false\" allowCachedContentTransfer=\"false\" transferMode=\"MTOM\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"></ns2:Profiles>\n </context>\n <host>http://localhost:8070/service/darts/</host>\n </ns8:register>\n </S:Body>\n</S:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{gatewayurl}}",
"host": [
"{{gatewayurl}}"
]
}
},
"response": []
},
{
"name": "lookup with auth token",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "text/xml; charset=utf-8"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://services.rt.fs.documentum.emc.com/\">\n <soapenv:Header>\n <wsse:Security xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\"><wsse:BinarySecurityToken QualificationValueType=\"http://schemas.emc.com/documentum#ResourceAccessToken\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\" wsu:Id=\"RAD\">{{tokenToUse}}</wsse:BinarySecurityToken></wsse:Security>\n </soapenv:Header>\n <soapenv:Body>\n <ser:lookup>\n <token>{{tokenToUse}}</token>\n </ser:lookup>\n </soapenv:Body>\n</soapenv:Envelope>\n",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{gatewayurl}}",
"host": [
"{{gatewayurl}}"
]
}
},
"response": []
},
{
"name": "lookup",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "text/xml; charset=utf-8"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://services.rt.fs.documentum.emc.com/\">\n <soapenv:Header>\n <ServiceContext token=\"temporary/127.0.0.1-1700061962100--7690714146928305881\" xmlns=\"http://context.core.datamodel.fs.documentum.emc.com/\" xmlns:ns2=\"http://properties.core.datamodel.fs.documentum.emc.com/\" xmlns:ns3=\"http://profiles.core.datamodel.fs.documentum.emc.com/\" xmlns:ns4=\"http://query.core.datamodel.fs.documentum.emc.com/\" xmlns:ns5=\"http://content.core.datamodel.fs.documentum.emc.com/\" xmlns:ns6=\"http://core.datamodel.fs.documentum.emc.com/\">\n <Identities password=\"{{passwordToUse}}\" repositoryName=\"moj_darts\" userName=\"{{userToUse}}\" xsi:type=\"RepositoryIdentity\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"></Identities>\n <Profiles allowAsyncContentTransfer=\"false\" allowCachedContentTransfer=\"false\" isProcessOLELinks=\"false\" transferMode=\"MTOM\" xsi:type=\"ns3:ContentTransferProfile\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"></Profiles>\n </ServiceContext>\n </soapenv:Header>\n <soapenv:Body>\n <ser:lookup>\n <token>{{tokenToUse}}</token>\n </ser:lookup>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{gatewayurl}}",
"host": [
"{{gatewayurl}}"
]
}
},
"response": []
},
{
"name": "unregister",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "text/xml; charset=utf-8"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://services.rt.fs.documentum.emc.com/\">\n <soapenv:Header>\n <ServiceContext token=\"temporary/127.0.0.1-1699627775508-1813438193751837662\" xmlns=\"http://context.core.datamodel.fs.documentum.emc.com/\" xmlns:ns2=\"http://properties.core.datamodel.fs.documentum.emc.com/\" xmlns:ns3=\"http://profiles.core.datamodel.fs.documentum.emc.com/\" xmlns:ns4=\"http://query.core.datamodel.fs.documentum.emc.com/\" xmlns:ns5=\"http://content.core.datamodel.fs.documentum.emc.com/\" xmlns:ns6=\"http://core.datamodel.fs.documentum.emc.com/\">\n <Identities password=\"{{passwordToUse}}\" repositoryName=\"moj_darts\" userName=\"{{userToUse}}\" xsi:type=\"RepositoryIdentity\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/>\n <Profiles allowAsyncContentTransfer=\"false\" allowCachedContentTransfer=\"false\" isProcessOLELinks=\"false\" transferMode=\"MTOM\" xsi:type=\"ns3:ContentTransferProfile\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/>\n </ServiceContext>\n </soapenv:Header>\n <soapenv:Body>\n <ser:unregister>\n <token>{{tokenToUse}}</token>\n </ser:unregister>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{gatewayurl}}",
"host": [
"{{gatewayurl}}"
]
}
},
"response": []
},
{
"name": "unregister with auth token",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "text/xml; charset=utf-8"
}
],
"body": {
"mode": "raw",
"raw": "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ser=\"http://services.rt.fs.documentum.emc.com/\">\n <soapenv:Header>\n <ServiceContext token=\"temporary/127.0.0.1-1699627775508-1813438193751837662\" xmlns=\"http://context.core.datamodel.fs.documentum.emc.com/\" xmlns:ns2=\"http://properties.core.datamodel.fs.documentum.emc.com/\" xmlns:ns3=\"http://profiles.core.datamodel.fs.documentum.emc.com/\" xmlns:ns4=\"http://query.core.datamodel.fs.documentum.emc.com/\" xmlns:ns5=\"http://content.core.datamodel.fs.documentum.emc.com/\" xmlns:ns6=\"http://core.datamodel.fs.documentum.emc.com/\">\n <Identities password=\"{{passwordToUse}}\" repositoryName=\"moj_darts\" userName=\"{{userToUse\" xsi:type=\"RepositoryIdentity\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/>\n <Profiles allowAsyncContentTransfer=\"false\" allowCachedContentTransfer=\"false\" isProcessOLELinks=\"false\" transferMode=\"MTOM\" xsi:type=\"ns3:ContentTransferProfile\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/>\n </ServiceContext>\n </soapenv:Header>\n <soapenv:Body>\n <ser:unregister>\n <token>${#Project#token}</token>\n </ser:unregister>\n </soapenv:Body>\n</soapenv:Envelope>",
"options": {
"raw": {
"language": "xml"
}
}
},
"url": {
"raw": "{{gatewayurl}}",
"host": [
"{{gatewayurl}}"
]
}
},
"response": []
}
],
"variable": [
{
"key": "ContextRegistryServicePortBaseUrl",
"value": "http://test",
"type": "any"
},
{
"key": "user",
"value": ""
},
{
"key": "password",
"value": ""
},
{
"key": "myuser",
"value": ""
},
{
"key": "mypassword",
"value": ""
}
]
}
Loading

0 comments on commit 28953ec

Please sign in to comment.