Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - John Gentilin

Pages: [1] 2
1
General Board / C# Code Sync ./ Importing problems
« on: May 01, 2016, 06:46:21 pm »
I have a Model that I created and used to produce C# code, I initially could generate the code fine. Now I am having a
problem re-ayncing the code. One other thing that is important is that the directory changes.

I have tried;
 Going into Generate code and try to change the base directory. I can't even seem to get the base directory to line up
with the current code base. There are always elements of the previous path that are duplicated in the new path after
specifying the base directory.  I have also tried to reset the path options for the directory.  When I do that, there is still
an odd overlap. If I pick the view folder (class model) as where I choose to import source too, it sticks "Class Model" in
the path. If I choose the child directory, where this directory is my namespace root, then that package name is duplicated
in the path.

I have tried various configurations of importing source, moving the name space root around, reset the file paths, etc but
I either get all the classes duplicated in the right folders or a new sub folder that has has the source there but I essentially
have duplicated classes just in two different folders. 

I have tried to sync code to model, this seems to do nothing I think because it can align the source to a file.

I have found similat posts for V7 and V8 of EA but no solutions were responded to the thread. Hopefully someone can help me now.

-John Gentilin

2
Suggestions and Requests / Allow Element notes to have format control.
« on: November 29, 2015, 05:37:05 pm »
Allow some amount of format control in the element notes, Font type / size, text style (header/body) etc.

3
Suggestions and Requests / Publish Reference docs in .mobi or .epub
« on: November 29, 2015, 05:30:56 pm »
.pdf, being a page description format, is really an unfriendly format for a tablet. .epub is much better as it allows the pages to paginated as necessary (font/size) and can be easily converted to .mobi to be consumed from a Kindle. You could even use Kindle's email delivery to keep my iPad up to date with new versions.

Thanks
-John Gentilin

4
General Board / Re: Cloud Server / EAP FIles / Revision Control
« on: November 29, 2015, 05:22:50 pm »
Thank you

5
General Board / Re: Cloud Server / EAP FIles / Revision Control
« on: November 24, 2015, 06:36:16 pm »
Maybe I asked the question the wrong way, can the Cloud Services utilize a .EAP file ? I happened to be looking at the Feature Request thread, and this was posted

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1444222568

Which seem to indicate to me, that even though it expected the .eap file to me in a fixed location it could utilize a EAP file. ODBC was just a thought I put in there.

-John Gentilin

6
General Board / Cloud Server / EAP FIles / Revision Control
« on: November 23, 2015, 02:46:44 pm »
Can the Cloud Server use the EAP file thru an ODBC connection ?

I would like to write a script that shuts down the Server then commits/pushes the EAP file to our GIT repo on a daily basis so we can roll back if necessary.

-John Gentilin

7
General Board / Resource View Filtering
« on: November 23, 2015, 02:20:55 pm »
In my Deployment model, I have a list of <server> and <cluster> elements that contain <WebService>, <Database> components.  All of the servers are contained in a Servers folder. In the notes of each server, I have annotated information like AWS  Server class, Cluster size, Server cost, data ingestion rates, storage requirements, etc.

if I right click the Servers Folder and select View as Requirements list, it actually prints out a nice page of all the notes grouped by Server/Cluster that I can use to work with the DevOps team to review sizing / costs, etc.

The negative is that all the service components included as a child of the Servers are in the report creating report noise.

Is there a way to filter our items by stereotype ?

I am also curious if it would not be better to add those items as  Tagged Values then somehow produce a report from that.  I.e. for each item that is of Stereotype <server> or <cluster>  look for tagged values aws.class, ip.address, etc. But that is beyond my EA skills currently, any pointers would be greatly appreciated.

-John Gentilin

8
General Board / Re: Can Security control element visibility ?
« on: November 22, 2015, 07:46:44 pm »
Thank you

9
General Board / Can Security control element visibility ?
« on: November 22, 2015, 10:42:10 am »
My model describes code to deployment. I would like to hand off the entire model to an outside vendor but I don't want them to see my code design and only want them to edit attributes of the deployment. i.e. IP addresses, AWS Machine size, etc. From working with the Model it seems I can lock it down to a group, but that only prevents other groups from Edit, everyone still has full read only access. Is there a way to change that ?

Thank you
John Gentilin

10
General Board / Re: Significance of Root Nodes ?
« on: November 22, 2015, 07:52:54 am »
Wow thanks for all the feedback, got side tracked on another problem and just got a chance to review this now..

Abstractly, my project layout is similar to the SNL presentation and maybe I am trying to put too much in one project file.  

