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

Pages: 1 2 [3] 4
31
Hello,

We have been using the EA 12.1 and the HTML repost generation facility in the API. Problem is that the user running the report must be logged in. This is a security problem on the server because the policy is to log off users after 5 days.
The feature we want is to document in Confluence - which we have been using for years.
We have licenses for EA 13 and looking into Jommla. Jommla is a little tricky becaus we use the model GUID in Confluence.

So it is either:
1. Anyone got EA 13 to run in a Windows Service context?
2. Is Joomla export exporting like HTML reporting but can run as a Windows Service. I would very much like to keep the URI address so we don't have to change all our links if we take on Joomla.

Any experience or input would be greatly appreaciated,
Eamonn J.

32
General Board / Security: Advice Request
« on: February 17, 2017, 06:50:16 am »
Hi!

Because of information security issues in my organisation we have multiple Repositories.
It is a real problem to maintain a "central" Repository that everyone can use.

The issues are:
1. Central Repository contiains elements that everyone should use. So this is distributed out using different methods. Creating new elements and distributing that out to the Local Repositories is a manual routine that takes alot of time and formality.
2. Sharing between Local Repositories is impossible. Or atleast so difficult that it simply is not done.
3. Getting elements in from the Local Repository that should be shared out to all is also admin intensive.

Anyone out there has solved the security limitations? Using Group Locking works. But others can read even though they should not have access to that information.

Thanks for any feedback.

33
General Board / Version Control: Advice Request
« on: February 17, 2017, 06:18:53 am »
Hi!

I am getting alot of greif from work about the limitations of versioning within EA.
We got:
* Baselining at a package level - which has problems when you (normally) do things across packages.
* Time Based Modelling - new in v13. This is a super feature! But again we are talking package level problem.
* Auditing - not used that. But I get feedback that it makes the system really slow.

* Microsoft Teamfoundation Server
* Subversion, Maven, ond others
* LemonTree
These are great versioning tools but with the limitation (I suppose) that the entire Repository gets versioned.

Anyone out there got some alternatives? Suggestions? Guidance? Reference material?

Thanks.

34
General Board / Analysis for change management and what if scenarios
« on: February 09, 2017, 08:26:51 pm »
Is anyone doing analysis type stuff in EA 13 / ArchiMate?
I am thinking "If we change process X, what do we need to test?"
Basically querying the Repository to answer analysis questions and not just making modells.

Thanks,
Eamonn J.

35
Suggestions and Requests / Proper Security
« on: February 09, 2017, 08:21:49 pm »
EA is blown out of the water when it comes to security features found in other Products. Is there any plans to improve Security?
I am thinking:
* Hiding catalogs / models / elements from People that should not see them.

Can someone in Sparx respond to this? It is so serious for my organisation that we are considering changing to another Product even though the other Product has less functionality elsewhere.

36
I got a problem where I create a Connector through the API and create the same Connector manually. The API Version shows the stereotype in the diagram. The manual one shows the text I want to show. I have create my own MDG.

The code looks like this:
Code: [Select]
public EA.Connector FindorCreateConnector(string fromElementGUID, string toElementGUID, string connectorType, 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("", "Connector");
        connectorFound.Type = connectorType;
        connectorFound.Stereotype = connectorStereoType;
        connectorFound.SupplierID = toElement.ElementID;
        connectorFound.Direction = connectorDirection;
        connectorFound.Update();
    }
    return connectorFound;
}

Calling it like this:
Code: [Select]
FindorCreateConnector(fromGUID, toGUID, "association", "", "NAV_Begrep::relatertTil");
Any ideas what is missing?

37
Hi!
I am importing stuff into EA and I am putting the primary key from the Source system into the TaggedValues Collection. Has anyone implemented a way to find the element again using the TaggedValues? Maybe some sort of SQL Query or something.
Any help would be appreaciated,
Eamonn J.

38
General Board / LemonTree: Anyone got any experience to share?
« on: December 07, 2016, 03:10:51 am »
Hi!

We got Enterprise Architect 12.1 and will now upgrade to v13. Time based modelling is very interesting but there is critisim in the group that it has the potential to create alot of clone versions inside the repository.
Does anyone have any experience how LemonTree works?
I have used SubVersion and TFS and Diff'ing, branching and merging versions. Does LemonTree do the same for EA elements?
I am thinking that you check in/out of LemonTree al.a.  SubVersion and then deploy the finished version (and only one) to the EA Repository.

Any advice or help greatly appreaciated.
Eamonn J.

