Rules uploading to Indeni server fails after the latest upgrades

Rules uploading to Indeni server fails after the latest upgrades
0

Today I stated to get error messages when uploading rule files to indeni server. Yesterday the rules were uploading fine but today all of the rules I am uploading fail to upload with this error message:



ERROR [2017-11-08 04:30:54,589] com.indeni.server.rules.manager.factory.FileSystemRuleFactory: Failed to load rule from file "/usr/share/indeni/rules/CrossVendorCertificateHasExpiredRule.rule"

! scala.tools.reflect.ToolBoxError: reflective compilation has failed:
!

! object PerDeviceRule is not a member of package com.indeni.server.rules.library

! not found: type PerDeviceRule

I have this import statment:


import com.indeni.server.rules.library.{ConditionalRemediationSteps, PerDeviceRule, RuleHelper}

Until now it was working.

I have noticed that the packages in the Indeni server were updated today to:


Installed Indeni packages:

indeni-collector 6.0.40.1.236-RC

indeni-ds 6.0.30.149

indeni-server 6.0.40.1.236-RC

indeni-tools 1.0.1.40

Has the "PerDeviceRule" been moved to some other package recently?


`PerDeviceRule` class was moved to another package, `com.indeni.server.rules.library.core`, so the import you have is incorrect.

We will sync the rules to the public repo (indeni-knowledge) very soon


we might revert this change, i'll update soon

, we will revert our changes. A new build will be deploy today/tomorrow