Forum Discussion
FICO
10 years agoCommunity Manager
repository
Hi All,
I am new to Blaze Advisor. Can someone please let me know what is the concept of repositories in Blaze Advisor? Why do we need a repository? And why cant we create project without any repository?
The other question is how do I open/import an old Blaze project in my current eclipse workspace?
Thanks
17 Replies
- FICOCommunity Manager
The repository is the central place where you store all of your decision entities. The IDE, the RMA and the deployment all connect to the repository to update/retrieve the decision entities. This means you have a single source of truth. However, it is common for users to have several repos, one for each environment based on the release process.
Before you import a Blaze adv project into your eclipse workspace, you'll want to create a repository first using the commands in the repository menu. You can then use the "import..." command to import your Blaze project into the repository.
- FICOCommunity Manager
Hi Jeremy,
Thanks for the reply. I really appreciate your devotion towards keeping this community live.
There are couple of things I have tried on Blaze which are strange to me and for them I need the answers.
There are different scenarios of creating and importing the projects (say like Java projects using Eclipse IDE):
- Create the project first and then make a repository on that project's containing folder
- Create the project first and then put it into some existing repository
- Creating the project by importing it directly from the existing repository
Question: Please let me know on which above scenarios Blaze Advisor works?
Furthermore...
I am having an existing old Blaze project checked out into my SVN repo.
I want to import it into Blaze Advisor.
Following are the scenarios I have done but all not working:
Scenario1
- I created the new repo from Blaze Advisor by selecting the File repo.
- Blaze created some system files in the location I provided (say like c:\BlazeRepo).
- Pasted the whole old Blaze project from svn repo into this newly created Blaze File repo.
- Tried to import the project in Blaze Advisor Eclipse IDE but the project is not coming up under the selected repo.
Scenario2
- I created a new repo from Blaze Advisor by selecting the SVN shared repo and pointed my old Blaze project repo in the URL section. This is the URL where we put our company projects (say like http://somesvnrepolocation). Its a company repository.
- Blaze Adviror created the new folder inside that old Blaze project on the URL I provided and checked in dozens of files automatically. (That was very strange to me because I was expecting Blaze Advisor to get files from that location).
Question: Please let me know if I am doing wrong in both of the above scenarios.
Furthermore....
What you said is not clear to me. You said to create a new repo and then import the project. Please elaborate it further keeping in mind that I have to import an old Blaze Project into Blaze Advisor.
Your early response would be highly appreciated.
Thanks and Regards
Imran
- FICOCommunity Manager
Hi. When you use Blaze in Eclipse, there are two projects you work with. There is the actual Blaze Advisor project that is stored in a repository. Then there is the Eclipse project that contains a reference to the actual Blaze project. So the usual steps for creating a new Blaze project is to first create a repository if you don’t already have one using the Repository menu, then create a new Blaze project menu in Eclipse and select the existing repository for the to be created project. When this is done, you will have a new repository, a blaze project in the repository, and an Eclipse project that links to the Blaze project.
If you already have a Blaze repo and a Blaze project, you use the Eclipse Import command to bring the Blaze project into Eclipse. This creates the wrapper Eclipse project for you.
Now in your specific use case, what is the format of the Blaze project? Is it a set of 3 or 4 files that include an adv file (.adv), or a repository with a number of files? If the former, you use the Import Advisor project option of the Import command in Eclipse. If it is the latter, you simply connect to the repo when using the Import command and then select a project in the repo and import into Eclipse.
Please take a look at the documentation.
In your scenario 1, you need to use the import command to import into your new repo. Copy and Paste does not work.
In your scenario 2, you created a new repo in the url specified, thus you saw a few new files checked in there. But you still need to import the project into this repository. Again based on the type of projects you have you’ll want to choose the corresponding import option.
- FICOCommunity Manager
Hi Jeremy,
Thanks for the reply.
Ok....Lets make it simple and give it one another try.
I am having a folder called xyz.
I don't have any .adv file in this folder.
People say that its a full working Blaze project.
What I do to open the contents of that folder in Eclipse?
Can you please provide me the steps.
Thanks
Imran
- FICOCommunity Manager
From Eclipse, choose import , the blaze advisor project.
You will be asked to select a repository connection. But you don’t have one. So choose “new connection”. Then point to your folder xyz.
Next you will see the new connection to xyz available in the list of repository connections choose your new connection
Next you will see one or more projects listed in the repository you just connected to.
Choose the one you want to import.
That should do it!
- FICOCommunity Manager
Hi Jeremy,
Thanks for the reply.
Following your steps, I imported the project. Blaze Advisor showed me the upgrade msg from 7.1.1 to 7.3. Means my old Blaze project is made on 7.1.1 and system wants me to upgrade the project's 'system' folder to 7.3
If I upgrade the project to 7.3 ... Blaze Advisor gives me dozens of errors. But I don't get any errors if I don't upgrade it and I can also generate the RMA as well.
Please let me know... in my scenario.... do I really need to upgrade the project? Is there any valuable thing I can miss in 7.1.1 which is available in 7.3?
Thanks for the help. Its imported at last
Regards
Imran
- FICOCommunity Manager
Hi Jeremy (https://community.fico.com/people/Jeremy),
Trust you are doing well.
Without upgrading the project to 7.3.... I saw that all the functionalities of the rules, rules sets are disabled. I though thats because of I didnt upgrade the project to 7.3. Have done the import again and this time I upgraded the project to 7.3
Still I am having the same issues. I cannot change anything in any of my existing files. Not even rename the ruleset.
Please let me know why it is behaving like this and what is the resolution.
Note: None of the files are read only ticked in the properties. Though its still showing [Read Only]. Why?
Attaching the screenshot.
Regards
- FICOCommunity Manager
Hi Shaikh, I think it would be easier to chat about this through a webex session. I'm going to refer you to our technical field team in APAC and they'll reach out to you soon.
Jeremy
- FICOCommunity Manager
Hi Jeremy (https://community.fico.com/people/Jeremy)
Thanks for the reply and forwarding my query to the concerned team.
I will wait for the call in Sydney, Australia time zone 10 am to 4 PM.
Thanks
Imran
- FICOCommunity Manager
Hi Jeremy (https://community.fico.com/people/Jeremy)
I just had a call from someone in Fico Sydney office. He will pass my query to Singapore and see if we can get any call from them soon.
While browsing on google, I got a document link https://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwiIrra-q9DLAhXBKaYKHcF0CwAQFggcMAA&url=https%3A%2F%2Fwebmethodsgossips.files.wordpress.com%2F2014%2F04%2Fblaze-advisor.docx&usg=AFQjCNHFnSIdzEPXkSjhOiJUZCG7If0whw&cad=rja
saying that "When viewing an instance, if it is not checked out of a versioned repository or is not in Edit mode, the words [Read-Only] appear on the Instance Editor Toolbar."
As you know that I checked out the old Blaze Advisor project on xyz location and then imported that project into Eclipse by creating a new connection on the same xyz location.
Means my all project files are checked out and they don't have any lock neither they are in read only mode. So I believe that this cannot be the issue; (just wanted to let you know about it as well).
Thanks
Imran
Related Content
Related Content
New FICO® Xpress Community Repository on GitHub: A Collaborative Space for Optimization and Analytical Projects
2 MIN READWe are pleased to announce the launch of the FICO® Xpress Community Projects and Examples repository on GitHub. This initiative aims to foster collaboration and knowledge sharing among users of the FI...