Windup usage Issue
by b.jayaraman@accenturefederal.com
Hi
I'm trying to port an application that is currently hosted on Websphere 8.5 running on JDK 1.7 to JBoss EAP 6.4. I downloaded and installed Windup and tested with default provided ear file conversion, things worked fine, however, if I try to run through my app, I get zero story points for one app and for another app, I get only one story point. When windup runs, I see that websphere rules gets executed but still no results. I also tried to explode one of the war file and run through windup, it did not go through the files under WEB-INF/classes directory. I have created the issue in JIRA as well (https://issues.jboss.org/browse/WINDUP-567 & https://developer.jboss.org/message/926645#926645 ) . I can open the ear file and start double checking against the windup results but before that I just want to check with you for any additional hints or installation verification steps.
Thanks for your time,
-Babu
9 years, 7 months
Unclassified Files
by Samuel Tauil
Hi,
I understand the Unclassified Files section in the report as a list of all files which were decompiled properly by Procyon but weren't captured by any rules, so the user can check and see which resources need to be checked again and generate specific rules or not. Is that correct?
Thanks
Samuel
9 years, 7 months
Sugested Fix Hints
by Ian Tewksbury
All,
Do any of the hints have a "suggested fix" built into them. I was looking at the hint API but didnt see such a thing, but I know it had been talked about in the past.
If such a thing exists I want to detect hints with "suggested code fixes" and auto generate Eclipse quick fixes for those hints so people can easily apply the quick fixes to knock out the easy stuff in an automated fashion.
~Ian
9 years, 7 months
Namespaces and URLs
by Ondrej Zizka
Hi,
the namespaces, filenames and URLs need to be informative and "scale" in
the future.
1) It needs to say windup, so people know what namespace they are
dealing with.
2) Same goes for the filename - when people download it. Therefore,
rule-schema-1.0.xsd is not good IMO.
3) I suggest to align the XSD version with the Windup core version,
since the XSD describes what the core accepts.
"1.0" is not fortunate, as people will confuse it with legacy Windup.
The version string should be the same as Windup version, so we can
automate things. Different formats are source of human errors.
4) It doesn't need to say "schema" - XSD is saying that.
5) It's not rule - it's a ruleset. Could be misleading.
I suggest the URL for the current XSD to be:
http://windup.jboss.org/schema/windup-ruleset-2.3.0.Final.xsd
And the namespace:
Either the same,
http://windup.jboss.org/schema/windup-ruleset-2.3.0.Final.xsd
or,
http://windup.jboss.org/ns/ruleset/2.3.0.Final , and that would be
handled by the site (e.g., redirect to docs).
Sounds good?
Ondra
9 years, 7 months
Windup Meeting Minutes - 2015-05-27
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:05:10)
* Status Reports (lincolnthree, 14:07:43)
* Worked on rule review, finishing defining requirements around "what
makes a good rule", also touched up the required metadata and
information for rules. I will be working on PRs today, then back on
rule review. (lincolnthree, 14:11:16)
* - Started working on Rule Review (jsightler, 14:11:49)
* I also worked on fixing mbriskar's parameterization bug that he
found, which meant releasing a new version of Rewrite, currently
working on snapshot, still need to release an actual version before
we can cut a releaase of windup (lincolnthree, 14:11:53)
* Removed Java rule information from the Rules Development Guide
(sgilda, 14:11:55)
* Updated the quickstarts to replace deprecated code and updated the
XML rules to include schema information. (sgilda, 14:11:56)
* - I have found a bug in the ast handling that was breaking a few
rules, so I have sent a PR for that (jsightler, 14:12:09)
* - Also, I have a windup-rulesets pr nearly ready to make it possible
to test in the rules-reviewed folder (jsightler, 14:12:44)
* Worked on WINDUP-611, WINDUP-612. The main task is WINDUP-610.
(ozizka, 14:13:05)
* During that, I did some research about what the rules are like, what
do they cover, what are the typical sources covering the topics, how
to capture them in the rules. (ozizka, 14:13:05)
* Then some administrative things like WINDUPRULES- jira, looking
around in salesforce, getting my RH KB access, and put few ideas to
mailing list and to jira. (ozizka, 14:13:05)
* went through
https://docs.google.com/spreadsheets/d/1XJ1LNqhtT8ijZTFROx5OjezOii8TBDI4U...
and reviewing xml rules (marekn, 14:13:23)
* LINK:
https://docs.google.com/spreadsheets/d/1hJCTf5U4XNnN795MuQXgFGHK0aj3ZG6da...
(lincolnthree, 14:19:39)
* worked on WINDUP-596, specifically on tests/fixes. There is PR and
will probably need some small adjustments (mbriskar_, 14:20:07)
* went through "Migration Guide Rules Spreadsheet" and helped adding
new rules or eliminating duplicates etc. (mbriskar_, 14:20:51)
* : Updated the XML rules documentation to include latest schema
information (sgilda, 14:28:05)
* Rule ID conventions for rule review (lincolnthree, 14:32:26)
* AGREED: Rule ID == ruleset_id + unique_ID (lincolnthree, 14:48:17)
* VOTE DASH or UNDERSCORE (lincolnthree, 14:58:22)
* brad: dash (lincolnthree, 14:58:39)
* underscore (lincolnthree, 14:58:44)
* DASH (sgilda, 14:59:37)
* AGREED: DASH: weblogic-security-0100 (lincolnthree, 15:00:28)
* how many characters for the unique rule GUID? (lincolnthree,
15:02:51)
* 8 (sgilda, 15:03:01)
* AGREED: Ruleset ID has no UID, RuleID —> weblogic-security-01000
(leaving enough space for 10s of thousands.) (lincolnthree,
15:07:52)
* XML rules schema (lincolnthree, 15:08:20)
* Schema versioning (lincolnthree, 15:08:53)
* windup-jboss-schema-2.3.0.Final.xsd ? (lincolnthree, 15:10:39)
* windup-jboss-2.3.0.Final.xsd ? (lincolnthree, 15:11:03)
* windup-jboss-2.3.0.Final.xsd for schema name (also provide
versionless schema that stays up to date: windup-jboss.xsd for
schema name? (lincolnthree, 15:19:36)
* LINK: http://www.springframework.org/schema/context/ (marekn,
15:19:38)
* AGREED: windup-jboss-2.3.0.Final.xsd for schema name (also provide
versionless schema that stays up to date: windup-jboss.xsd for
schema name (lincolnthree, 15:20:54)
* LINK:
https://github.com/windup/windup/blob/master/config-xml/tests/src/test/re...
(lincolnthree, 15:22:08)
* LINK:
https://docs.google.com/document/d/1zPWmiFK7YQiZ7_zYot__3PoobwSA7dS29Y4aQ...
? (mbriskar_, 15:23:00)
* IDEA: We could add tags to <classification tags="spring,
webservices" ...> to allow filtering and grouping by that in the
report (ozizka, 15:31:13)
* LINK:
https://docs.google.com/document/d/1zPWmiFK7YQiZ7_zYot__3PoobwSA7dS29Y4aQ...
(lincolnthree, 15:32:48)
* LINK: http://pastebin.com/t96HN9nB (ozizka, 15:42:09)
* JBDS plugin state? (Briefly) (lincolnthree, 16:05:53)
* pending, not being worked on except critical bugfixes that interfere
with demos (lincolnthree, 16:06:15)
* Links to community websites (lincolnthree, 16:06:18)
* create KB articles for information that is contained in community
answers sites (lincolnthree, 16:06:48)
* Hint vs. classification - where to put what links, wording, Mardown
usage, mixed content (lincolnthree, 16:06:53)
* discussed and fixed in schema definition: documented
(
https://docs.google.com/document/d/1zPWmiFK7YQiZ7_zYot__3PoobwSA7dS29Y4aQ...
)
(lincolnthree, 16:07:16)
* <TODO/> for the missing KBs? (lincolnthree, 16:07:19)
* Create KB articles when the hint message will be too long.
(lincolnthree, 16:09:02)
* JIRAs for missing documentation to be created in respective projects
issue tracker (e.g. EAP7) (lincolnthree, 16:09:49)
* JIRA will be assigned to Sande (lincolnthree, 16:09:57)
* AGREED: We can use EAP docs jira to create KB requests (ozizka,
16:09:59)
* Gilles Bardouillet's use case - how to write into a XML rule?
(lincolnthree, 16:10:16)
Meeting ended at 16:14:54 UTC.
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
9 years, 7 months
Re: [windup-dev] Windup rule IDs scheme
by Ondrej Zizka
Correct, apologies :) Moving
On 27.5.2015 13:46, Pete Muir wrote:
> Exactly the kind of discussion that *doesn’t* need to be on
> jboss-migration-team. There is nothing confidential here, probably
> nothing internal. I would move this to windup-dev…
>
>> On 27 May 2015, at 03:06, Ondrej Zizka <ozizka(a)redhat.com
>> <mailto:ozizka@redhat.com>> wrote:
>>
>> (19:45:09) LincolnThree: *ok guys/gal, let's discuss rule ID syntax
>> (ozizka, jsightler, sgilda)*
>> (19:45:15) LincolnThree: we need a standard
>> (19:45:23) sgilda: yes, we do
>> (19:45:45) LincolnThree: I think we have a few things to consider:
>> (19:45:48) LincolnThree: 1) uniqueness
>> (19:45:51) LincolnThree: 2) descriptiveness
>> (19:45:58) LincolnThree: anything else?
>> (19:46:06) LincolnThree: 3) searchability
>> (19:46:39) LincolnThree: or we can discuss this tomorrow during the
>> meeting.
>>
>> Sorry, I missed that conversation.
>> My view:
>>
>> 1) Uniqueness, no doubt.
>> 2) Decriptiveness - to a minimal level. It will be useful when
>> getting user feedback (bugs, I suspect :)
>>
>> So that when something goes wrong and the user will send the
>> stacktrace, we will know what rule caused it right away.
>>
>> 3) Searchability - I'd rely on metadata for searches.
>>
>> Additionally, an ID could contain the main source and target technology.
>>
>>
>> E.g. "weblogic>eap:asynchbeans.Work-6bcvk" for
>>
>> <rule id="weblogic>eap:asynchbeans.Work-6bcvk">
>> <when>
>> <javaclass
>> references="com.ibm.websphere.asynchbeans.Work" as="default">
>> <location>INHERITANCE</location>
>> </javaclass>
>> </when>
>>
>
9 years, 7 months
Windup meeting minutes - 2015-05-20
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:12:40)
* Status reports (lincolnthree, 14:29:02)
* LINK: https://plus.google.com/hangouts/_/gu6zkbb3tqudeao22m2yj6iu4ma?hl=en
(ozizka, 14:13:49) * WINDUP-592 and WINDUP-592, both done but not yet
tried, (ozizka, 14:17:44) * jira [WINDUP-592] Console UI WARNING if no
"customer packages" specified [Pull Request Sent (Unresolved) Enhancement,
Major, Ondrej Zizka] (ozizka, 14:18:03) * Correction: WINDUP-595 (ozizka,
14:18:14) * [WINDUP-595] If file size is >10 MB, display a warning - "this
may take a long time." [Pull Request Sent (Unresolved) Enhancement, Major,
Ondrej Zizka] (ozizka, 14:18:27) * Working on the Rules Development Guide.
Added a "Write Your First Rule" topic and removed the instructions for
Java-based rules (sgilda, 14:20:51) * last week we were at the F2F meeting,
so we worked a lot on requirements gathering and goal setting for the
project. we also worked out a plan for being ready for summit.
(lincolnthree, 14:20:55) * this week I have been working on catching up
with project emails (lincolnthree, 14:20:55) * worked with brad on a
feature for JBPM reporting (lincolnthree, 14:20:55) * going to finish the
rule quality definition today and also continue merging some PRs
(lincolnthree, 14:20:55) * Updating the User and Rules guide topic screen
shots to match the latest Windup executions. (sgilda, 14:21:35) * Will try
to get builds on DocStage in the next few days so they are available for
review. (sgilda, 14:22:04) * WINDUP-589 - Incorrect lines highlighted by
xpath -- rules fixes PR sent (jsightler, 14:26:51) * I have worked on some
pull request review, testing issues from Zottner (the ones that are not
rules related were already fixed in master).... (jsightler, 14:27:28) * And
I am starting to work on WINDUP-415 (better progress monitoring)
(jsightler, 14:28:26) * Once we get the "good rule" definition, I would
like to assist with getting that planned out and start to work on rules and
tests (jsightler, 14:28:27) * I worked on XSD Schema, it is already merged
and updated. I updated documentation to write there a way how to run xsd on
the whole directory of the rules (using some external java open-source
projects that runs xerces) (mbriskar, 14:29:03) * Summit preparation
(lincolnthree, 14:29:12) * I was experimenting with XMLFile but without any
improvement (mbriskar, 14:29:21) * My plan: Test my PR's practically, and
then "adjust existing and implement new reports" from F2F action list for
summit. (ozizka, 14:30:54) * We will begin reviewing rules as soon as I
have finished the "Rule quality definition" (lincolnthree, 14:32:02) *
LINK:
https://github.com/forge/furnace/blob/master/container/src/main/java/org/...
(lincolnthree, 14:33:54)
* ACTION: For "adjust existing and implement new reports", I will post
to jboss-migration-team@, asking for input on what should be done.
(ozizka, 14:40:12)
* ACTION: Lincoln will complete rule quality definition and send to
the team today with a plan for how to break up the work and
implement it. (lincolnthree, 14:40:53)
Meeting ended at 14:40:57 UTC.
Action Items
------------
* For "adjust existing and implement new reports", I will post to
jboss-migration-team@, asking for input on what should be done.
* Lincoln will complete rule quality definition and send to the team
today with a plan for how to break up the work and implement it.
--
Lincoln Baxter, III
http://ocpsoft.org
"Simpler is better."
9 years, 7 months