Advertisement
Guest User

Untitled

a guest
Mar 9th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.19 KB | None | 0 0
  1. [
  2. {
  3. "pk": 1,
  4. "model": "main.organization",
  5. "fields": {
  6. "creator": 1,
  7. "modifier": 1,
  8. "name": "Test organization",
  9. "address": "org"
  10. }
  11. },
  12. {
  13. "pk": 2,
  14. "model": "main.organization",
  15. "fields": {
  16. "creator": 2,
  17. "modifier": 2,
  18. "name": "Test organization 2",
  19. "address": "org2"
  20. }
  21. },
  22. {
  23. "pk": 1,
  24. "model": "main.onboarding",
  25. "fields": {
  26. "organization": 1
  27. }
  28. },
  29. {
  30. "pk": 2,
  31. "model": "main.onboarding",
  32. "fields": {
  33. "organization": 2
  34. }
  35. },
  36. {
  37. "pk": 1,
  38. "model": "main.customer",
  39. "fields": {
  40. "login_required": false,
  41. "organization": 1,
  42. "creator": 1,
  43. "modifier": 1,
  44. "vote_reset_period": 1,
  45. "votes_per_user": 2,
  46. "max_votes_per_item": 1,
  47. "name": "Test customer",
  48. "address": "test",
  49. "adfs_idp_base_url": "https://viima-ad.cloudapp.net/adfs/",
  50. "adfs_idp_entity_id": "http://viima-ad.cloudapp.net/adfs/services/trust",
  51. "adfs_idp_cert_fingerprint": "a98c70512e85afaee2d45eac0da09f9621019e10",
  52. "powered_by_enabled": true,
  53. "categories_enabled": true,
  54. "statuses_enabled": true,
  55. "item_moderation_enabled": true,
  56. "azure_login_option": true,
  57. "evaluation_enabled": true,
  58. "login_required_for_voting": false,
  59. "login_required_for_suggesting": false,
  60. "login_required_for_commenting": false
  61. }
  62. },
  63. {
  64. "pk": 2,
  65. "model": "main.customer",
  66. "fields": {
  67. "login_required": false,
  68. "organization": 1,
  69. "creator": 1,
  70. "modifier": 1,
  71. "vote_reset_period": 1440,
  72. "votes_per_user": 10,
  73. "max_votes_per_item": 5,
  74. "name": "Test customer 2",
  75. "address": "test2",
  76. "powered_by_enabled": true,
  77. "item_moderation_enabled": false
  78. }
  79. },
  80. {
  81. "pk": 1,
  82. "model": "main.user",
  83. "fields": {
  84. "username": "admin",
  85. "groups": [],
  86. "user_permissions": [],
  87. "password": "pbkdf2_sha256$10000$qvSrInOoJ9W4$fF29Ewhcp1u1fSus4nRyhszcP0gRH1pvta3Cuw3ztLs=",
  88. "email": "dev@viima.com",
  89. "date_joined": "2013-12-21T00:00:00+03:00",
  90. "first_name": "Admin",
  91. "last_name": "Istrator",
  92. "is_viima_account": true,
  93. "is_superuser": false,
  94. "email_confirmed": true,
  95. "locale": "fi"
  96. }
  97. },
  98. {
  99. "pk": 2,
  100. "model": "main.user",
  101. "fields": {
  102. "username": "user",
  103. "groups": [],
  104. "user_permissions": [],
  105. "password": "pbkdf2_sha256$10000$qvSrInOoJ9W4$fF29Ewhcp1u1fSus4nRyhszcP0gRH1pvta3Cuw3ztLs=",
  106. "email": "regular@user.com",
  107. "date_joined": "2013-12-21T00:00:00+03:00",
  108. "first_name": "Seppo",
  109. "last_name": "Taalasmaa",
  110. "profile_picture": "https://graph.facebook.com/100007881847322/picture",
  111. "fb_user_id": "100007881847322"
  112. }
  113. },
  114. {
  115. "pk": 1,
  116. "model": "main.customerusership",
  117. "fields": {
  118. "customer": 1,
  119. "user": 1,
  120. "is_active": true,
  121. "is_staff": true
  122. }
  123. },
  124. {
  125. "pk": 2,
  126. "model": "main.customerusership",
  127. "fields": {
  128. "customer": 2,
  129. "user": 1,
  130. "is_active": true,
  131. "is_staff": false
  132. }
  133. },
  134. {
  135. "pk": 3,
  136. "model": "main.customerusership",
  137. "fields": {
  138. "customer": 1,
  139. "user": 2,
  140. "is_active": true,
  141. "is_staff": false
  142. }
  143. },
  144. {
  145. "pk": 1,
  146. "model": "main.itemusership",
  147. "fields": {
  148. "creator": 1,
  149. "modifier": 1,
  150. "user": 1,
  151. "item": 1
  152. }
  153. },
  154. {
  155. "pk": 1,
  156. "model": "main.application",
  157. "fields": {
  158. "creator": 1,
  159. "modifier": 1,
  160. "user": 1,
  161. "item": 1,
  162. "content": "I should be selected cause I'm admin",
  163. "status": "pending"
  164. }
  165. },
  166. {
  167. "pk": 2,
  168. "model": "main.application",
  169. "fields": {
  170. "creator": 1,
  171. "modifier": 1,
  172. "user": 1,
  173. "item": 2,
  174. "content": "Application of another customer",
  175. "status": "pending"
  176. }
  177. },
  178. {
  179. "pk": 3,
  180. "model": "main.application",
  181. "fields": {
  182. "creator": 2,
  183. "modifier": 2,
  184. "user": 2,
  185. "item": 1,
  186. "content": "I should be selected cause I'm a regular user",
  187. "status": "pending"
  188. }
  189. },
  190. {
  191. "pk": 1,
  192. "model": "main.oauthclient",
  193. "fields": {
  194. "user": 1,
  195. "creator": 1,
  196. "modifier": 1,
  197. "customer": 1,
  198. "redirect_uris": "",
  199. "name": "API client",
  200. "client_type": "confidential",
  201. "client_id": "Z4UtM0Y0iUTOmWMtX4BUr9750HJ8EoOhZa1v8wPD",
  202. "client_secret": "IZCcyAwew6XTrWEP3VM68rgdv09PYnQXuUlY0oB3NLFtBayYLc05FRsmPwlg1f7OhSHu0ERxCXuOyNTaJt3BlKU8qZ1qNv5Tu85EbnHMgacefqZGDOmG3IlSh1cWWUqm",
  203. "authorization_grant_type": "password"
  204. }
  205. },
  206. {
  207. "pk": 2,
  208. "model": "main.oauthclient",
  209. "fields": {
  210. "user": 2,
  211. "creator": 2,
  212. "modifier": 2,
  213. "customer": 2,
  214. "redirect_uris": "",
  215. "name": "API clien of the other cusotmer",
  216. "client_type": "confidential",
  217. "client_id": "4Rkdb8NbRrNpNtSHe2Dna5XOUKGZ6oT4JsDyIPUZ",
  218. "client_secret": "3HfvtucIkEDCAUDYVu7RBlfYhQsS777P44MTHMz23chgEsWf89G4TrCBzp6yYEV63DJOADRCEOOTGVn06LvHPTzq4W5UPQeRMGQ3jtdDeB5BAMU9tJVBHCRVAMdS9exu",
  219. "authorization_grant_type": "password"
  220. }
  221. },
  222. {
  223. "pk": 1,
  224. "model": "main.item",
  225. "fields": {
  226. "customer": 1,
  227. "creator": 2,
  228. "modifier": 2,
  229. "name": "Moderated item of the customer",
  230. "moderation_pending": false,
  231. "description": "Test description"
  232. }
  233. },
  234. {
  235. "pk": 2,
  236. "model": "main.item",
  237. "fields": {
  238. "customer": 2,
  239. "creator": 2,
  240. "modifier": 2,
  241. "name": "Moderated item of the other customer",
  242. "moderation_pending": false,
  243. "description": "Test description"
  244. }
  245. },
  246. {
  247. "pk": 3,
  248. "model": "main.item",
  249. "fields": {
  250. "customer": 1,
  251. "creator": 2,
  252. "modifier": 2,
  253. "name": "Another moderated item of the customer",
  254. "moderation_pending": false,
  255. "description": "Test description"
  256. }
  257. },
  258. {
  259. "pk": 4,
  260. "model": "main.item",
  261. "fields": {
  262. "customer": 2,
  263. "creator": 2,
  264. "modifier": 2,
  265. "name": "Not moderated item of the other customer",
  266. "moderation_pending": true,
  267. "description": "Test description"
  268. }
  269. },
  270. {
  271. "pk": 5,
  272. "model": "main.item",
  273. "fields": {
  274. "customer": 1,
  275. "creator": 2,
  276. "modifier": 2,
  277. "name": "Not moderated item of the customer",
  278. "moderation_pending": true,
  279. "description": "Test description"
  280. }
  281. },
  282. {
  283. "pk": 1,
  284. "model": "main.comment",
  285. "fields": {
  286. "creator": 2,
  287. "modifier": 2,
  288. "item": 1,
  289. "content": "Moderated comment of moderated item of the customer"
  290. }
  291. },
  292. {
  293. "pk": 2,
  294. "model": "main.comment",
  295. "fields": {
  296. "creator": 2,
  297. "modifier": 2,
  298. "item": 2,
  299. "content": "Moderated comment of moderated item of the other customer"
  300. }
  301. },
  302. {
  303. "pk": 3,
  304. "model": "main.comment",
  305. "fields": {
  306. "creator": 2,
  307. "modifier": 2,
  308. "item": 1,
  309. "content": "Not moderated comment of moderated item of the customer"
  310. }
  311. },
  312. {
  313. "pk": 4,
  314. "model": "main.comment",
  315. "fields": {
  316. "creator": 2,
  317. "modifier": 2,
  318. "item": 2,
  319. "content": "Moderated comment of moderated item of the other customer"
  320. }
  321. },
  322. {
  323. "pk": 5,
  324. "model": "main.comment",
  325. "fields": {
  326. "creator": 2,
  327. "modifier": 2,
  328. "item": 3,
  329. "content": "Moderated comment of moderated item of the customer"
  330. }
  331. },
  332. {
  333. "pk": 1,
  334. "model": "main.vote",
  335. "fields": {
  336. "creator": 2,
  337. "modifier": 2,
  338. "item": 1,
  339. "country": "Finland",
  340. "city": "Helsinki"
  341. }
  342. },
  343. {
  344. "pk": 2,
  345. "model": "main.vote",
  346. "fields": {
  347. "creator": 2,
  348. "modifier": 2,
  349. "item": 2,
  350. "country": "Finland",
  351. "city": "Espoo"
  352. }
  353. },
  354. {
  355. "pk": 1,
  356. "model": "main.category",
  357. "fields": {
  358. "creator": 2,
  359. "modifier": 2,
  360. "customer": 1,
  361. "name": "Category 1 of test customer",
  362. "position": 0
  363. }
  364. },
  365. {
  366. "pk": 2,
  367. "model": "main.category",
  368. "fields": {
  369. "creator": 2,
  370. "modifier": 2,
  371. "customer": 2,
  372. "name": "Category 1 of the other customer",
  373. "position": 0
  374. }
  375. },
  376. {
  377. "pk": 1,
  378. "model": "main.status",
  379. "fields": {
  380. "creator": 2,
  381. "modifier": 2,
  382. "customer": 1,
  383. "name": "Status 1 of the customer",
  384. "position": 0
  385. }
  386. },
  387. {
  388. "pk": 2,
  389. "model": "main.status",
  390. "fields": {
  391. "creator": 2,
  392. "modifier": 2,
  393. "customer": 2,
  394. "name": "Status 1 of the other customer",
  395. "position": 0
  396. }
  397. },
  398. {
  399. "pk": 3,
  400. "model": "main.status",
  401. "fields": {
  402. "creator": 2,
  403. "modifier": 2,
  404. "customer": 1,
  405. "name": "Status 2 of the customer",
  406. "position": 1
  407. }
  408. },
  409. {
  410. "pk": 1,
  411. "model": "main.usergroup",
  412. "fields": {
  413. "creator": 2,
  414. "modifier": 2,
  415. "customer": 1
  416. }
  417. },
  418. {
  419. "pk": 2,
  420. "model": "main.usergroup",
  421. "fields": {
  422. "creator": 2,
  423. "modifier": 2,
  424. "customer": 2
  425. }
  426. },
  427. {
  428. "pk": 1,
  429. "model": "main.reportviewfolder",
  430. "fields": {
  431. "creator": 2,
  432. "modifier": 2,
  433. "customer": 1,
  434. "name": "Report view folder of test customer",
  435. "index": 0
  436. }
  437. },
  438. {
  439. "pk": 2,
  440. "model": "main.reportviewfolder",
  441. "fields": {
  442. "creator": 2,
  443. "modifier": 2,
  444. "customer": 2,
  445. "name": "Report view folder of the other customer",
  446. "index": 0
  447. }
  448. },
  449. {
  450. "pk": 1,
  451. "model": "main.reportview",
  452. "fields": {
  453. "creator": 2,
  454. "modifier": 2,
  455. "customer": 1,
  456. "name": "Report view of the customer",
  457. "index": 0
  458. }
  459. },
  460. {
  461. "pk": 2,
  462. "model": "main.reportview",
  463. "fields": {
  464. "creator": 2,
  465. "modifier": 2,
  466. "customer": 2,
  467. "name": "Report view of the other customer",
  468. "index": 0
  469. }
  470. },
  471. {
  472. "pk": 3,
  473. "model": "main.reportview",
  474. "fields": {
  475. "creator": 2,
  476. "modifier": 2,
  477. "customer": 1,
  478. "name": "Another report view of the customer",
  479. "index": 1
  480. }
  481. },
  482. {
  483. "pk": 1,
  484. "model": "main.scheduledjob",
  485. "fields": {
  486. "creator": 2,
  487. "modifier": 2,
  488. "report_view": 1,
  489. "active": true,
  490. "next_run": "2013-12-21T00:00:00+03:00",
  491. "frequency" : 2,
  492. "interval": 3,
  493. "recipients": "seppo.taalasmaa@talotaikurit.fi"
  494. }
  495. },
  496. {
  497. "pk": 2,
  498. "model": "main.scheduledjob",
  499. "fields": {
  500. "creator": 2,
  501. "modifier": 2,
  502. "report_view": 2,
  503. "active": true,
  504. "next_run": "2013-12-21T00:00:00+03:00",
  505. "frequency" : 2,
  506. "interval": 3,
  507. "recipients": "seppo.taalasmaa@talotaikurit.fi"
  508. }
  509. },
  510. {
  511. "pk": 1,
  512. "model": "main.metric",
  513. "fields": {
  514. "creator": 1,
  515. "modifier": 1,
  516. "status": 1,
  517. "name": "Business potential",
  518. "min": 0,
  519. "max": 1000,
  520. "unit": "€",
  521. "higher_is_better": true
  522. }
  523. },
  524. {
  525. "pk": 2,
  526. "model": "main.metric",
  527. "fields": {
  528. "creator": 1,
  529. "modifier": 1,
  530. "status": 2,
  531. "name": "Metric of the other customer",
  532. "min": 0,
  533. "max": 1000000,
  534. "unit": "€",
  535. "higher_is_better": true
  536. }
  537. },
  538. {
  539. "pk": 3,
  540. "model": "main.metric",
  541. "fields": {
  542. "creator": 1,
  543. "modifier": 1,
  544. "status": 1,
  545. "name": "Effort",
  546. "min": 0,
  547. "max": 10,
  548. "unit": "",
  549. "higher_is_better": false
  550. }
  551. },
  552. {
  553. "pk": 1,
  554. "model": "main.rating",
  555. "fields": {
  556. "creator": 1,
  557. "modifier": 1,
  558. "user": 1,
  559. "item": 1,
  560. "metric": 1,
  561. "value": 250
  562. }
  563. },
  564. {
  565. "pk": 2,
  566. "model": "main.rating",
  567. "fields": {
  568. "creator": 1,
  569. "modifier": 1,
  570. "user": 2,
  571. "item": 2,
  572. "metric": 2,
  573. "value": 0
  574. }
  575. },
  576. {
  577. "pk": 3,
  578. "model": "main.rating",
  579. "fields": {
  580. "creator": 1,
  581. "modifier": 1,
  582. "user": 1,
  583. "item": 1,
  584. "metric": 3,
  585. "value": 5
  586. }
  587. },
  588. {
  589. "pk": 1,
  590. "model": "main.integration",
  591. "fields": {
  592. "creator": 1,
  593. "modifier": 1,
  594. "customer": 1,
  595. "access_token": "984414-xuQK0AQkVYmFYZYHcX1sEA",
  596. "service": "yammer",
  597. "registered_with_email": "yammer-developer@viima.com"
  598. }
  599. },
  600. {
  601. "pk": 2,
  602. "model": "main.integration",
  603. "fields": {
  604. "creator": 2,
  605. "modifier": 2,
  606. "customer": 2,
  607. "access_token": "984414-xuQK0AQkVYmFYZYHcX1sEA",
  608. "service": "yammer",
  609. "registered_with_email": "yammer-developer@viima.com"
  610. }
  611. },
  612. {
  613. "pk": 3,
  614. "model": "main.integration",
  615. "fields": {
  616. "creator": 3,
  617. "modifier": 3,
  618. "customer": 1,
  619. "access_token": "984414-xuQK0AQkVYmFYZYHcX1sEA",
  620. "service": "yammer",
  621. "registered_with_email": "yammer-developer@viima.com"
  622. }
  623. }
  624. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement