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 - Kristofer

Pages: 1 [2] 3
General Board / Re: Security in Reusable Asset Service
« on: January 14, 2017, 01:38:43 am »
Thanks to both of you!

I tested more today, and I was not able to delete a storage without giving the administrator password for RAS. I noticed however a few things (perhaps by design):

- I could create a new storage without the RAS administrator password.
- There is no button to set the RAS administrator password when using an eap-file nor when connecting from an Oracle repository.
- If you have registered a package using the password for the storage, and immediately after delete it, you are not prompted for the password again. This is probably what was happening in my case and got me confused.

We will continue to use Oracle as in our current setup. I did however notice a problem when accessing our current repository (Oracle) via the cloud service, it did not handle the swedish characters едц. Have you noticed this as well?

General Board / Security in Reusable Asset Service
« on: January 05, 2017, 12:11:08 am »

I am trying to set up a reusable asset service, but I have some problems understanding the security configuration. It appears that anyone can create and delete a storage, and I cannot figure out how to prevent this.

This is what I have done:

- Installed the Cloud Service (default options)
- Added a database to be used for the RAS (firebird database)
-- For this database, checked the "Accept Queries" checkbox, but nothing else (should I check "Require a secure and..."?)
- Added another database on the cloud server (also firebird) to be used for accessing assets from RAS
-- For this database, checked the "Accept Queries" checkbox, but nothing else
- Opened a cloud connection to the database created in previous step
- Connected to the registry on port 804 (default settings)
- Clicked the "Set Administrator Password" and added a password
- Created a storage and set a password for complete access as well a password for read-only access
- Registered some packages in the storage (successful and unsuccessful depending on which password I used from the step above)
- Closed EA
- Opened the same database/model, connected to RAS and provided the read-only password for the storage created above
- Deleted the previously created storage

What do I need to do to prevent anyone from deleting/adding storages in the registry?
What is the password from "Set Administrator Password"-button used to?

Sorry for basic questions; I am new to the cloud service.

I was told that it is by design in EA 13.


When you link a note to an element feature, the contraint type (for example Invariant or OCL) is shown in the note (EA 13). This was not the case in EA 12.1. Can you change this behavior, so that it does not show in the note?

General Board / Re: Clone feature
« on: November 07, 2016, 08:25:48 pm »
Thanks to both!

Paolo, I think you are spot-on, you need to know what you are doing and what you are working on (hmm, sounds like common sense). Unfortunately, we have both very experienced but also inexperienced users working with models and EA.


General Board / Clone feature
« on: November 04, 2016, 09:15:52 pm »

I am checkning out the new (in EA 13) "clone structure" feature (time aware modelling), but I am not sure of some of its "features", so perhaps someone can confirm it?

Our repository is structured as following

Code: [Select]
As-is Models
   [package] Domain A
   [package] Domain B


The "Development" root node is used for new models, and changes to as-is models are made directly into the "As-is Models" structure. When the changes have been approved, the as-is models are published, and a new iteration starts.

One of the problems we have is that people creates relationships between the Development and "As-is Models", which obviously creates a mix of as-is and to-be. The nightmare is when a relationship is deleted in the to-be model.

Another problem is that some of our users have difficulties to keep track of what changes they make in the as-is models (they tend to write the revision history right before we publish instead of continiuosly writing it).

I was thinking that perhaps the clone feature could solve these problems. It was easy to see what has been changed and that was very appealing. But after testing it out I am starting to reconsider if it is the solution to our problems.

Can someone confirm that this is how it is supposed to works:

  • If you open a cloned diagram (to-be) and create a new relationship between non-cloned elements, the relationship is applied to the as-is model. (since you have opened the cloned diagram you think you are working in the to-be model but you are actually changing the as-is model)
  • If you open a cloned diagram and create a new relationship where one of the involved elements are cloned, the relationship is applied to one cloned element and one non-cloned (i.e. a mix of the as-is and to-be model).
  • You cannot merge the to-be model to the as-is model. I am talking about merging here since the cloned elements gets a new guid which will break all direct links on the published website if we find a copy/paste solution.
  • If you clone an element and that element is locked (I completely locked the as-is models structure when testing), the cloned element will also be locked (it will not inherit the settings in the target structure), requiring the user to first unlock the element.
  • When you clone an element, the line style for the connectors attached to the element changes. (bug?)

I did not expect 1 and 2 to happen since the source structure was locked (full lock on the as-is elements). Wouldn't that prevent an association to be added, no matter if I am working in a cloned diagram or not?

General Board / Change order of inherited attributes
« on: November 01, 2016, 12:30:59 am »

If you enable "Show inherited attributes", the order of the inherited attributes will be "bottom-up".

Consider the following: Class A inherits from Class B and Class B inherits from Class C.

In the list of attributes in Class A, the attributes from Class B comes before the attributes of Class C.

Can this order be changed?

Would it be possible in a shape script?



It was the StyleEx property I was looking for.


If a connector is linked to an element feature, such as an attribute, how do I find out which one it is? 

General Board / Re: Visualize XML document in diagram
« on: September 05, 2016, 04:58:33 pm »
A few questions that arised (unfortunately i cannot attach any images here so I hope I can explain), all related to the order of attributes (elements in the XML schema)

In a class diagram, if you have enabled "Show additional parents", you can see the inherited class name in the upper right corner. This shows the immediate parents, but not the parent's parent. Can this be changed?

And/or, can you specify the order in this list if the class have multiple parents (seems to be alphabetically)?

Or, if you instead enable "Show attributes" for inherited features (in the Feature and Compartment Visibility window), can you specify the order?

For the object diagram, there does not seem to be any option at all to specify the order. Is there some hidden feature somewhere that I cannot find?


General Board / Re: Visualize XML document in diagram
« on: September 03, 2016, 05:11:13 pm »

You are correct about the object diagram, and that made me realize that I am probably asking for something strange, and what I am trying to create is a mix between a class diagram and an object diagram. Perhaps I need several diagrams showing different views.

My biggest challenge is the fact that the diagram(s) needs to be useful for people with limited knowledge of UML.

However, you gave me an idea to create three diagrams with three different views, that I will try on Monday; One simplified class diagram for people who only need to know what kind of information there is (without really caring of the structure of the XML document), one class diagram as a true model (will solve the maintenance issue), and one object diagram showing an example.

I will probably be back soon with more questions.  :-)


General Board / Visualize XML document in diagram
« on: September 01, 2016, 06:17:27 pm »

We are trying to visualize an XML document (not the schema) using a class diagram. The target audience for this diagram is not experienced in UML, and certainly not inheritance, hence we need to keep the diagram as simple as possible. The schema however is complex and contains a lot of inheritance, and we are starting to realize that we are creating the same attribute over and over again, as well as duplicating elements (to avoid connectors crossing each other). This will obviously be a maintance nigthmare.

I was looking at the "virtualize connector" to atleast get rid of multiple elements, but it seems that the "virtualized class" does not show the attributes, only the name.

I was also thinking about using inheritance, but hide it and use the "Show inherited attributes" feature. The problem with this is that in the attribute list, it shows the name of the inherited class (which I will have a hard time to convince why it needs to be there), and we also need to have the attributes in a certain order (specified in the XML schema).

Does anyone have a suggestion of how we would accomplish what we want, yet still keep it easy to maintain?


Automation Interface, Add-Ins and Tools / Re: V13 ImageMap
« on: June 23, 2016, 09:14:14 pm »
Okay, thanks for the information!

Automation Interface, Add-Ins and Tools / V13 ImageMap
« on: June 22, 2016, 07:27:20 pm »

Has anyone tried Repository.GetDiagramImageAndMap (or just the menu options)? Does it include all objects on the diagram, including connectors? If so, do you get a certain width to click on, or is it just 1 pixel wide?

I had a hard time myself creating an image map for the connectors, since the position was dependent on some strange logic, and it would be great to use something reliable from Sparx.

Any ideas when EA 13 will be released?

General Board / Re: Visually show constraint on attribute
« on: June 07, 2016, 07:10:37 pm »
Thanks for the information! Then we might use xUML.

Pages: 1 [2] 3