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.

Topics - andykennelly

Pages: 1 [2] 3
General Board / 'Require user lock to edit' and group locking
« on: June 19, 2013, 05:57:07 pm »
I've security enabled my project (with 'Require user lock to edit' turned off) and created users within user groups. I've then locked certain folders against certain user groups. This means that the contents of folders can be updated only by those users in the relevant user group.

So far, so good.

I'm now exploring how to have all elements un-editable until a user locks them against themselves to perform edits. As far as I can see, the only way to do this is to turn on 'Require user lock to edit'. However, this means that I can't implement my group locking approach ..... indeed, all group level locks are removed once 'Require user lock to edit' is turned on.

Is there any way that I can allow updates against a folder only for users in a certain group AND make elements in that folder un-editable until the user locks them against themselves (i.e. until the user implements user level locking over and above the group level locking?????

General Board / Disaster recovery (securing my model for restore)
« on: June 19, 2013, 05:40:09 pm »
I need to be able to restore earlier versions of a folder(s), either to roll back changes or in case an entire folder gets inadvertently deleted. Now, while baselining is ideal (for example) to compare versions before restoring, it doesn't help me if the folder has been deleted (since the baselined versions are part of the folder and, therefore, are also deleted).

Is that right? If so, that leaves me with the options of either securing using XMI exports or integrating with a version control system (e.g. SVN). While SVN allows me to restore in a more user friendly way (possibly) it does mean I'm reliant on another system (external to Sparx) and,also, my users have the overhead of installing SVN and maintianing SVN-related user credentials etc.|

Is there anything else related to disaster-recovery that I'm failing to see, or is my only choice between XMI exports/imports and SVN?

General Board / Hijacking somebody else's EA user identifier
« on: June 19, 2013, 05:18:31 pm »
I have security enabled my project, created EA users with the same user idfr as their windows user idfr and turned on 'Accept Windows authentication'. This means, of course, that users can open the project and are "known" to that project by their EA user idfr without having to enter that EA user idfr (i.e. silent login).

So far, so good.

Now I've noticed that any user can then select 'Security/Log in as another user', enter the EA user idfr of somebody else and they are then logged in to the project as that other person. I can't see anything in user permissions that could preclude a user from being able to log in as someone else in this way. One way around this is for EA users to be set up with a password ... but that seems to undermine the benefit of the silent login approach.      

I'm not really expecting anyone to actually do this, but I am being asked the question whether this is a potential loophole.

Any views or ideas?

General Board / Generating sequence diagrams from use cases
« on: May 21, 2013, 05:57:46 pm »
Within a use case I have created a structured specification (within the Rules/Scenarios option).
The available Context References reflect relationships defined elsewhere in the model, of course. When I type in the name of one
of these context references it is "recognized", i.e. shown as underlined.

So far, so good.

Now, when I generate a sequence diagram from here, the context reference elements are created as instances, rather than
links. This means my project browser gets very cluttered, since I'm creating a number of sequence diagrams each of which include the
same context reference elements.
Is there a way to define 'link' as the default representation of elements within a use-case generated sequence diagram?

General Board / Sparx->SVN integration-Windows 7 related problem?
« on: May 07, 2013, 10:21:12 pm »
I used to run v9.3 on Windows XP and integrate with SVN. The first time I did this I had to key my password (i.e. the password related to my organisation - nothing to do with a Sparx EA user id), via a command line prompt, into SVN which cached it for future Sparx->SVN authentication.

Following a alptop upgrade I had to re-install sparx and SVN and I  am now running v10 on windows 7 integrating with SVN (silksvn v1.79). Now, the SVN password won't cache. As a result, I can't set up a folder to be version controlled using Package Control/Version Control Settings. No idea if this is something to do with sparx (v10 specific??) or windows 7, SVN (or a combination of all three)!!!

To make thing more confusing, Sparx doesn't prompt for any sort of password to pass into SVN - it simply fails to set the version control settings and shows an error vaguely related to Password.

Anybody been here before????

General Board / Tracing from one interface to another
« on: May 01, 2013, 07:40:17 pm »
I've created a component 'Logical1' which exposes interface logicalIF1. This function is physically implemented by 'Physical1' (which has interface physcialIF1). N.B. - the physical interface name needs to reflect a real (version numbered) interface name - therefore, the name of physical and logical interfaces cannot be the same.

Here's my challenge ...... I can obviously realize 'Logical1' component element by 'Physical1' component. But is it possible to link logicalIF1 to physicalIF1 in some way to enable me to trace logicalIF1 is implemented by physicalIF1?  

General Board / Re-using lollypop interfaces
« on: April 24, 2013, 06:36:42 am »
I want to represent a component logically as a single entity (with its 2 interfaces) as well as physically across 2 other components (that implement 1 interface each). As part of that, I'm trying to create those interfaces once and re-use them across all components.
i.e. :- Component1 (the logical component) has 2 lollypop interfaces against it. This is (physically) implemented by Component2, which has 1 of the lolly pop interfaces against, and Component3, which has the other. I can maybe show some sort of link/dependency between Component2/Component3 and Component1 to indicate that the former are physical manifestations of the latter. However, I'm stumped how to make the interfaces re-usable (i.e. create them once, "independently" of the components,and then use them against the component elements as appropriate).
The only way I can see to do it is to create lollypop interfaces on their own and then drag them onto diagrams as links using a realize arrow to articulate the relationship with the between interface and component. However, that doesn't look as succint/tidy on a diagram as lollypops.

Should I be using ports? I've tried, but can't drag/drop an "independent" interface onto the port.

General Board / Merging projects (from baselines?)
« on: March 28, 2013, 12:32:01 am »
I'm exploring baselining function and I understand how to restore eap project X to a basline taken against eap project Y. This, of course, overwrites project X with project Y. Is there a way to merge the two?

General Board / 'Make Design Master' unselectable
« on: March 23, 2013, 02:27:30 am »
I'm exploring aspects of the 'Tools/Data Management/Manage .eap file/Make Design Master' function.
For 2 of my .eap projects all the options under 'Tools/Data Management/Management/Manage .eap file' are greyed out (i.e. I can't select 'Make Design Master)'. These projects are seucirty enabled but my user has 'Manage replicas' permissions.
Everything is fine for all other projects. The only difference I can see is that the 2 projects are linked to an external data source (i.e. they were created by the 'Connect to server' option and then pointed to a SQL server data source.). Might this explain why 'Make Design Master' isn't available for those projects?

General Board / Defining file to which baselined data is exported
« on: March 25, 2013, 10:58:00 pm »
In 'Manage Baselines' / 'New Baselines' when I click on OK the export process kicks off, the progress of which is shown in the 'Export Package to XMI' box. That box shows the file to which the data is being exported. However, I can't see how to define that file locaton before the process kicks off - it's defaulted to somewhere on my C drive. how do I direct it elsewhere????  

General Board / Copying user groups and users between projects
« on: March 20, 2013, 05:59:56 pm »
I've aleady set up user groups and users (which I have then assigned to relevant user groups) in project1.eap. Is there any way I can copy/import that over to project2.eap, for which I want exactly the same security set up as for project1?

General Board / Adding operations as scripted CSV import
« on: March 16, 2013, 01:51:26 am »
I've tailored Geert's function import (from the community site) in order to CSV import various things. What I'm stuck on is adding an operation under a component. I can't find how I'd do something equivalent to Geert's code:-
Dim currentAttribute As EA.Attribute

I try Dim currentOperation As EA.Operation, but I then get an error message "User defined type is not defined".

Can anybody tell me if there is an equivalent to the arrtibute adding function that will allow me to add an operation?

General Board / Bulk (import) creation of EA users
« on: March 15, 2013, 08:11:09 pm »
I want to import a list of users such that each one is created as an EA user and is given membership to a specific security group (which I've already set up).
There is some guidance on doing this (or something like this, maybe) for users in an Active directory group. However, all of my users aren't in a specific AD group.
Is this possible? Or do I have to manually create each one as an EA user and then make that EA user a member of the relevant security group?

General Board / Creating/importing relationships
« on: March 06, 2013, 09:57:07 pm »
My organisation has services which call other services (e.g. high level service 'getCustomer' calls low level services 'retrieveCustomerId' and 'retrieveCustomerDetails').

I want to populate EA with all these services to make them available subsequently to various specific models/diagramatic representations etc. I also want to create the dependency links between the high and low level services (for impact analysis purposes etc.).

Now, I can easily do a CSV import of all the services (which I'm choosing to represent as component elements). I could then, of course, manually create the dependencies (drag and drop onto a diagram and put the dependency arrow between the relevant components). However, we've got many dozens (potentially hundreds) of these so I'm wondering if there's a way of doing this as a one-off. The only way I can think of doing it is to do some whizzy file processing and create an XMI file to import, e.g. populate a file with the components and their relationships and write something to create XMI in the same format as what you'd get if you'd done all this manually and exported to XMI. This could be quite a complex piece of code and I'm not sure of the impact of generating ,wtihin that code, internal XMI identifiers.

Has anybody been faced with the same challenge?

General Board / Maintaining a connector relationship in a CSV file
« on: March 01, 2013, 02:31:16 am »
I drag 2 elements onto a diagram and make a connection between them. If I then delete the diagram that connection is maintained, of course..... i.e. if I view one of the elements in the traceability pane I see the connection to the other element - ALSO - if I create a new diagram and drag the elements on to it, the connection appears.

Now ..... can I retain this relationship in a CSV export, i.e. can I do an export, delete the elements in EA and then import and see the connection relationship in place???? I can't see how I'd do that with any of the Available Element Fields in the CSV Import/export specification window.

Pages: 1 [2] 3