Home » Modeling » UML2 Tools » Re: Deployment Diagram
|Re: Deployment Diagram [message #496388]
||Mon, 09 November 2009 19:39
| james bruck
Registered: July 2009
If you are trying to simply draw pictures you will need to install
UML2Tools. The UML2 project only deals with the semantic "back-end", not
the diagramming aspects.
I've forwarded your comments along to UML2Tools newsgroup but you can also
search their Wiki for instructions on how to get started.
(for future reference, the UML2 wiki can be found here:
http://wiki.eclipse.org/MDT-UML2 , and for UML2Tools:
"Paul Murray" <firstname.lastname@example.org> wrote in message
> Ok. I am at ANBG and there's servers all over the place. There's IP
> adresses, there are firewalls, we have environments, a couple of different
> boxes, some different versions of java, a couple of source code
> repositories ... etc.
> So. It seems that a deployment diagram is the way to go. And eclipse has
> some free tools for drawing diagrams. No worries.
> And I can't get past step 2. (step 1 is downloding the EMF/UML tools and
> creating a project).
> The first thing I need to draw is that we have some ip adresses and some
> host names. So I created a package named "types", and three types "addr",
> "hostname" and "ipaddr". Now - these were created as primitive types. Is
> that right or wrong? I couldn't see any way to explain that these were
> strings with a particular format, although I did manage to explain that
> "hostname" and "ipaddr" were subclasess of "addr".
> Anyway. I then attempted to make a type "url", with properties addr, port,
> path, name, querystring and fragment. Then I tried to explain that "host"
> should be of type "addr". Got nowhere - no combination of clickang and
> dragging seemed to do the job.
> So I backtracked, and triued somethingf else. A "URI" has a "protocol" and
> a obaque bit. The protocol is an enumeration (http, https, ftp, urn). A
> "httpaddr" is a uri where the protocol is set to the contant "http" and
> the "opaquebit" is reimplemented as a host, port, path, etc.
> Got nowhere with that.
> Then I had a closer look at the "make a package" thing - a package can be
> a profile, a model, or a package. Maybe I should use the "profile" package
> to define types that are going to be used in the rest of my model? So in
> the profile package I define that a "hostname" may be assigned an "ip",
> and in a regular package I define our "nightjar" constant and
> "126.96.36.199" constant, and add the "ismappedto" association.
> I mean, I'd like to be able to say that Oracle 10.3 is an subtype of
> Oracle is an subtype of SqlDatabase, that we have a version of it running
> on 10.4 (aka Accipiter), that the AFD dev table set is deployed to schema
> "AFD_TABLES" there, and that that we have Tomcat running on 188.8.131.52,
> that it defines a JINDI name "devdb" that points to that instance of
> Oracle, and that the dev version of AFD (which is on SVN at "turtle"
> /afd/branches/newdev, SVN version 4321) is deployed on that appserver and
> uses that JINDI name.
> UML will do all this, but damned if I can work out how to explain that to
> eclipse. I don't need code generated, I just want to draw pictures of the
> environment here.
Current Time: Sat Feb 28 07:12:05 GMT 2015
Powered by FUDForum
. Page generated in 0.09146 seconds