microservices – Heterogeneous Data Integration for Enterprises – Combining Status Transfer with SOA

I work in a corporate environment that consists of several software packages – an ERP system, a CRM system, a transportation management system, an internet-enabled online ordering system, etc.

Some of these systems are developed internally, others are developed under contracts, and some (usually the "core" systems) are purchased off-the-shelf and some of them are customized.

It is to be expected that these systems are in most cases schematically heterogeneous and sometimes semantically heterogeneous (1), However, they all represent the same company in one way or another and therefore share common concepts – such as customers, orders, products, etc.

This question – or this discussion – is about how we could decide to integrate these systems. For example, if a customer's existence is determined by the ERP system, but the CRM system must be able to use customer information, how does the CRM system know what the status of customers is?

At the simplest level, in my opinion, it depends on deciding whether to copy the status to the polling time ("just in time") from a remote system to a local system, or to prematurely copy it, and I think that all patterns basically fall into one of these two camps.

For the remainder of this post I will refer to them as "JiT" (just in time) and "AoT" (premature).

An ETL-based approach – regardless of frequency, even down to "real-time ETL" or "event-carred state transfer"(2) – is clearly an example of AoT integration.

An SOA-based approach – including designs such as composite queries – is clearly an example of JiT integration.

Both approaches have strengths and weaknesses, and sometimes one or the other is required. For example, when I buy a CRM system off the rack, it is undoubtedly necessary to fill in your own internal customer data structure for it to work. Therefore, I must first copy the customer status from the ERP system to the CRM system. There is no possibility to leave the ERP-related customer attributes ONLY in the ERP system.

My basic battle at the moment is: what process should an architect choose, what should be integrated with AoT, and what should JiT be integrated? Is it realistic to claim, as the principle of enterprise architecture, that only one or the other can be used? I do not think so. But that means we use both, which means that there should be logical considerations that allow us to decide when to use one or the other.

After a few days of focusing specifically on this question, I have a hypothesis, and I would appreciate it if you would judge about it:

Hypothesis: The JiT integration should occur if and only if the disclosed functionality is a calculation

OK, what is a calculation?

A calculation is a business function that may require the use of state internally for an algorithm to be executed that is, however, in no way stateful to consumers.

An example of this could be a function like decimal GetPrice(string product, int qty), Internally, an information table may need to be looked up to perform the calculation. But any other system that calls this function is independent of this internal state and has no way to read from or write to it. This may be constructed as a microservice, or it may be one of a variety of functions provided by a monolith.

In contrast, the internal state of this machine may need to be filled out by other systems. It may need to be informed about products, customers, etc. The internal state of this system can (and therefore, by the statement of the hypothesis, must) are managed by AoT state transfer, which provides CRUD-like functionality as opposed to the computational functionality of JIT.

This is the claim you should judge if you wish. Does it make sense to differentiate between AoT and JiT based on whether a particular function is a "calculation" or not? Can someone see a logical problem with this taxonomy?


(1) https://en.wikipedia.org/wiki/Ontology-based_data_integration

(2) https://martinfowler.com/articles/201701-event-driven.html

File Transfer – Is the Panasonic Data Port a standard USB Mini-B?

My Panasonic LUMIX DMC-GM5 has an unusual data port for transferring photos to the computer. The manual identifies the part as a USB connection cable DMW-USBC1. If I look it up, the official Panasonic page does not contain any additional information about the connection.

According to research, it resembles a USB mini-B connector. For example:

If it is the same connector (i.e., USB Mini-B) with the same pins, you can easily replace it or get a new USB-C connector.

My wife can transfer videos from her phone to our Chromecast, but I can not. What gives?

She has a Samsung Galaxy Note 8 while I own a Google Pixel 3. I can cast if the app in question (eg, YouTube or Hulu) supports Casting with a built-in cast button, but if I used the casting screen mirroring feature From the pull-down menu (for example, for an app that does not support casting internally, eg Spectrum) I can not cast videos – the part of the screen where the video is displayed will be black on the TV. That sounds like a kind of DRM problem, but why would it only affect my phone and not hers? Is there a way to transfer videos from my phone?

