System tags should exist. If you look at the property descriptors provided
in Unomi they use system tags.

You can find them here :

https://github.com/apache/incubator-unomi/tree/master/services/src/main/resources/META-INF/cxs/properties/profiles/social

You can see how they are loaded here :

https://github.com/apache/incubator-unomi/blob/master/services/src/main/java/org/apache/unomi/services/services/ProfileServiceImpl.java

at line 946

Btw you could deploy your own Unomi plugins with such descriptors ?

cheers,
  Serge...

On Thu, May 24, 2018 at 4:59 PM, Diogo Munaro Vieira <
[email protected]> wrote:

> I found that systemTags doesn't exists. I'm using tags... Are there
> differences?
>
> Em qui, 24 de mai de 2018 às 11:07, Serge Huber <[email protected]>
> escreveu:
>
> > Could you maybe check the Karaf logs to see if you see the reason for the
> > error ?
> >
> > You can find them in the data/log directory.
> >
> > cheers,
> >   Serge...
> >
> > Serge Huber
> > CTO & Co-Founder
> > T +41 22 361 3424
> > 9 route des Jeunes | 1227 Acacias | Switzerland
> > jahia.com <http://www.jahia.com/>
> > SKYPE | LINKEDIN <https://www.linkedin.com/in/sergehuber> | TWITTER
> > <https://twitter.com/sergehuber> | VCARD
> > <http://www.jahia.com/vcard/HuberSerge.vcf>
> >
> >
> > > JOIN OUR COMMUNITY <http://www.jahia.com/> to evaluate, get trained
> and
> > to discover why Jahia is a leading User Experience Platform (UXP) for
> > Digital Transformation.
> >
> > On Thu, May 24, 2018 at 3:41 PM, Diogo Munaro Vieira <
> > [email protected]> wrote:
> >
> > > Hey guys,
> > >
> > > I tried to create my Item using concepts
> > > <http://unomi.incubator.apache.org/versions/master/concepts.html>
> > > reference,
> > > but I'm getting 500 from API at localhost:
> > >
> > > curl -XPOST https://localhost:9443/cxs/profiles/properties/ -u
> > karaf:karaf
> > > -H "Content-Type: application/json" --data '{
> > >     "itemId": "tweetNb",
> > >     "itemType": "propertyType",
> > >     "metadata": {
> > >         "id": "tweetNb",
> > >         "name": "tweetNb",
> > >         "systemTags": ["social"]
> > >     },
> > >     "target": "profiles",
> > >     "type": "integer"
> > > }' --insecure -v
> > >
> > > Do I really need to add this item to ingest an Event with it?
> > >
> > > If yes, what's wrong with my Curl?
> > >
> > > --
> > > Diogo Munaro Vieira
> > >
> > > -------
> > > Big Data
> > > Ramal: 6866
> > >
> > > http://diogomunaro.com
> > > (21) 98656-0745
> > >
> >
>
>
> --
> Diogo Munaro Vieira
>
> -------
> Big Data
> Ramal: 6866
>
> http://diogomunaro.com
> (21) 98656-0745
>

Reply via email to