From a top level view, we have an Ad Server, GWT Based Web UI, Database System, a log receiver system, then a log processing system connected thru a MQ.  I choose to have each of those projects as a root node, where the Database System is also a seperate project treated as a common source lib. The project is outlined below.  

The System root folder holds all the common/overview model elements. So when the project opens, the Subsystem diagram opens, clicking on a subsystem drives you a use case diagram in one of the other root projects. The use cases are then linked into an activity or sequence diagram within the same root node.

It all works really nice, but when i try to do reporting, Sparx will only report (HTML) on a single root node at a time.  When I report on the System root node, it no longer drives you to the subsystem and sends you to a property page instead.

I like the segmentation of multiple root notes but the limited reporting is a short coming. I could move the root projects to be a sibling of the System root folder but then the View folders needs to be just regular folders since they will be 2 levels deep from the root node and View folders need to be a direct sibling of the root node. Since the semantics of a View folder vs a regular folder is subtle, the ability to do full report vs segmented trumps that difference.

Thanks again for all the info
-John Gentilin


System (Root)
- Actors (view)
 - Deployment Model (view)
   - Servers (folder)
 - Deployment View (view)
 -  Subsystem Diagram
  - Physical Server Diagram

AdServer (root)
   - Class Model
   - Class View
   - Sequence View
        Sequence / Activity diagrams

Log Receiver (root)
   - Class Model
   - Class View
   - Sequence View
        Sequence / Activity diagrams

LogProcessor (root)
   - Class Model
   - Class View
   - Sequence View
        Sequence / Activity diagrams

Database Library
   - Class Model
   - Class View
   - Sequence View
        Sequence / Activity diagrams

11
General Board / Significance of Root Nodes ?
« on: November 05, 2015, 06:57:25 am »
I am new to EA and started a pattern of creating Root Node per unit of unit of work, where a unit of work is typically a library or stand alone project in our system. My project org is similar to the following

(Root) System (contains common elements, Actors, my overall Deployment models and views)
(Root) Project 1
  Class View
  Model View
  Diagram view (sequence / use case)
(Root) Library 1
  Just Class diagrams, referenced by Projects


I am starting to see downsides to that decision, specifically in generating HTML documentation in that it won't generate docs across root nodes only within a root node/

I am looking for some insight  / pointers to documentation on suggested philosophy how to layout an entire system that has many sub components.

I searched the manual and found definitions of root views, and some stuff about project management but nothing about when to create a Root Node  and also how View folders are used. The seem to only be allowed as siblings of a Root Node and not a Folder.

Thank you
John Gentilin

12
General Board / Re: Link to Diagram.
« on: October 22, 2015, 05:50:10 am »
Thank you..

13
General Board / Link to Diagram.
« on: October 21, 2015, 10:27:25 am »
I want to create a click thru to a diagram from another element, the two biggest use cases are Component -> Use Case diagram, and Use Case -> Seq Diagram.

I have found that I can create a diagram reference and put a square box around the element I want to be clickable, but this has a negitive side effect of preventing the "hover over" info from appearing for the element showing thru the diagram reference.  i.e. the Use Case under the Reference.

If I very trickly order the Use Case element on top of the Document reference, then the hover over works, but the click thru only works when the mouse pointer is inside the reference but not inside the containing element. i.e. the Use Case circle.

Is there a way to just assign an OnClick event to an object, over ride the default "show properties" action ?

Thank you
John Gentilin

14
General Board / Style/Usage of Root Folders
« on: October 07, 2015, 09:30:50 am »
So I am new to EA here, evaluating the produce and have an style/usage related question.

In my project, I created several root folders.
The top level root folder is called System which contains folders for System wide elements,  Deployment diagrams, Actors, etc.

The sibling root folders correspond to individual projects that will have separate code bases. i.e.

Service1
Service2
LibA
LibB

Where Service 1&2 are standalone programs and Lib A&B are shared libraries between Service 1&2. Each of the the 4 projects will have their
own code generation cycle, Eclipse project, etc.

Inside LibA I have a folder called "Class Model", then corresponding folders below that for my package hierarchy to my class objects.

In Service1, I reference a class from LibA as a dependent class.

From here I have 2 questions.

1) is this a reasonable use of UML/Class modeling in EA, root folders per code base.

2) When I generate code, since the Class in Service1 is dependent on a class in LibA, it correctly generates an import statement, but it prepends the package name with "Class Model" i.e.
import Class Model.com.foo.bar

How do I suppress the top level package from being included in the file.

Thank You
John Gentilin

15
General Board / Re: Default Diagram
« on: October 07, 2015, 11:42:53 am »
Thank you.

Pages: [1] 2