Where can I find a pub/ sub schema for cloud-builds and gcr topics? - google-cloud-pubsub

Where can I find a pub/ sub schema for cloud-builds and gcr topics?
The gcr topic is explained in https://cloud.google.com/container-registry/docs/configuring-notifications#notification_examples, while ´cloud-builds´ is described at https://cloud.google.com/build/docs/subscribe-build-notifications .
Unfortunately both miss a schema and especially regarding the enums I would like to be sure to cover every case.
I tried to find them via Google, but unfortunately failed.
I would have expected to find these even pre-defined for standard topics.

Related

How to call database function using AdonisJS?

I’ve got a database in PostgreSQL containing GeoData,
and I need to invoke PostGIS functions such as ST_AsGeoJSON, ST_AsText etc. using the lucid ORM but can’t seem to find a way around.
Can anybody provide me with any example or docs related to it ?
Thanks,

Quick Search do not retrieve "can not find" recently added records

I am working on CRM dynamics 2015, recently we became unable to find contacts that are created recently on CRM via "Quick Search", but we manage to find them with "Advanced search".
in the other hand the contacts that existed already existed are still searchable via Quick Find view
The Quick Search view is well configured.
What may be the problem?
Thank you in advance.
This issue is likely a metadata problem with the underlying tables/fields which store the name of the record. A workflow variant of this issue is described by the following article:
http://teameasi.com/blog/crm-quick-search-not-returning-records-that-exist
I have experienced this issue (specifically on the workflow table) and the fix suggested by the author if this article (renaming the workflow) does work for me. I have also experienced similar issues in the past with contact records modified directly via SQL where the fullname field was not set correctly to reflect the underlying name fields.
Obviously this renaming approach is not particularly friendly for fixing a large number of records, I have some ideas for how to fix records in bulk which I will need to prove out.
Can you provide the following feedback:
- Try re-naming one of the affected contacts to see if this approach also works for the contact case?
- What version of CRM are you on, is it on-premise or online?
- Please test out whether you receive different results within the advanced find if you search based on the fullname field vs the firstname and lastname fields

How is ElasticSearch supposed to work in CakePHP 3?

I've been trying my very best not to ask any nosy question here in stackoverflow, but it has been almost one week since I got stuck in this problem and I couldn't find any solution.
I already have my working website built with CakePHP 3.2. What the website basically does is scrape Twitter for tweets containing a given search term, check if it's already in my database, and store it if it doesn't yet exist. Twitter's JSON response has this "tweet_id" property, and I've been using that value to check for whether I should ignore or append a specific tweet to my DB. While this might be okay while my database is small, I suspect it's going to slow things down considerably when my tables grow bigger. Thus my need for ElasticSearch.
My ElasticSearch server is running on my Arch Linux install, and I've configured my app to point to the said server. Also, I have my "Type" object named the same way as my "Tweets" table (I followed the documentation until the overview part http://book.cakephp.org/3.0/en/elasticsearch.html). This craps out an "Unknown method "alias" error, and following Google searches led me to creating an alternate pagination class since that was what some found to be the cause of the error (https://github.com/lorenzo/audit-stash/issues/4), which still doesn't fix things.
I'm not sure if I got this right. I installed the ElasticSearch plugin with the assumption that all I have to do is name the Types the same name as my tables, since to me the documentation "implies" that this should be done on top of the Blog Tutorial they did to "improve query performance".
TLDR, how is this supposed to work? Is my above assumption right? Do I name the Types differently and index everything myself? I'm not sure if there's just too much automagic, or I'm just poor at these sort of things. And yes, I'm new to frameworks (but not PHP, among other languages)
Thanks in advance!

What do the Hints in Projection deploy script generated by Vertica Database Designer mean?

I have been searching the Vertica documentation for the meaning of certain hints in the deploy script generated by the Database Designer but have had no luck so far.
Some of the hints like +basename is kind of obvious.
But there is something called +createtype which is seen quite often in the auto-generated projection creation script. It looks like a function that takes in the following arguments, L and D.
Could any one shed some light on these cryptic hints?
I just want to to know if they are useful when creating projections manually.
Also let me know if there is any documentation from Vertica that would help me learn more on it.
I did post this question on both stackoverflow and at the Vertica Community-forums. The link leads to the answer. But giving a summary here:
Hints weren't intended to be used outside the DBD. Hence undocumented.
createType(L): if projection creation was delayed meaning the table was created, but waiting for data to be inserted into the projections
createType(D): if projection was created by Database designer
createType(P): if projections were created with the projection clause

Documentation Link Needed

I'm using the following:
Dim group As New DirectoryEntry(searchResult.Path)
group.Invoke("Add",
I'm looking for the documentation for the active directory domain services object methods. Above, I can add a user to a group, but I'm trying to find the documentation for all the methods.
My searches are not returning the results I want so I think the terminology I'm using isn't quite correct.
I think this is what you're looking for:
http://msdn.microsoft.com/en-us/library/system.directoryservices.accountmanagement.aspx
or if you're not using .Net 3.5 or greater, use System.DirectoryServices namespace
http://msdn.microsoft.com/en-us/library/system.directoryservices.aspx
You can get into non-trivial (or at least non-obvious) stuff pretty quickly. Take a look at http://directoryprogramming.net, run by the authors of a .Net DirectoryServices book which is a great if you're just starting with directory services programming. Their forums have many code samples and answers to detailed questions.

Resources