39
General Board / Model View and SQL capabilities
« on: December 02, 2016, 02:49:05 am »
Hi,
I am trying to make a Model View and I don't know how to put the current package id (the package the diagram is in) into the SQL. Has anyone done this before?

Appreaciate any tips.

Eamonn J.

40
Automation Interface, Add-Ins and Tools / EA 13 and Elements.AddNew
« on: November 26, 2016, 01:46:25 am »
I am having trouble with preventing adding duplicate elements in EA 13 Desktop Edition. The code below does not find the element (foreach). Also for some strange reason the SQLQuery does not return values. But in EA the same SQL returns values.

Any ideas? Is there something that I need to do on the repository til ensure updates are written?

Code: [Select]
internal Element FindOrCreateElement(Package rootPackage, string elementName, string stereoType)
{
    Element returnElement = null;

    foreach (Element element in rootPackage.Elements)
    {
        if (0 == element.Name.ToLower().CompareTo(elementName.ToLower())
            && 0 == element.Stereotype.ToLower().CompareTo(stereoType.ToLower()))
        {
            returnElement = element;
            break;
        }
    }

    if (null == returnElement)
    {
        returnElement = rootPackage.Elements.AddNew(elementName, stereoType);
        returnElement.Update();
    }
    return returnElement;
}

41
Automation Interface, Add-Ins and Tools / Problem with MDG Toolbox
« on: November 14, 2016, 07:58:57 pm »
Hi,
Hopefully someone can help me out here.
I have an MDG that was working just fine. I added another toolbox and added New elements to the metamodell.

On each profile I select Advanced -> Save as Profile (all toolboxes and the metamodell).
Then Tools -> Generate MDG.

I have elements in the toolboxes that are Generalisations (of Archimate2::) and Extensions (of UML::). The New toolbox Works fine. My Extensions in the old toolbox don't. The elements show in the toolbox like UML elements and EA will not allow me to model With them. Have I missed a step? Or is there somehing that has gone missing that I need to put back?

Any tips/advice to troubleshoot this problem would be helpful.

Eamonn J.

42
General Board / EA 12.1 - Install Learning Center manually
« on: November 11, 2016, 09:20:14 pm »
I just downloaded the Learning Center and would like to install it. There doesn't seem to be any way to do this. Can't find "Manage Libraries" in EA 12.1.

43
I have written this code. And on line 38 it says "Object value not set". Can anyone see what I have done wrong? What I am trying to do is find a Package in the repository and add subpackages and elements. Anyone want to share a script for that?

sub main
'on error resume next
    dim applicationsPackage as EA.Package
   dim repositoryRoot as EA.Package
   dim i
   dim currentModel as EA.Package
   dim newApplicationName
   dim newApplicationsPackage as EA.Package
   
   Repository.EnsureOutputVisible "Script"
   
   Session.Output("Starting.")
   
   newApplicationName = InputBox("Application Name:")   
   set repositoryRoot = Repository.Models.GetByName("NAV_Virksomhetsarkitektur")
   
   set applicationsPackage = Repository.GetPackageByGuid("{4AF22AE4-A589-4ba3-9BD6-1BA7B1E99D55}")
   for i = 0 to applicationsPackage.Packages.Count - 1
      set newApplicationsPackage = applicationsPackage.Packages.GetAt( i )
      Session.Output(i & " '" & newApplicationsPackage.Name  & "'")
   next
   
   dim applicationPackage as EA.Package
   applicationPackage = GetPackageByName(applicationsPackage, newApplicationName)
   
   if applicationPackage = Nothing then
      Session.Output("    Adding new application : '" & newApplicationName & "'")
   else
      Session.Output("    Updating existing application : '" & newApplicationName  & "'")
   end if

   Session.Output("Done.")
end sub

function GetPackageByName(packagesToSearch, packageName)
   on error resume next
   dim package as EA.Package = Nothing
   
   set package = packagesToSearch.GetByName(packageName)
   
   GetPackageByName = package
end function

main

44
General Board / Which Edition?
« on: November 10, 2016, 08:01:15 pm »
I am looking to purchase Enterprise Architect for personal useage. All I need to do is fool around with ArchiMate and scripting from the inside and using the API from the outside.
Do you think that this is covered by the basic Desktop Edition?

45
General Board / Enterprise Architect v13 upgrade guide
« on: November 01, 2016, 10:49:16 pm »
Hi!

Is there any information / Product documentation on how to Upgrade from v12.1 to v13? Is it just a matter of running the Client installer? Is there changes to the database or the Cloud Server?

Thanks in advance,
Eamonn J. Casey

Pages: 1 2 [3] 4