List of commits:
Subject Hash Author Date (UTC)
uglyJsonCode created online with Bitbucket ed6c9c541947ec64827b6e80ed959feb1b0f9b85 XCBouke 2017-11-09 14:29:36
Connectie created online with Bitbucket (send en recieve in 1) b484aff52014ff8d1dbaf8387cf1479cf236f33a XCBouke 2017-11-09 14:28:29
Ready for test case 3. Also BIG cleanup. bda906e19e3b82fb91df53eb2208e8def822c6b5 Jan Allersma 2017-11-05 21:38:16
test case 2 fix(?) dd86d637d166707a31b644dad711c7a9e39dbc8d Jan Allersma 2017-11-04 10:55:03
Test case 2 9ea6eadbd85dde0e9522068718092b1f0e9b49f0 Jan Allersma 2017-10-29 22:37:57
Added threading. 4540fe1669c9e145e613edf2459031e7bec500ea Jan Allersma 2017-10-29 20:47:49
Code for testing 16/10/17. Use simulatie/rabbit/combination.py mainly. c5e87d7fe5abbcd3316b1538a0d647fd23faa59f Jan Allersma 2017-10-15 19:13:23
Added more paths. Some of them are WIP. 03ad1039e22bd1ebd301bda99e78f38239a15077 Jan Allersma 2017-09-21 14:40:44
Added paths... 5561d21918f048a40ca9686112638a48805917e3 Jan Allersma 2017-09-21 13:06:43
Added first paths of crossroad. Also added reference of crossroad. 43a5ddf291e38b47bad02a92af58839d86f9d449 Jan Allersma 2017-09-21 12:21:53
Added first paths of crossroad. Also added reference of crossroad. bb687a8152231d0c89fed827baefcfbf067be90c Jan Allersma 2017-09-21 12:21:11
Fixed typo. db82c84f8d834e62cb37333ff973ddc54af5372f Jan Allersma 2017-09-20 20:51:15
RabbitMQ test.First attempt. 876d29c668f5e027a820f3ff48a6ca080fc530c2 Jan Allersma 2017-09-19 13:47:31
Initial commit 6a565c61a3337232d0e7a136ffb2f49b431c2a40 Jan Allersma 2017-09-11 06:52:38
Commit ed6c9c541947ec64827b6e80ed959feb1b0f9b85 - uglyJsonCode created online with Bitbucket
Author: XCBouke
Author date (UTC): 2017-11-09 14:29
Committer name: XCBouke
Committer date (UTC): 2017-11-09 14:29
Parent(s): b484aff52014ff8d1dbaf8387cf1479cf236f33a
Signer:
Signing key:
Signing status: N
Tree: b46dce9e5abdf4152f16e97ce9c1788a07678273
File Lines added Lines deleted
uglyJsonCode 195 0
File uglyJsonCode added (mode: 100644) (index 0000000..24aea10)
1 /*
2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
5 */
6 package rabbitmq2;
7
8 import java.util.HashMap;
9 import org.json.JSONArray;
10 import org.json.JSONException;
11 import org.json.JSONObject;
12
13 /**
14 *
15 * @author bouke
16 */
17 public class CreateJsonObj {
18 JSONArray obj = new JSONArray();
19 JSONObject JSONobj = new JSONObject();
20 HashMap rows = new HashMap();
21
22 public CreateJsonObj() throws JSONException{
23 rows.put("Id",101);
24 rows.put("Status", 2);
25 rows.put("Time", -1 );
26 obj.put(rows);
27 JSONobj.put("Lights",obj);
28
29 rows = new HashMap();
30 rows.put("Id",102);
31 rows.put("Status", 2);
32 rows.put("Time", -1);
33 obj.put(rows);
34 JSONobj.put("Lights", obj);
35
36 rows = new HashMap();
37 rows.put("Id",103);
38 rows.put("Status", 2);
39 rows.put("Time", -1);
40 obj.put(rows);
41 JSONobj.put("Lights", obj);
42
43 rows = new HashMap();
44 rows.put("Id",104);
45 rows.put("Status", 2);
46 rows.put("Time", -1);
47 obj.put(rows);
48 JSONobj.put("Lights", obj);
49
50 rows = new HashMap();
51 rows.put("Id",105);
52 rows.put("Status", 2);
53 rows.put("Time", -1);
54 obj.put(rows);
55 JSONobj.put("Lights", obj);
56
57 rows = new HashMap();
58 rows.put("Id",106);
59 rows.put("Status", 2);
60 rows.put("Time", -1);
61 obj.put(rows);
62 JSONobj.put("Lights", obj);
63
64 rows = new HashMap();
65 rows.put("Id",107);
66 rows.put("Status", 2);
67 rows.put("Time", -1);
68 obj.put(rows);
69 JSONobj.put("Lights", obj);
70
71 rows = new HashMap();
72 rows.put("Id",108);
73 rows.put("Status", 2);
74 rows.put("Time", -1);
75 obj.put(rows);
76 JSONobj.put("Lights", obj);
77
78 rows = new HashMap();
79 rows.put("Id",109);
80 rows.put("Status", 2);
81 rows.put("Time", -1);
82 obj.put(rows);
83 JSONobj.put("Lights", obj);
84
85 rows = new HashMap();
86 rows.put("Id",110);
87 rows.put("Status", 2);
88 rows.put("Time", -1);
89 obj.put(rows);
90 JSONobj.put("Lights", obj);
91
92 rows = new HashMap();
93 rows.put("Id",201);
94 rows.put("Status", 2);
95 rows.put("Time", -1);
96 obj.put(rows);
97 JSONobj.put("Lights", obj);
98
99 rows = new HashMap();
100 rows.put("Id",301);
101 rows.put("Status", 2);
102 rows.put("Time", -1);
103 obj.put(rows);
104 JSONobj.put("Lights", obj);
105
106 rows = new HashMap();
107 rows.put("Id",302);
108 rows.put("Status", 2);
109 rows.put("Time", -1);
110 obj.put(rows);
111 JSONobj.put("Lights", obj);
112
113 rows = new HashMap();
114 rows.put("Id",303);
115 rows.put("Status", 2);
116 rows.put("Time", -1);
117 obj.put(rows);
118 JSONobj.put("Lights", obj);
119
120 rows = new HashMap();
121 rows.put("Id",304);
122 rows.put("Status", 2);
123 rows.put("Time", -1);
124 obj.put(rows);
125 JSONobj.put("Lights", obj);
126
127 rows = new HashMap();
128 rows.put("Id",305);
129 rows.put("Status", 2);
130 rows.put("Time", -1);
131 obj.put(rows);
132 JSONobj.put("Lights", obj);
133
134 rows = new HashMap();
135 rows.put("Id",401);
136 rows.put("Status", 2);
137 rows.put("Time", -1);
138 obj.put(rows);
139 JSONobj.put("Lights", obj);
140
141 rows = new HashMap();
142 rows.put("Id",402);
143 rows.put("Status", 2);
144 rows.put("Time", -1);
145 obj.put(rows);
146 JSONobj.put("Lights", obj);
147
148 rows = new HashMap();
149 rows.put("Id",403);
150 rows.put("Status", 2);
151 rows.put("Time", -1);
152 obj.put(rows);
153 JSONobj.put("Lights", obj);
154
155 rows = new HashMap();
156 rows.put("Id",404);
157 rows.put("Status", 2);
158 rows.put("Time", -1);
159 obj.put(rows);
160 JSONobj.put("Lights", obj);
161
162 rows = new HashMap();
163 rows.put("Id",405);
164 rows.put("Status", 2);
165 rows.put("Time", -1);
166 obj.put(rows);
167 JSONobj.put("Lights", obj);
168
169 rows = new HashMap();
170 rows.put("Id",406);
171 rows.put("Status", 2);
172 rows.put("Time", -1);
173 obj.put(rows);
174 JSONobj.put("Lights", obj);
175
176 rows = new HashMap();
177 rows.put("Id",501);
178 rows.put("Status", 2);
179 rows.put("Time", -1);
180 obj.put(rows);
181 JSONobj.put("Lights", obj);
182
183 rows = new HashMap();
184 rows.put("Id",601);
185 rows.put("Status", 2);
186 rows.put("Time", -1);
187 obj.put(rows);
188 JSONobj.put("Lights", obj);
189
190
191
192 }
193
194
195 }
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/kapstok/NHL-SoftDev

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/kapstok/NHL-SoftDev

Clone this repository using git:
git clone git://git.rocketgit.com/user/kapstok/NHL-SoftDev

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main