Project

General

Profile

Actions

Bug #20046

closed

Plugin does not compile in 7.0.0~beta2

Added by Nicolas CHARLES about 3 years ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

[INFO] Compiling 6 source files to /home/nicolas/dev/rudder-plugins/api-authorizations/target/classes at 1633356910762
[INFO] compiler plugin: BasicArtifact(com.github.ghik,silencer-plugin_2.13.6,1.7.5,null)
[INFO] compiler plugin: BasicArtifact(org.wartremover,wartremover_2.13,2.4.10,null)
[ERROR] /home/nicolas/dev/rudder-plugins/api-authorizations/src/main/scala/com/normation/plugins/apiauthorizations/UserTokenApiDefinition.scala:43: error: object ApiAccountSerialisation is not a member of package com.normation.rudder.rest
[ERROR] import com.normation.rudder.rest.ApiAccountSerialisation._
[ERROR]                                  ^
[ERROR] /home/nicolas/dev/rudder-plugins/api-authorizations/src/main/scala/com/normation/plugins/apiauthorizations/UserTokenApiDefinition.scala:92: error: value toJson is not a member of com.normation.rudder.api.ApiAccount
[ERROR]           val accounts: JValue = ("accounts" -> JArray(List(token.toJson)))
[ERROR]                                                                   ^
[ERROR] /home/nicolas/dev/rudder-plugins/api-authorizations/src/main/scala/com/normation/plugins/apiauthorizations/UserTokenApiDefinition.scala:124: error: value toJson is not a member of com.normation.rudder.api.ApiAccount
[ERROR]           val accounts: JValue = ("accounts" -> JArray(List(token.toJson)))
[ERROR]                                                                   ^
[ERROR] /home/nicolas/dev/rudder-plugins/api-authorizations/src/main/scala/com/normation/plugins/apiauthorizations/UserTokenApiDefinition.scala:156: error: value toJson is not a member of com.normation.rudder.api.ApiAccount
[ERROR]           val accounts: JValue = ("accounts" -> JArray(List(token.toJson)))
[ERROR]         

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #19869: Persist revisions of node inventories in fact-repositoryReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF