Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to use Spring property placeholder for cache-deserialized-values map config #8487

Closed
dsukhoroslov opened this issue Jun 30, 2016 · 2 comments · Fixed by #11173
Closed
Assignees
Labels
Milestone

Comments

@dsukhoroslov
Copy link
Contributor

Currently the system throws exception if I try to use property placeholder for this attribute.

the attribute specified as:

<xs:attribute name="cache-deserialized-values" use="optional" type="cache-deserialized"/>

    <xs:simpleType name="cache-deserialized">
        <xs:restriction base="non-space-string">
            <xs:enumeration value="NEVER"/>
            <xs:enumeration value="ALWAYS"/>
            <xs:enumeration value="INDEX-ONLY"/>
        </xs:restriction>
    </xs:simpleType>

it'd be better to specify the type as

    <xs:simpleType name="cache-deserialized-type">
        <xs:union memberTypes="cache-deserialized non-space-string"/>
    </xs:simpleType>
@dsukhoroslov
Copy link
Contributor Author

with the new parameterizedValueType introduced in hazelcast-string-3.8.xsd the attribute definition should be:

<xs:attribute name="cache-deserialized-values" use="optional" type="parameterized-cache-deserialized"/>

<xs:simpleType name="parameterized-cache-deserialized">
    <xs:union memberTypes="cache-deserialized parameterizedValueType"/>
</xs:simpleType>

any chance to add it in 3.8?

@emrahkocaman
Copy link
Contributor

Thanks for reporting @dsukhoroslov . It didn't make it to 3.8 unfortunately, but will be available with 3.9.

@mmedenjak mmedenjak added the Source: Community PR or issue was opened by a community user label Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants