I believe you need to write a scheduler/polling config that makes a call to your to TMS and check status of your job and if finished, pull it and store in JCR as Dipti mentioned above
For parent component, the editable DOM points one level down(guideNode) than what it should point to(guide), causing this JS error.Can be fixed by changing line 100 in /etc/clientlibs/fd/af/guideTouchAuthoringEditLayer/javascript/GuideTouchAuthoringCustomToolbar.js..Currently it is: if (autho...
Your normal class is not registered in OSGi.. So you cannot use any of service in it... Even if you just use @Component annotation you can use other OSGi components in your class..
Use some other API.. jackson and gson can be used here. I believe both are available with AEM 6.3cq5 - org.apache.sling.commons.json.JSONArray is deprecated in AEM 6.3 - Stack Overflow
This is how templates are supposed to work.. When you create a page out of a template, properties of template are copied to page and then any change made further to the template wont be reflected in pages created earlier. If you even delete the template, the page would continue to work....
Take a look at Search DAM assets and Cq pages using lastModified date | QueryBuilder . It used DateRangePredicateEvaluator (Day Communique 5.4 Java Documentation 5.4.0-SNAPSHOT API)