What is the difference between Republish, Smart Publish and Incremental Publish? - publish

While publishing an item in Sitecore, there are three options
1.Republish
2 Smart Publish
3 Incremental Publish
What are these, and what makes them different?

Publishing is the process of moving an item from master DB to Web DB. We can have multiple publishing DB's and we can choose this at the time of publishing.
The publishing types are as follows:
Republish - This will publish the entire items .
Smart publish - This will check all the items and publish if there is a change in an item.
Incremental Publish - Everytime if you made any change in an item it will add in the publishing queue. Those queued items are published in this option.

Related

Model publishing starts after 8 hours after C4R command executing

I've implemented a service, that publish all models, which were modified with C4R. I've used tutorial on the Forge site.
Sometimes, when i execute command for publishing models, it returns status:commited, but it starts to publish after 7-8 hours.
As my models are big, it takes 3-4 hours to publish it, so i receive webhook after 12 hours after execution of the command.
How to fix that? Is there some publishing queue or something else to look into?
Forge web services, like most web services, have a job queuing system. At busy times your job may take extra time to start. Or, based on external dependencies, it may need to wait for some other job to finish.
That said, when you post to publish endpoint, check the response, it should contain a request-id header that we can use to track down what's happening. Please share that so I can check our logs.
UPDATE
The system will not emit a publish completed event, your application should watch for dm.version.added instead. Looking at your specific request, there is nothing unexpected, just note that publishing can take a long time depending on the number of models, size of models and the length of the publishing queue.

How to Open the Audit report file(.json)?

I am using Chrome Dev Tools. I use it to generate an audit report, then save it as a .json file. Then, how to reopen it in Chrome? I cannot find a way to open the .json file in Chrome.
Open-AudIT cleverly checks an association's system and stores the arrangements of the found gadgets.
An incredible revealing structure empowers data, for example, programming permitting, setup changes, non-approved gadgets, limit usage and equipment guarantee status to be removed and investigated.
Open-AudIT Enterprise accompanies extra highlights including Business Dashboards, Report sifting, Scheduled revelation, Scheduled Reports and Maps.

VSTS Release : bubbling up release quality metrics

We have a continuous deployment pipeline that is setup to deploy to a chain of environments.
In the portal, all I can see is the following :
How do I configure the portal such that it also shows :
How long each release took, split by environment
Historic graph which show release time taken over time, split by environment
Failures split by environment over time
You can’t configure VSTS to show these, there isn’t such feature available in VSTS. Also, there isn’t the official extension can show them.
Some widgets can add release information to dashboard, but don’t meet your requirement. (Add release information to the dashboard)
You can get such information through Release REST API: Get a release (timeToDeploy value of each environment), so you can build an application (e.g. VSTS extension) to statistics data and show them.

Apps monitoring on Openshift

Once I have deployed my application on Openshift, what is the recommended way / best practice of collecting the: 1) CPU, 2) network, 3) memory, 4) disk storage usage of the app? Basically to monitoring an app.
The best would be if they could be displayed in a time series format. Is it possible to link it with 3rd party service (e.g. New Relic) to do that?
Thanks.
I would say that new relic would be the best way to go for most folks. OpenShift does have a marketplace that brings in lots of different 3rd-party solutions like and makes them super easy to integrate. New Relic is available and best of all you can do it for free. You can go to marketplace.openshift.com to add new relic and there's even a KB that will walk you through it step by step here: https://help.openshift.com/hc/en-us/articles/203467070-How-do-I-add-New-Relic-to-my-application-in-the-OpenShift-Marketplace-.
For the sake of stackoverflow, here are the contents of that article:
1. Go to marketplace.openshift.com and login in
2. Locate New Relic
3. Click on "Try the Free Edition"
4. Complete checkout steps.
This will create your www.newrelic.com account. You can confirm this by going to
purchased products at the top of the page. Then to your new relic add-on and click on "New Relic". This should bring you over to newrelic.com and automatically log you in with your OpenShift marketplace account.
To add New Relic to an individual OpenShift application.
Click on Purchased Products
In the New Relic Section, you should have something like "newrelic_6a260 Standard" and a "add to apps" button.
Click on the "add to apps" button
Select the application you want to add New Relic to.
There are two other options you can use.
AppDynamics - I have used their tools and I really like it for monitoring. It is available as well through the Online Store
DataDog - I have not used them but I have seen the demos at their booth and it looks really good as well.
Would love to hear what you choose and your experience.
You should consider Sysdig Container Monitoring
Of all the tools mentioned, it's the only one that was purpose-built for containers. It uses the metadata from openshift to allow you to group containers dynamically into services (namespaces, deployments, etc).
It gives you host, container, and application metrics, including response time of containers and services using network data.
It provides custom alerting and dashboarding as well.
Finally, if you're the service provider, they have a functionality that enables "service-based access controls" - basically allowing you to limit data access to certain services, again, based on the Openshift's metadata.
Sysdig can be used as a cloud service or as on-premise software depending on your use case. Here is a link to their open shift commons briefing: https://www.youtube.com/watch?v=-w-OD78Hno0

Publishing a free app on WP8 store then make it not free

I need help with publishing an app me and my team developed. It currently is in beta phase and we need testers. We thought of publishing it in the store as an open free beta app and ask for people to download it and report their bugs. After all the testing bugs are fixed the app will go public as v1.0 but not as free. We do however want the people who originally downloaded it to get all the updates for free as a reward for their help of testing our help and never have to pay for the app. How can that be done?
As you probably know Beta App is different than 'Normal' App - so after finished test you need to publish new application (you can't change beta to normal).
What you are asking is called targeted distribution - you can hide App (you will need to submit one more App for that purpose) from users browsing the store, and send a link to those who you choose (Beta testers). But you cannot prevent such a situation when a beta tester send this link to other person. So you have to cosider it.
EDIT
You cannot do such a thing like in beta version - create a list of user that will be able to use it.
The other solution that comes to my mind - you can create 'Beta' App that is the same as Normal App and alow specific user to use it. The disadventage of this method is that Beta expires after 90 days.