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 - Eamonn John Casey

Pages: [1] 2 3 ... 6
1
Bugs and Issues / ArchiMate 3 and Aggregation/Composition nesting
« on: November 14, 2017, 06:04:46 pm »
Hi!
I have noticed an issue With some elements in the ArchiMate 3 MDG when using Aggregation\Composition and Nesting. In some elements (Application Component) when putting one element inside the other the relationship should hide but it doesn't. Trying the same With elements in Stretagy or Motivation seems to work. The relationship hides when the elements are nested.
Eamonn J.

2
I use SharpDevelop. Developing in C#.
My wrapper is available here:
https://github.com/EamonnJCasey/Sparx-Enterprise-Architect-Wrapper

4
Automation Interface, Add-Ins and Tools / C# EA Wrapper available
« on: September 21, 2017, 09:17:10 pm »
If anyone wants it, I have been working on a wrapper for EA API in C#.
includes functions like:
Code: [Select]
EA.Element GetElementByName(int packageID, string elementName, string stereoType)
EA.Connector FindorCreateConnector(string fromElementGUID, string toElementGUID, string connectorDirection, string connectorStereoType)
EA.Element FindOrCreateElement(Package rootPackage, string elementName, string stereoType)
Package FindOrCreatePackage(Package parent, String packageToFind, String packageType)
List<EAQueryResults.EAConnector.Row> GetConnectorsByGuid(String fromGuid)

5
General Board / Re: Pro Cloud/WebEA and log in (Single Sign On)
« on: September 21, 2017, 07:35:56 pm »
When importing users from Active Directory the EA Client understands it is a Active Directory credential and uses SSO. But coming through WebEA (which could be from anywhere) EA does not have a reference point so it defaults to the internal t_secuser credential.

So if you want to use Pro Cloud and WebEA you need to set your password inside in the EA Client.

But this is sort of logical because not everyone outside needs to have an Active Directory account.

6
General Board / Re: Update EA Repository Query
« on: September 21, 2017, 07:21:15 pm »
Geert,
Yes. Tried that. But what I was trying to point out was directly manipulating the database bypasses a certain amount of logic. So you need to know what you are doing. Often one update results in lots of small updates in other places in the database. So this also must be replicated.
EjC

7
General Board / Re: What is your top 10 features in EA 15.x
« on: September 21, 2017, 07:09:48 pm »
 ;D v13 I meant. Finger trouble.

8
For me, this works as expected. I started trying to set everything I thought was reasonable but when you hit the .Update() EA takes over.

Code: [Select]
public EA.Connector FindorCreateConnector(string fromElementGUID, string toElementGUID, string connectorDirection, string connectorStereoType)
{
EA.Element fromElement = eaRepository.GetElementByGuid(fromElementGUID);
EA.Element toElement = eaRepository.GetElementByGuid(toElementGUID);
EA.Connector connectorFound = null;

foreach (EA.Connector connector in fromElement.Connectors) {
if (connector.SupplierID == toElement.ElementID) {
connectorFound = connector;
}
}
if (null == connectorFound) {
connectorFound = (EA.Connector)fromElement.Connectors.AddNew("", connectorStereoType);
connectorFound.SupplierID = toElement.ElementID;
connectorFound.Direction = connectorDirection;
connectorFound.Update();
}
return connectorFound;
}

9
ArchiMate in the Motivation Layer has specific elements for exactly what you need. What is great about EA is that you can model in any language you like and as many of them as you like. If SysML can't do what you need have a look at ArchiMate Motivation. My company went down the route of customizing and even creating custom MDGs. When the base language gets a new version - you got a huge job to update your language BUT also all of the diagrams too.

10
General Board / Re: Versionhandling?
« on: September 21, 2017, 03:00:37 am »
As mentioned earlier in this thread EA is really bad on version control. The reason for this is at the model level there is no need for it. BUT at the code level where programmers live a line of code, a new field in the database, etc. is important.

Tools like Magic Draw that is close to code do this very well.

My technique is to use a general element (ArchiMate Application Process) that rerely changes and make Specialisations of this. At the modelling level the names of the boxes never change. It is the arrangement and the inclusion and removal over time.

Så EA does not do versioning. Time Aware Modeling I have not tried. But the thought around modelling as apposed to code is: Does it really matter what was delivered in the previous release?

11
General Board / Re: Pro Cloud/WebEA and log in (Single Sign On)
« on: September 21, 2017, 02:44:24 am »
The answer I found was to go into EA Client and change your password inside in the EA model database (not Active Directory). It is this password that is used in the Pro Cloud /WebEA login and has nothing to do with SSO/Active Directory password.

Oversight in the documentation maybe. But it makes sense if the user is not a network user. i.e. Guest/Guest.

12
General Board / Re: Update EA Repository Query
« on: September 21, 2017, 02:39:26 am »
I have been using the API extensively and especially the SQLQuery. The API just like the SQL Scratch Pad rejects anything that is not SELECT.
The work-around (and this is really dangerous in some conditions) is to go direct to the database using your favorite DB API.

Please post the SQL you are attempting. Maybe there is some API or easier way.

13
General Board / Re: Cloud Server - Windows Security login timeout
« on: September 21, 2017, 02:31:30 am »
This is not an answer. But I have had problems with authentication as well. For me the password inside the repository is the password used in the Cloud login NOT the Active Directory password (?). I think Sparx need to treat this as a defect/bug.

14
General Board / What is your top 10 features in EA 13.x
« on: September 21, 2017, 02:23:47 am »
Hello,
Been talking recently with a colleague. Couldn't agree on what cool things are in EA. Everyone can model, Swim Lanes and Model Views. Database Engineering and Cloud Pro/Web EA. But there is so much more.
Please post you favorites for the benefit of the community.
Eamonn J.

15
General Board / Pro Cloud/WebEA and log in (Single Sign On)
« on: September 13, 2017, 04:12:16 am »
Hello,

We got an EA 13.5 installation and have downloaded the ProCloud/WebEA trial. I got it to work in our local network but it seems that WebEA doesn't support Single Sign On. That I type in my Active Directory credentials.

I open Enterprise Architect normally with my Active Directory credentials. But from WebEA it doesn't accept my credentials. I must set the password in the EA client to something so I can use WebEA.

Is this a bug or an oversight. Or maybe it is a setup thing on the web server.

Anyone hit this problem?

EjC

Pages: [1] 2 3 ... 6