Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2020-02-17 09:12:47 GMT <alfresco-discord> <dgradecak> hi all, does anyone know something more about this https://github.com/Alfresco/acs-packaging/tree/master/docs/micrometer ?is it an enterprise only feature?

2020-02-17 09:12:48 GMT <alfbot> Title:acs-packaging/docs/micrometer at master · Alfresco/acs-packaging · GitHub (at github.com)

2020-02-17 09:14:35 GMT <alfresco-discord> <dgradecak> try { dbMetricsReporterImpl = (DBMetricsReporter) applicationContext.getBean("dbMetricsReporterImpl"); } catch (Exception e) { // we expect that we will not have this bean in the community runtime // so don't report this problem }

2020-02-17 09:14:49 GMT <alfresco-discord> <dgradecak> I think I have my answer

2020-02-17 09:46:20 GMT <alfresco-discord> <digcat> yep, https://github.com/Alfresco/alfresco-repository/commit/daabd5436d2c4d667858f39d9db4a8d89512bb0c

2020-02-17 09:46:22 GMT <alfbot> Title:REPO-3868: Move micrometer to enterprise only (#198) · Alfresco/alfresco-repository@daabd54 · GitHub (at github.com)

2020-02-17 09:51:07 GMT <alfresco-discord> <dgradecak> thanks for that ref @digcat

2020-02-17 09:56:02 GMT <AFaust> dgradecak: FYI - big push / set of changes to my Keycloak extension over the end of last week / weekend. Share now supports OAuth 2 Token Exchange (draft) for authenticating against Repository, and Keycloak roles are exposed for permission management (at least in Share UI - ADF/ACA via Public ReST API requires more "hacking")

2020-02-17 09:57:38 GMT <AFaust> Still no docs though - spent a lot of time dealing with Alfresco inconsistencies and double authentication scenarios messing with my role / claim mapping...

2020-02-17 09:58:05 GMT <alfresco-discord> <dgradecak> cool AFaust

2020-02-17 09:58:21 GMT <alfresco-discord> <PJ> > dgradecak: FYI - big push / set of changes to my Keycloak extension over the end of last week / weekend. Share now supports OAuth 2 Token Exchange (draft) for authenticating against Repository, and Keycloak roles are exposed for permission management (at least in Share UI - ADF/ACA via Public ReST API requires more "hacking") @AFaust#0000 Absolutely amazing!!!! Hope to have some time to check this out!

2020-02-17 09:59:23 GMT <alfresco-discord> <dgradecak> on my side I did a POC for an API like spring boot actuators for alfresco (there is much more stuff than just metrics), it might overlap a bit with the support tools btw

2020-02-17 14:19:09 GMT <alfresco-discord> <dgradecak> what would be the best way (in 6.1+) to check if solr is "alive"? SolrAction Check? or something else

2020-02-17 14:19:20 GMT <alfresco-discord> <dgradecak> @angelborroy do you have an advice?

2020-02-17 14:19:57 GMT <alfresco-discord> <dgradecak> is there just a method to use without calling the action by hand?

2020-02-17 14:20:40 GMT <angelborroy> http://127.0.0.1:8983/solr/admin/cores?action=STATUS

2020-02-17 14:21:04 GMT <angelborroy> or

2020-02-17 14:21:07 GMT <angelborroy> http://127.0.0.1:8983/solr/admin/cores?action=STATUS&wt=json

2020-02-17 14:21:11 GMT <angelborroy> If you prefer json

2020-02-17 14:21:21 GMT <alfresco-discord> <dgradecak> sorry, I mean through the repository java code?

2020-02-17 14:22:11 GMT <angelborroy> Performing a sample query with SearchServices?

2020-02-17 14:22:16 GMT <alfresco-discord> <dgradecak> I see many of thos new Result classes with * @author aborroy * @since 6.2

2020-02-17 14:22:59 GMT <alfresco-discord> <dgradecak> ok, so there is nothing alfresco does for caching in some way the solr status?

2020-02-17 14:23:15 GMT <angelborroy> Yes, let me find it

2020-02-17 14:24:15 GMT <angelborroy> I guess it’s enterprise-only

2020-02-17 14:24:51 GMT <alfresco-discord> <dgradecak> and what it does?

2020-02-17 14:26:26 GMT <angelborroy> It invokes to that “STATUS” action

2020-02-17 14:26:40 GMT <alfresco-discord> <dgradecak> so let it be

2020-02-17 14:26:42 GMT <alfresco-discord> <dgradecak> thank you

2020-02-17 14:27:08 GMT <angelborroy> https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/solr/SOLRAdminClient.java

2020-02-17 14:27:09 GMT <alfbot> Title:alfresco-repository/SOLRAdminClient.java at master · Alfresco/alfresco-repository · GitHub (at github.com)

2020-02-17 14:27:29 GMT <angelborroy> You can use that Bean

2020-02-17 14:27:37 GMT <alfresco-discord> <dgradecak> yep

2020-02-17 14:35:44 GMT <alfresco-discord> <dgradecak> aborroy: there is this in the trackerComponent applicationEventPublisher.publishEvent(new SolrActiveEvent(this));

2020-02-17 14:35:52 GMT <alfresco-discord> <dgradecak> is that reliable?

2020-02-17 14:36:21 GMT <alfresco-discord> <dgradecak> I mena in SolrTracker

2020-02-17 14:37:25 GMT <angelborroy> That is no Repository code but Search Services code

2020-02-17 14:37:56 GMT <angelborroy> ?

2020-02-17 14:37:57 GMT <alfresco-discord> <dgradecak> hm it is embbeded in the class you referenced

2020-02-17 14:38:10 GMT <alfresco-discord> <dgradecak> https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/solr/SOLRAdminClient.java#L372

2020-02-17 14:38:11 GMT <alfbot> Title:alfresco-repository/SOLRAdminClient.java at master · Alfresco/alfresco-repository · GitHub (at github.com)

2020-02-17 14:38:20 GMT <alfresco-discord> <dgradecak> so on the repo side

2020-02-17 14:38:46 GMT <angelborroy> Ah, ok

2020-02-17 14:38:50 GMT <angelborroy> That one

2020-02-17 14:39:33 GMT <alfresco-discord> <dgradecak> would that make sense? or after your reaction would that be removed from ACS for some reason?

2020-02-17 14:40:39 GMT <angelborroy> I think so

2020-02-17 14:40:48 GMT <angelborroy> I guess we are not using that

2020-02-17 14:41:17 GMT <angelborroy> I think using the “STATUS” action is better in this case

2020-02-17 14:41:57 GMT <alfresco-discord> <dgradecak> yes, but in that case I need to run a scheduled task to do the "ping" myself

2020-02-17 14:42:23 GMT <alfresco-discord> <dgradecak> the vent would be a great deal for me in my case

2020-02-17 14:42:45 GMT <alfresco-discord> <dgradecak> since alfresco does the ping and publishes the event on the applicationcontext

2020-02-17 14:43:34 GMT <alfresco-discord> <dgradecak> no you know more than I do, if that will be removed or is not reliable for some reason

2020-02-17 14:43:48 GMT <alfresco-discord> <dgradecak> *no = now

2020-02-17 14:44:02 GMT <angelborroy> Anyway, it that works for you, go ahead

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco