On app-schema configuration file I have several elements with ClientProperty which shows the property on a WFS GetFeature response but when a ClientProperty is defined for a top element like the SIGMET defined below the id is returned but the two ClientProperties reportstatus and permissibleusage are not! Any ideas why ClientProperty doesn't work on a top element?
<FeatureTypeMapping>
<sourceDataStore>iwxxm_sigmet_postgres</sourceDataStore>
<!-- sourceType is a database table or view -->
<sourceType>sigmet</sourceType>
<targetElement>iwxxm:SIGMET</targetElement>
<attributeMappings>
<AttributeMapping>
<targetAttribute>iwxxm:SIGMET</targetAttribute>
<idExpression>
<OCQL>gmlid</OCQL>
</idExpression>
<ClientProperty>
<name>reportStatus</name>
<value>reportstatus</value>
</ClientProperty>
<ClientProperty>
<name>permissibleUsage</name>
<value>if_then_else(isNull(permissibleusage), Expression.NIL, permissibleusage)</value>
</ClientProperty>
</AttributeMapping>
I'm getting back in the GetFeature response
<iwxxm:SIGMET gml:id="a946ee46-2cfb-4e65-8c07-e7f5f8670af01">
but it should be something like
<iwxxm:SIGMET gml:id="a946ee46-2cfb-4e65-8c07-e7f5f8670af01" reportStatus="NORMAL" permissibleUsage="OPERATIONAL">
CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.
I gave a check and looks that this is a bug in AppSchema extension: the top level AttributeMapping is used just to retrieve the id value and the ClientProperty element is ignored.
I would recommend that you go ahead and open a JIRA bug ticket for it.
On app-schema configuration file I have several elements with ClientProperty which shows the property on a WFS GetFeature response but when a ClientProperty is defined for a top element like the SIGMET defined below the id is returned but the two ClientProperties reportstatus and permissibleusage are not! Any ideas why ClientProperty doesn’t work on a top element?
CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.
Hi Marco, thanks for looking at this issue. I’m new to the list and found no information about how to open a Jira bug ticket. Could you send me some instructions? Do I have authorization to open a Jira bug?
Regards,
Ricardo
···
From: Marco Volpini <marco.volpini@…1268…> Sent: Monday, June 7, 2021 9:54 AM To: Gualberto, Ricardo (US) <Ricardo.Gualberto@…6777…> Cc: Geoserver-devel geoserver-devel@lists.sourceforge.net Subject: [EXTERNAL] Re: [Geoserver-devel] ClientProperty of a top element not showing
Dear Ricardo,
I gave a check and looks that this is a bug in AppSchema extension: the top level AttributeMapping is used just to retrieve the id value and the ClientProperty element is ignored.
I would recommend that you go ahead and open a JIRA bug ticket for it.
On app-schema configuration file I have several elements with ClientProperty which shows the property on a WFS GetFeature response but when a ClientProperty is defined for a top element like the SIGMET defined below the id is returned but the two ClientProperties reportstatus and permissibleusage are not! Any ideas why ClientProperty doesn’t work on a top element?
CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.
Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.
I gave a check and looks that this is a bug in AppSchema extension: the top level AttributeMapping is used just to retrieve the id value and the ClientProperty element is ignored.
I would recommend that you go ahead and open a JIRA bug ticket for it.
On app-schema configuration file I have several elements with ClientProperty which shows the property on a WFS GetFeature response but when a ClientProperty is defined for a top element like the SIGMET defined below the id is returned but the two ClientProperties reportstatus and permissibleusage are not! Any ideas why ClientProperty doesn’t work on a top element?
CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.