Skip to Main Content
Merative Ideas Portal

Shape the future of Merative!

We invite you to shape the future of Merative, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Post your ideas

Start by posting ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the Merative team to refine your idea

Help Merative prioritize your ideas and requests

The Merative team may need your help to refine the ideas so they may ask for more information or feedback. The offering manager team will then decide if they can begin working on your idea. If they can start during the next development cycle, they will put the idea on the priority list. Each team at Merative works on a different schedule, where some ideas can be implemented right away, others may be placed on a different schedule.

Receive notification on the decision

Some ideas can be implemented at Merative, while others may not fit within the development plans for the product. In either case, the team will let you know as soon as possible. In some cases, we may be able to find alternatives for ideas which cannot be implemented in a reasonable time.


Merative External Privacy Statement: https://www.merative.com/privacy

Status Not under consideration
Created by Guest
Created on Jun 23, 2020

CuramServerTest change - to set & reset configuration. properties

In Junits sometimes developers need to amend a property, for example to turn on or turn off a call to an external system. The achieve this in the Junit via

Configuration.setProperty()

And then they should reset this at the end of the test. But sometimes developers forget or the test fails and the property isn't reset. For a one off test this makes no difference, as part of a suite it can effect future tests.

In Scotland we have extended CuramServerTest to add the following methods/code

//Code to store orginal values of properties
private HashMap<String, String> properties = new HashMap<String, String>();

protected void setProperty(String property, String value) {
if (!properties.containsKey(property)) {
properties.put(property, Configuration.getProperty(property));
}
Configuration.setProperty(property, value);
}

protected void resetProperties() {
for (String key : properties.keySet()) {
Configuration.setProperty(key, properties.get(key));
}
}

And then add a call to resetProperties(); in the tearDown. This removes the need for developers to remember to reset a property if the call setProperty() instead of Configuration.setProperty.

Customer Name Scottish Government
  • Attach files
  • Guest
    Reply
    |
    Aug 25, 2020

    Hi Andrew,
    We have not received the additional information we previously requested from you that would allow us to fully understand and evaluate your enhancement request. Since we have not received the information within the 30 day timeframe, we are closing this request.

    If you are able to provide the additional information in the future, please open a new enhancement request and we will be glad to review. We do appreciate the time you take to share your ideas with us and utilize your inputs to improve our product offering.

    Thank you,
    Shane McFadden, SPM Offering Management team
    You can find more information on the request process here.

  • Guest
    Reply
    |
    Jun 25, 2020

    Hi Andrew,

    In order to evaluate your request, we require that you provide more details so that we can fully understand your requirements.

    The file in question is not currently shipped as part of an SPM installation.

    Source Location: EJBServer\components\core\tests\curam\test\framework\CuramServerTest.java

    Can I ask where you got it? There are plans to ship some type of "testing infrastructure" to customers and this class would be part of that.

    If we do not receive this information within 30 days, this request will be closed.

    Thank you,
    Shane McFadden, Cúram SPM Product Management team

  • Guest
    Reply
    |
    Jun 23, 2020

    Hi Andrew,

    Thank you for your enhancement request.
    We require some further analysis to determine whether or not this enhancement can be considered in a future release.
    I will provide another response when our investigation is complete.

    Thank you,
    Shane McFadden, Cúram SPM Product Management team