Where do I start to create an app like WiFi File Transfer?

I have a laptop and a tablet and I want to share files (mostly movies) through my home Wi-Fi network. I know there are apps / software for this kind of thing, but I want to create one for learning purposes from scratch. But I do not know where to start because I'm not familiar with network programming or networking in general (protocols, etc.). Can someone tell me where to start?

Interfaces – How do I program the P-L496G-CELL02 Discovery Kit to receive data over SPI and transfer it to the cloud over the NBIOT channel?

The P-L496G-CELL02 comes with the Discovery Board 32L496, the stmod + add-on and the Quectel BG96 module. https://www.st.com/de/evaluation-tools/p-l496g-cell02.html#tools-software

New in programming with this card is the hardware setup with a tag attached to receive data via the SPI2 pins. The connection to the CatNB1 network has been successfully established (using an included NBIOT SIM card).

The next step, receiving and sending the data over the NB-IoT network to the cloud (preferably Google Cloud Platform) and then displaying the received information, is a bit lost to me. Is there a way to code it to do this?

Any help would be very grateful, thanks.


video – FFmpeg does not seem to be able to transfer streams when remapping streams

I try to rearrange the streams of a video first in the form of video streams, audio streams, and then subtitles. I thought I could also change the format of the video mkv too frequent like mp4 but no matter what I try it still shows this error message:

Input #0, matroska,webm, from '/path/to/file.mkv':
    encoder         : libebml v1.3.6 + libmatroska v1.4.9
    creation_time   : 2019-06-17T20:41:37.000000Z
  Duration: 01:03:10.17, start: 0.000000, bitrate: 1215 kb/s
    Chapter #0:0: start 0.054000, end 3790.174000
      title           : Capitolo 01
    Stream #0:0(ita): Subtitle: subrip (default)
      BPS-eng         : 4
      DURATION-eng    : 00:52:26.144000000
      NUMBER_OF_FRAMES-eng: 37
      NUMBER_OF_BYTES-eng: 1627
      _STATISTICS_WRITING_APP-eng: mkvmerge v30.1.0 ('Forever And More') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-17 20:41:37
    Stream #0:1(ita): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
      BPS-eng         : 113000
      DURATION-eng    : 01:03:10.165000000
      NUMBER_OF_FRAMES-eng: 177664
      NUMBER_OF_BYTES-eng: 53536337
      _STATISTICS_WRITING_APP-eng: mkvmerge v30.1.0 ('Forever And More') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-17 20:41:37
    Stream #0:2: Video: h264 (High), yuv420p(progressive), 720x404 (SAR 1:1 DAR 180:101), 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
      BPS-eng         : 1100698
      DURATION-eng    : 01:03:10.080000000
      NUMBER_OF_FRAMES-eng: 94752
      NUMBER_OF_BYTES-eng: 521466768
      _STATISTICS_WRITING_APP-eng: mkvmerge v30.1.0 ('Forever And More') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-17 20:41:37
Automatic encoder selection failed for output stream #0:2. Default encoder for format mp4 (codec none) is probably disabled. Please choose an encoder manually.
Error selecting an encoder for stream 0:2

This is my current command:

ffmpeg -progress pipe:1 -hide_banner -i /path/to/file.mkv -map 0:2 -map 0:1 -map 0:0 -c:a aac -c:v copy /path/to/outfile.mp4

Does anyone know how to do this with just one pass with FFmpeg?

Key Management – Is it possible to securely transfer a symmetric key to a VM instance using vTPM?

We have a Xeon physical host (Bare Metal BM Host) with a hardware TPM installed on it. The attestation status of the BM host is determined by start time measurements, which are captured and written to the PCRs on the TPM.

An agent program on the BM host sends a trust offer when a confirmation request is received. Each BM host uses a unique Attestation Identity Keypair (AIK) whose private key is bound to the TPM. The public AIK is shared with a KMIP key management system (KMS) which checks the host's acknowledgment status, wraps the key with the public AIK, and transmits the key to the BM host. The private AIK sealed in the TPM is unsealed and used to decrypt the KMS key.

The problem I am trying to solve is the secure retrieval of keys from the KMS. I was wondering if the same process could be applied to a VM instance using a virtual TPM (vTPM) or an emulated software TPM like the IBM implementation.

What are the challenges in this scenario and are there any alternative solutions I could try?

Bash script for the automatic transfer of panel accounts to directadmin

Hello everybody

I've created a bash script to automatically transfer cpanel user accounts to directadmin, which I'll share with you.
Hope it will be useful.

The script performs the following steps:

– Create a full account backup on cpanel. (This full backup does not include the public_html directory.)
– Transfer the backup to the DirectAdmin server and restore it.
– After the full backup in directadmin, the directory information of the public_html user in cpanel is transferred to the public_html directory in directadmin.
– Deletes full cpanel backups from both servers to avoid memory usage.
– Changes the account IP in the control bar to the IP of the DirectAdmin server to load the site from the DirectAdmin server.
– Stop the user in the cpanel server so that the user does not have access to the previous panel.

These steps are performed on each cpanel user account.

Note that you must add the DirectAdmin IP server from the "Add new IP address" section in the WHM area before running the script.
If you do not want to change the IP address after transferring the account, remove the following line from the script:
/ usr / local / cpanel / bin / setsiteip -u $ USER $ DEST

Note that the connection between servers must be made using the SSH key.

Important note that none of the cpanel accounts should be blocked! In this case, the script will not work properly.

You can see the script below:


#You can get the script updates from  https://bit.ly/2ktJVHn

#Note that you need to add the DirectAdmin IP server from the "Add a New IP Address" section on the WHM panel before running the script.
#If you do not intend to change the IP after transferring the account, remove the following line from the script:
#/usr/local/cpanel/bin/setsiteip -u $USER $DEST

#Note that the connection between servers must be established via the ssh key.

#Important note that none of cpanel accounts should be suspended! If so, the script will not work correctly.

DEST="" #Your DirectAdmin Server IP
PORT="22" #Your Directadmin Server ssh Port
cd /var/cpanel/users
for USER in *; do
if ( "$USER" != "system" )
       echo "starting transfer process for $USER"
	sleep 2

        #backup cpanel account (public_html excludes) and transfer to directadmin server.
        /scripts/pkgacct $USER --skippublichtml
        rsync -av -e "ssh -p $PORT" /home/cpmove-$USER.tar.gz root@$DEST:/backup/

	#Restore backup in directadmin server.
	ssh -p $PORT root@$DEST "
		chown admin.admin /backup/
		chown admin.admin /backup/cpmove-$USER.tar.gz
		echo 'action=restore&ip%5Fchoice=select&ip=$DEST&local%5Fpath=%2Fbackup&owner=admin&select%30=cpmove-$USER.tar.gz&type=admin&value=multiple&when=now&where=local' >> /usr/local/directadmin/data/task.queue
		echo "backup is restoring in DirectAdmin!"
		sleep 2
		while $(grep -Fq "action=restore" /usr/local/directadmin/data/task.queue 2>/dev/null); do printf "%s""$i" .; sleep 2; done;
		while $(test ! -d /home/$USER/public_html); do printf "%s""$i" .; sleep 2; done;
		printf 'n'
		echo "backup restoration completed in DirectAdmin!"
		sleep 2
	#transfer public_html files and dirs to destinaton server	
	rsync -av -e "ssh -p $PORT" /home/$USER/public_html/ root@$DEST:/home/$USER/public_html/
	ssh -p $PORT root@$DEST "
		chown -R $USER.$USER /home/$USER/public_html/
		find /home/$USER/public_html/ -type d -exec chmod 755 {} ;

	#remove backup files in order to free space
	ssh -p $PORT root@$DEST "rm /backup/cpmove-$USER.tar.gz"
	rm /home/cpmove-$USER.tar.gz

	#change user ip in order to transfer site loding to destination server.
	/usr/local/cpanel/bin/setsiteip -u $USER $DEST	

	/scripts/suspendacct $USER "User transferred to Direct Admin."

	echo "transfer process for $USER has been completed!"
	sleep 2
	printf 'n'

