This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT G.STORE_CODE, | |
G.BARCODE, | |
G.SKU, | |
CAMPAIGN, | |
VANILLA, | |
SELF_BUY, | |
NAME as name, | |
SEGMENT_NAME as segmentName, | |
HAS_IMEI as hasImei, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
S921094 | |
S072734 | |
S066930-07 | |
S373300 | |
S245100 | |
S324400-01 | |
S074964 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE | |
HAS_ERROR INTEGER; | |
IMEI_NAME VARCHAR2(500); | |
IMEI_COUNT VARCHAR2(500); | |
SUMMARY_NAME VARCHAR2(500); | |
SUMMARY_COUNT VARCHAR2(500); | |
BEGIN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": 200, | |
"error": null, | |
"data": { | |
"content": [ | |
{ | |
"name": "Sword SES BOMBASI SW1210 LEMON BLACK ", | |
"categoryCode": "fcd5eb55-e640-435c-8299-c516a6c9e94a", | |
"brandCode": "b525e49e-0bf2-4d59-ba8f-6c8471dd4194", | |
"modelName": "SES BOMBASI SW1210 LEMON BLACK", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn clean spring-boot:run | |
# if the app is setup correctly the following should pull metrics compatible with prometheus | |
curl http://localhost:9080/actuator/prometheus | |
# to publish a message call | |
curl -XPOST -H "Content-Type: application/json" -d '{"text": "hello"}' http://localhost:9080/publish | |
# to publish in a loop | |
while true; do curl -XPOST -H "Content-Type: application/json" -d '{"text": "hello"}' http://localhost:9080/publish; sleep 1; done; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Localhost:8081/sync/?date=202005031000 | |
{ | |
“message”: null, | |
“status”: “1”, | |
“data”: { | |
“products” : [ | |
ilk 10unu donuyosun |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2013 Andrew Neal | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"Success":200, | |
"Data":{ | |
"date": "03.07.2014", | |
"city":"New York", | |
"User":{ | |
"name": "03.07.2014", | |
"address":"New York" | |
} | |
} | |
} |