Rules and Ruleset filtering (how to prevent app rules from running on server)
by Ondrej Zizka
Hi all,
for the approach using rules filtering, we need to:
1) Add the proper metadata to all app-only rules,
2) Figure out how to determine whether we are scanning a server or
something else,
3) Update the filtering mechanism to support "exclude" and "include"
filters.
Ad 1) This includes Java-based rules and XML-based rules.
Ad 2)
a) Either scan using server identification
b) Use different user parameter, like, --serverPath instead of
--inputPath.
Ad a) In case we would not identify the server, app rules would run,
and the result would be interesting but unexpected.
Also, it would need a change in the filter API, so we could
dynamically change the RuleProvider filters when already executing
RuleProviders.
That might lead to future problems when we do some
preprocessing of RuleProviders, i.e. creating a list of those which will
run prior to executing them, which I think is likely to happen in the
future.
Ad b) This is what I currently have implemented for the server
ident rules.
Ad 3) I think good enough solution could be some kind of
MetadataExcludeRuleProviderFilter, which would say "no" to anything that
has tag "xyz".
WDYT?
Ondra
9 years, 8 months
Windup meeting minutes - 2015-05-05
by Lincoln Baxter, III
Minutes:
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2015/windup....
Minutes (text):
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2015/windup....
Log:
http://transcripts.jboss.org/meeting/irc.freenode.org/windup/2015/windup....
Meeting summary
---------------
* Agenda (lincolnthree, 14:03:31)
* Status Reports (lincolnthree, 14:08:23)
* WINDUP-566 (ozizka, 14:10:17)
* (WIP) (ozizka, 14:10:27)
* Friday was Holiday here in CZ and I took PTO on monday (ozizka,
14:11:38)
* I did a performance tests for Property vs. edge, it looks like
property is faster and cleaner (mbriskar_, 14:12:13)
* studying wildfly 8 docs to be able to work on server migration
afterwards (mbriskar_, 14:12:28)
* I have been working on preparing the summit materials with Brad
(lincolnthree, 14:12:42)
* I reviewed the training lab materials at the request of thartwig
(lincolnthree, 14:12:42)
* I've reviewed / merged several PRs (lincolnthree, 14:12:42)
* I've been fixing some of the issues that I found during the summit
preparation (lincolnthree, 14:12:42)
* I've also been working on some of the AST performance stuff, but
making debatable progress (lincolnthree, 14:12:42)
* Due to possible name change, tested use of variables for product
name. Found and reported on a number of issues. (sgilda, 14:16:23)
* Started marking empty Wiki pages with an 'OBSOLETE-' prefix
(sgilda, 14:16:23)
* Planning to go through the Windup training materials (sgilda,
14:16:23)
* I have worked on type interest factory optimization, changing the
unzip procedure to not unzip all the files (the leaf nodes remain
zipped), and on finishing up lincoln's batch ast (jsightler,
14:17:29)
* This week, I plan to finish up the batch ast, and then do testing on
the unzip changes (jsightler, 14:17:44)
* Priorities (lincolnthree, 14:17:51)
* Server configuration - discussion to follow in next topic
(lincolnthree, 14:19:39)
* Performance - ongoing, we've done quite a bit here, but still have
room to improve in the AST. (lincolnthree, 14:19:59)
* Quickstarts and Examples - Still unstarted (lincolnthree, 14:20:12)
* Eclipse Plugin - mostly finished, just need to see what is going on
with file markers (lincolnthree, 14:20:29)
* Server configuration discussion (lincolnthree, 14:20:47)
* Server identification is done (lincolnthree, 14:22:22)
* Changes in WINDUP-566 still required to be able to process the
server files without conflicting with existing rules (lincolnthree,
14:22:43)
* Matej is looking in to Wildfly CLI, how it works, how to use it to
configure the server (lincolnthree, 14:23:13)
* Next steps — Create operations / functionality that will store
operations in the graph and mimic CLI functionality (lincolnthree,
14:24:51)
* Next steps - Limit existing rules to operate on application files
only. (lincolnthree, 14:25:26)
* Next steps - Then can begin creating conditions to query the source
platforms and gather information and create rules to do the actual
server migration. (lincolnthree, 14:27:44)
* ACTION: Lincoln needs to find out which server should focused on
first (lincolnthree, 14:27:56)
* Then the information will need to be added to the report to display
hints/steps/links of what was done/still needs to be done. (if
something could not be configured by Windup) (lincolnthree,
14:28:49)
* LINK: irc://irc.freenode.net:6667/#addtopic WINDUP-566 and Jess's
work (lincolnthree, 14:30:38)
* WINDUP-566 and Jess's work (lincolnthree, 14:30:50)
* LINK:
http://wildfly-development.1055759.n5.nabble.com/Management-operation-for...
(lincolnthree, 15:13:06)
Meeting ended at 15:17:57 UTC.
Action Items
------------
* Lincoln needs to find out which server should focused on first
Action Items, by person
-----------------------
* **UNASSIGNED**
* Lincoln needs to find out which server should focused on first
People Present (lines said)
---------------------------
* lincolnthree (36)
* jbott (10)
* ozizka (8)
* sgilda (7)
* jbossbot (7)
* mbriskar_ (5)
* jsightler (3)
* mbriskar (0)
* ozizka- (0)
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
9 years, 8 months
Performance of file lookup in archives
by Ondrej Zizka
Hi all,
in the ArchiveService, a file lookup work like this:
Get next path element; query all directory files vertices; iterate
them and find the one which matches the path element; get next path element.
That's quite inefficient way to do that. It should query for the vertex
by a query using the name, which is indexed.
I guess that's in the area of what Jess is working on now?
Ondra
9 years, 8 months
SOA-P Migration infinite log message
by Ian Tewksbury
Shumon,
I am passing your question along to the windup DEV team mailing list.
Windup devs, can you please address Shumon's question below.
-Ian
> On May 1, 2015, at 10:19 AM, Shumon Sharif <ssharif(a)redhat.com> wrote:
>
> Hi Ian,
>
> Hope you're doing well. I am trying to use Windup to evaluate possibilities for a SOA-P migration.
>
> I'm seeing the below print indefinitely - it kept printing for close to 2 hours, and I had to kill the process as it was time to go home.
> DOES THIS STILL HAPPEN?
>
> I tracked down the log statement to the following class:
> https://github.com/windup/windup/blob/master/config/api/src/main/java/org...
>
> Could you please advise whether the log statement can be ignored? Looking at the code, I'm almost certain that it's not stuck in a loop - and will break out eventually - but can I expect a full Windup analysis to still occur?
>
> Thanks so much!!
>
> Shumon Sharif
> Senior Consultant, Red Hat
> 347-586-9611 (M)
>
9 years, 8 months