ARIN / RIPE LOA & # 39; s | IPv4 for the transfer | Residential real estate / RDP | Clean up IPv4 for ALL uses NO IPJ

The Letter of Approval (LOA) includes:

2 x ARIN / 21
1 x ARIN / 22
2 x RIPE / 19
20 x RIPE / 22

Their final price depends on the size of the allocation, the term, the terms of payment or the prepayment, the purpose and the quality of IPv4. This offer is great for SEO, PROXY and ISP, which conclude long-term leases. For LOA assignments, no MAIL / SPAM is allowed. We can also update the GEO location databases, if necessary for long term leases. This offer is ideal for B2B SEO, Proxy, VPN and ISP customers looking for long term leases. Any allocations will be sold subject to availability. If you have any questions, please contact sales@@blazingswitch.com.

Note that we can offer you almost everything in LOA areas, if you have the budget. There is no shortage of IPv4 addresses.
As a rule, we only advertise the available instant or special place.

====================================== === ==========


We have each ARIN size from / 24 to / 16.
Pretty much the same in RIPE. Less in APNIC and LACNIC.
Inventory changes weekly. Contact us with RIR & Budget.

====================================== === ==========


We have a limited number of / 24s marked as: ISP (Usage Type) Fixed Line ISP on ip2location.com. In addition, we also have standard commercial IP addresses. Residential IPs go very quickly to the highest bidder in a quick graduation. The stock is limited. However, if you are looking for residential real estate, tell us the following information. Send an e-mail to sales@@blazingswitch.com and we will see what's available at a given time.

Geographical location – City Country RIR
Number of IPs – total or CIDR notation (/ 24)
Hardware – VM bare metal or LOA and bandwidth

======================================= == ===========

Do you need residential real estate (RDP)? Comcast / 21 available!
Unlock Netflix, Hulu, Amazon. Works for IG, FB, Social …

Server with the following specifications:
– 32 GB RAM / 64 GB RAM
– 480 GB SSD
– The circuit is 1 Gbit / s GUARANTEED BANDWIDTH!
– Location, Washington, D.C.

Excellent for the following applications:
– Unlock Netflix USA
– Unlock Hulu
– Unlock ABC
– Unlock Amazon Video USA
– Works for Instagram marketers
– Works for SEO customers

We can create a custom RDP solution for your proxy or VPN hosting business. _IF_ You have the budget (ie company solution). We offer both dedicated and shared bandwidth solutions.

The IPv4 is 100% Comcast. You can have all ports open, but we recommend that you block MAIL !! We are looking for the right operation that knows how to use it properly in the long term. This is for a proxy, a VPN, or a larger enterprise, where many ports and users require a large bandwidth. This is not a good product for the customer of Small Fry Single Consumer Shoe stores.

======================================= == ===========


We've expanded our Verizon Wireless product offering with additional geoip sites and features that are suitable for both social media and use.


* Unlimited IP pool
* High IP anonymity
* High connection speed
* Chrome, Firefox plug-ins 2 Configure Proxies 4 You
* One-click IP change application
* Squid Proxy Hand Off available
* US based wireless RDP IPs
* Possibility to switch between several cities GEOIP

This is an excellent service for:

– Anonymous market research
– Craigslist
– Google Advertising
– Limited Release Tickets / etc.
– Shoe stores
– Social Media (Facebook, LinkedIn, Instagram, etc.)


– Atlanta
– Dallas
– Los Angeles
– Milwaukee
– Minneapolis
– Phoenix
– San Diego
Washington, D.C.

Other locations to be launched in 2019:
Chicago, Miami, Seattle!

In the past, you were tied to one of the Geoip locations when you set up a line. We've updated this product offering so you can now navigate in ALL available geoip location pools. You can do this through a Chrome / Firefox browser plug-in (Squid Proxy also available).

The Verizon wireless system is ideal for customers who use social media or who engage in competition that requires anonymous surfing. However, if throttled at any time, you can change your IP address within the platform as often as you like. With just one click you can change your Geoip from one city to the next! For those who use social media or similar applications, this is a great solution that works well for customers since we launched them 18 months ago.

