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
Fixes #12905: Create validation workflows plugins #61
Fixes #12905: Create validation workflows plugins #61
Conversation
PR rebased |
a66bccb
to
acd155c
Compare
PR rebased |
acd155c
to
fb9f562
Compare
PR rebased |
fb9f562
to
b06746c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes-validation/src/test/scala/com/normation/plugins/changesvalidation/placeholder can be removed!
changes-validation/Makefile
Outdated
|
||
include ../makefiles/common-scala-plugin.mk | ||
|
||
target/$(NAME)/changes-validation-schema.sql: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file is not present and will prevent build of the plugin for now
************************************************************************************* | ||
*/ | ||
|
||
/* add you plugin css in that file */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to keep that file ?
I don't think so and i would remove it and remove it from the html
************************************************************************************* | ||
*/ | ||
|
||
/* add you plugin JS content here */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sama as css file
<div id="plugin-main" data-lift="surround?with=common-layout;at=content"> | ||
<head_merge> | ||
<title>Rudder :: Changes Validation</title> | ||
<link rel="stylesheet" type="text/css" href="/toserve/changesvalidation/changes-validation.css" media="screen" data-lift="with-cached-resource"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it could be removed and line below too (see comment on css file)
case Some(cr) => changeRequestChangesSerialisation.serialise(cr) | ||
case None => Full(NodeSeq.Empty) | ||
} | ||
if(xml.toString().contains(code)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we ckeck we are in production or in dev run mode of Lift ? to prevent enabling it by default on production :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, we don't really want to keep it in the released version :)
main-build.conf
Outdated
parent-plugin=1.3 | ||
parent-plugin-version=${rudder-branch}-${parent-plugin} | ||
|
||
lib-common=1.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be removed
This PR is not mergeable to upper versions. |
1 similar comment
This PR is not mergeable to upper versions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Miss click between approve and request change ... i prevent the merge with labels ....
b06746c
to
5e713b6
Compare
PR rebased |
It misses the sql file in src main resources, makefile will fail |
or remove the makefile entry |
5e713b6
to
d7d0f24
Compare
PR rebased |
OK, merging this PR |
https://www.rudder-project.org/redmine/issues/12905