-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinsomnia_workspace.json
1 lines (1 loc) · 5.98 KB
/
insomnia_workspace.json
1
{"_type":"export","__export_format":4,"__export_date":"2021-05-22T17:06:39.624Z","__export_source":"insomnia.desktop.app:v2021.3.0","resources":[{"_id":"greq_decad13ed7f34fd290f2a124dcc2515e","parentId":"wrk_38bc96235ac44f3cadaa54ad493f55ea","modified":1621699259048,"created":1621535944972,"url":"{{address}}:{{ port }}","name":"delete user","description":"","protoFileId":"pf_82aa06b3ff574ad1b70643f7cc3007c0","protoMethodName":"/EcommerceUser.UserService/delete","body":{"text":"{\n\t\"id\" : \"6d8edfd4-68b8-4220-b5e2-7ce42a144b79\",\n}\n"},"metaSortKey":-1621535944972,"idPrivate":false,"_type":"grpc_request"},{"_id":"wrk_38bc96235ac44f3cadaa54ad493f55ea","parentId":null,"modified":1621535802284,"created":1621535802284,"name":"ecommerce_user","description":"","scope":"collection","_type":"workspace"},{"_id":"greq_161b5dcf09dd41f881be50319b68a09d","parentId":"wrk_38bc96235ac44f3cadaa54ad493f55ea","modified":1621698873999,"created":1621535931382,"url":"{{ address }}:{{ port }}","name":"update user","description":"","protoFileId":"pf_82aa06b3ff574ad1b70643f7cc3007c0","protoMethodName":"/EcommerceUser.UserService/update","body":{"text":"{\n\t\"user\" : {\n\t\t\t\"id\": \"16282da7-c0e1-4d01-8615-d067d7475a50\",\n\t\t\t\"name\": \"seila\",\n\t\t\t\"email\": \"aa@aa\",\n\t\t\t\"cpf\": \"41234214321\",\n\t\t\t\"role\": \"funcionario\",\n\t\t\t\"address\": 222,\n\t\t\t\"password\": \"1234\",\n\t\t\t\"card\": {\n\t\t\t\t\"id\": \"00833ca2-5b65-4b02-9690-af9120ecd4db\",\n\t\t\t\t\"name\": \"seila5\",\n\t\t\t\t\"securityCode\": \"644\",\n\t\t\t\t\"validThru\": \"aew\",\n\t\t\t\t\"number\": \"1234\"\n\t\t\t}\n\t}\n}"},"metaSortKey":-1621535931382,"idPrivate":false,"_type":"grpc_request"},{"_id":"greq_c43c770d702041f8adc7144365a5e97a","parentId":"wrk_38bc96235ac44f3cadaa54ad493f55ea","modified":1621698998336,"created":1621535896909,"url":"{{ address }}:{{port}}","name":"select by id user","description":"","protoFileId":"pf_82aa06b3ff574ad1b70643f7cc3007c0","protoMethodName":"/EcommerceUser.UserService/select_by_id","body":{"text":"{\n\t\"id\" : \"244c4753-6204-4418-934b-658850bca5da\"\n}"},"metaSortKey":-1621535896909,"idPrivate":false,"_type":"grpc_request"},{"_id":"greq_17edddf4291e49b8a9265455c0c79b41","parentId":"wrk_38bc96235ac44f3cadaa54ad493f55ea","modified":1621536802421,"created":1621535865234,"url":"{{ address}}: {{ port}}","name":"create user","description":"","protoFileId":"pf_82aa06b3ff574ad1b70643f7cc3007c0","protoMethodName":"/EcommerceUser.UserService/create","body":{"text":"{\n\t\"name\" : \"Vinicius\" ,\n\t\"password\" : \"12345\",\n\t\"role\" : \"funcionario\",\n\t\"email\" : \"[email protected]\",\n\t\"address\" : \"seila\",\n\t\"cpf\": \"65312302124\",\n\t\"card\" : {\n\t\t \"name\": \"Vinicius\",\n\t\t \"securityCode\": \"234\",\n\t\t \"validThru\" : \"24/02\",\n\t\t\t\"number\" : \"2343765209741232\"\n\t}\n\t\n}"},"metaSortKey":-1621535865234,"idPrivate":false,"_type":"grpc_request"},{"_id":"greq_77319a6a29104b7eae20ec4c87ede742","parentId":"wrk_38bc96235ac44f3cadaa54ad493f55ea","modified":1621536957673,"created":1621535834611,"url":"{{ address}}:{{ port}}","name":"select_all user","description":"","protoFileId":"pf_82aa06b3ff574ad1b70643f7cc3007c0","protoMethodName":"/EcommerceUser.UserService/select_all","body":{"text":"{}"},"metaSortKey":-1621535834611,"idPrivate":false,"_type":"grpc_request"},{"_id":"env_04e5d9d961465377a4cd1f4a76c9e13ca0b48c2a","parentId":"wrk_38bc96235ac44f3cadaa54ad493f55ea","modified":1621536971126,"created":1621535802352,"name":"Base Environment","data":{"port":50051,"address":"localhost"},"dataPropertyOrder":{"&":["port","address"]},"color":null,"isPrivate":false,"metaSortKey":1621535802352,"_type":"environment"},{"_id":"jar_04e5d9d961465377a4cd1f4a76c9e13ca0b48c2a","parentId":"wrk_38bc96235ac44f3cadaa54ad493f55ea","modified":1621535802354,"created":1621535802354,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_c04ac1edba884b1e9fc84a3d16b54456","parentId":"wrk_38bc96235ac44f3cadaa54ad493f55ea","modified":1621535802287,"created":1621535802287,"fileName":"ecommerce_user","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"pf_82aa06b3ff574ad1b70643f7cc3007c0","parentId":"wrk_38bc96235ac44f3cadaa54ad493f55ea","modified":1621541695818,"created":1621535830340,"name":"user.proto","protoText":"syntax = \"proto3\";\n// import \"google/protobuf/empty.proto\";\n\npackage EcommerceUser;\n// The greeting service definition.\nservice UserService {\n // Sends a greeting\n rpc create (UserRequest) returns (User) {}\n rpc update (UserRequest) returns (User) {}\n rpc delete (UserID) returns (User) {}\n rpc select_all (empty) returns (UserList) {}\n rpc select_by_id (UserID) returns (User) {}\n\n}\nmessage empty{}\n\nmessage UserID {\n string id = 1;\n}\nmessage UserName {\n string name = 1;\n}\n\n\nenum Role {\n cliente = 0;\n funcionario = 1;\n}\n\n// The request message containing the user's name.\nmessage UserRequest {\n User user = 1;\n}\nmessage User {\n string id =1;\n string name = 2;\n string email = 3;\n string cpf = 5;\n Role role = 6;\n string address = 7;\n string password = 8;\n Card card = 9;\n\n}\nmessage Card {\n string id= 1;\n string name= 2;\n string securityCode =3;\n string validThru =4;\n string number = 5;\n\n}\n\nmessage UserList {\n repeated User users = 1;\n}\n\nmessage UserResponse{\n UserList users =1 ;\n}","_type":"proto_file"},{"_id":"env_1435a8bc7d6a490e8c2d32423f4f4461","parentId":"env_04e5d9d961465377a4cd1f4a76c9e13ca0b48c2a","modified":1621699316115,"created":1621699292872,"name":"Development","data":{"port":50051,"address":"localhost"},"dataPropertyOrder":{"&":["port","address"]},"color":null,"isPrivate":false,"metaSortKey":1621699292872,"_type":"environment"},{"_id":"env_75da23857ab942f091908efb34985e71","parentId":"env_04e5d9d961465377a4cd1f4a76c9e13ca0b48c2a","modified":1621699322103,"created":1621699304967,"name":"Production","data":{"port":50051,"address":"localhost"},"dataPropertyOrder":{"&":["port","address"]},"color":null,"isPrivate":false,"metaSortKey":1621699304967,"_type":"environment"}]}