======================================= == ===========


If you need virgin, clean IPv4, we can offer / 24 to / 19 in ARIN and RIPE. These are delivered on one or more servers and monitored for abuse. Virgin Clean IPS are a premium service and reasonably priced. We do not offer smaller quantities than a / 24 assignment, and these ranges are not available through LOA. If you have further questions, please contact us directly with your inquiries.

====================================== === ==========


– Ashburn, VA *
– Atlanta AT1
– Austin
– Dallas-1
– Dallas-2
– Denver
– Detroit
– Las Vegas *
– Los Angeles-1
– Los Angeles-2
– Los Angeles-3
– New York-1
– New York-2
– Phoenix *
– Pittsburgh
– San Jose
– Seattle-1
– Seattle-2 * * *
– Tampa

– Amsterdam
– Barcelona *
– Dubai *
– Dublin
– Frankfurt-FR5 *
– Guadalajara *
– Hong Kong *
– Istanbul *
– Johannesburg *
– Korea *
– Leeds, United Kingdom
– London, United Kingdom
– Mexico * *
– Mexico City
– Milano *
– Paris
– Rome
– Singapore *
– Sydney
– Tokyo TY2
– Toronto * *

Note: Some of these locations are premium services / prices. However, if you really need these locations for data centers or RDP locations, they are possible if you have the budget.

====================================== === ==========
====================================== === ==========


* 1 / ip x 100 different class B / C
* 16 x / 28 different class B / C
* 1200+ x / 29 available in the USA.
* 130+ x / 29 available in the EU.
* 5000+ Class C, 250+ Class B
* Virgin Clean IPv4 addresses

Premium Services are only available for the purchase of discounts or promotions if announced. These are available at extra cost. Not available in all data center locations and limited by inventory. Additional configurations available in ARIN & RIPE. If you need a mixed A / B / C subnet server or a dedicated GEOIP server, we have it in both VPS and Dedicated.

======================================= == ===========


– Atlanta
– Bend OR
– Buffalo
– Charlotte, NC.
– Chicago
– Dallas
– Detroit
– Houston
– Jacksonville, FL
– Las Vegas
— Los Angeles
– Miami
– Monticello, IA
– New York / New Jersey
– Orlando
– Pasadena, CA.
– Phoenix
– Portland
– San Jose
– Seattle
– South Bend, IN


– Australia, New Zealand
– Belgium
– Bulgaria
— Germany
– India
– Italy
– Netherlands
– Portugal
– Romania
— Sweden
— Turkey
– Ukraine
— Great Britain
– Vietnam

Inventory changes daily, which is possible in different data centers. However, these are premium services that would not fall under a kind of advertising price. Further locations and options can be found on our website. Please contact the sales department if you have special requirements with your budget.

======================================= == ===========

You Got to consist Pre-screen at registration to be eligible for the service. If you log in via proxy, VPN, or with information that does not match your geoip *, you will often be flagged as a possible fraud in the billing software and your order will be rejected. In addition, some orders have been received requiring manual review based on the MaxMind and FraudRecord rating prior to final approval. The delivery time is usually 48 to 72 business hours from receipt of payment, depending on the hardware and the complexity of the IPv4 network.

We accept payments by Paypal, credit card, Bitcoin and bank transfer.

If you are disconnected from the connection due to non-payment or abused due to misuse, you are not entitled to any further purchases.

We can also assign SWIP and update GEOIP via MaxMind / Databases for your locations.

====================================== === ==========

What makes us different?

* IPv4 from all over the world in different RIRs for maximum diversity
* Hundreds of Class A / B / C areas in different data centers
* Knowledge of the SEO industry as a developer
* Focus on long-term relationships. No Churn & Burn clients or resources.
* IPv4 for every realistic budget
* Willingness to work with your individual needs
* Verizon Wireless RDP lines with unlimited revolutions that you control!

======================================= == ===========

Contact: sales@@blazingswitch.com (/ FONT)